Groups | Blog | Home
all groups > flash (macromedia) > january 2007 >

flash (macromedia) : Movie Clip / Browser Window Resize?



oneunshamed
1/7/2007 4:34:02 PM
Hello Everyone,

I was wondering if anyone knew of a way that you could make a single movie
clip in your .swf react to the current width of the browser window, when its
loaded.

I would like to use this specific piece of code to dynamically center an
"enter" button on a website.

Thank you in advance
kevin raleigh
1/8/2007 12:27:40 AM
If you set the properties of your .swf to 100% width and height your movie will
automatically fill the browser regardless of resolution. Note if your using a
colored background for your web page you will see white striping down each side
of your movie. just set the param for bgcolor to what ever you need it to be

Kevin
AddThis Social Bookmark Button