0

Hi,

I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays the same size. If I run the swf externally, in windows, and I expand and contract the size then the actual movie automatically fits to the size of the window instead of the boarder just expanding.

Is there some kind of command to make the flash item fit to params sent?

Below is my code:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                                        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
                                        WIDTH="400"
                                        HEIGHT="200">
                                    <PARAM NAME=movie VALUE="Images/Directions/map.swf">
                                    <EMBED src="Images/Directions/map.swf"
                                           WIDTH="400%"
                                           HEIGHT="200%"
                                           TYPE="application/x-shockwave-flash"
                                           PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
                                    </EMBED>
                                </OBJECT>

Thanks,
-Ashton.

2
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by AshtonHogan
0

Why do you specify static size(200,400) for the object tag and percentages(200%,400%) for the embed tag?

0

No matter what I specify, it always does that, I've tried using both whole values, then both percentages, then visa versa for each...

0

Oh ok...you need to use scale="exactfit"...

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                                        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
                                        WIDTH="400"
                                        HEIGHT="200">
                                    <PARAM NAME=movie VALUE="Images/Directions/map.swf">
                                    <PARAM NAME=scale VALUE="exactfit">
                                    <EMBED src="Images/Directions/map.swf"
                                           WIDTH="400"
                                           HEIGHT="200"
                                           TYPE="application/x-shockwave-flash" 
                                           SCALE="exactfit"
                                           PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
                                    </EMBED>
                                </OBJECT>

That should do it for you.

Edited by me655321: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.