Groups | Blog | Home
all groups > macromedia flash sitedesign > february 2006 >

macromedia flash sitedesign : Movie resizing according to browser width


tralfaz
2/19/2006 3:41:26 PM
[quoted text, click to view]

In the Flash publish settings for html
Dimensions: percent
width 100 height 100

Setting to 100% works ok except for IE. If you let Dreamweaver or
another html editor add a docType line to the html it will display as
100x100 pixels instead of 100% in Firefox.
Search the macromedia.flash forum for FireFox and 'small' or 'tiny' to
see discussion on that and different work-arounds.
tralfaz

tralfaz
2/19/2006 7:11:16 PM
[quoted text, click to view]

The 'object stuff' is for Internet Explorer. The 'embed' part is for
and mozilla type browsers like Netscape and Firefox. You need both
unless you want your site to not load anything for Internet Explorer
users.
tralfaz

tralfaz
2/19/2006 8:08:06 PM
[quoted text, click to view]

If you resize the browser window it will make the flash page change
size to fit the new browser window but the aspect ratio won't change.
You can end up with edges at the top or bottom if the window isn't
resized equally. The other way to do it is to resize things using
Actionscript.
Here is an example with mx sourcecode on my website..
http://members.cox.net/4my5cats/noScale/stageResize2.html

It resizes the background image only and repositions the other clips
but you can also resize the rest of the objects too using the same
method if you can work with the code.
tralfaz

isagard
2/19/2006 10:22:48 PM
isagard
2/20/2006 1:38:52 AM
Doesn't work :(. This is the code I am using right now:

<EMBED SRC=/my/movie.swf AUTOSTART=true WIDTH=100% HEIGHT=100% LOOP=100>

I took off all the object stuff because it didn't work in the PHP this is in.
isagard
2/20/2006 3:53:27 AM
isagard
2/20/2006 3:13:52 PM
isagard
2/20/2006 4:03:34 PM
AddThis Social Bookmark Button