Link to home
Start Free TrialLog in
Avatar of Kachele
Kachele

asked on

Resize Flash Movie to fit browser but keep aspect ratio

I want to resize my flash movie to best fit the browser's window but retain the movie aspect ratio.  How can I do this??

JK
Avatar of Billystyx
Billystyx

You could try putting it in a table, setting the table size to 100% width and height.
Billystyx
Avatar of Kachele

ASKER

Is there more that I have to do on the Flash side?  I tired putting it in a table with width=100% and there was no difference except the alignment at times.  What I have is a flash movie that is 600x450 this works well with monitor res of 1024x768 but I want the movie to become larger on highter res screens and smaller on lower res screens.  
I know on the Flash side of things when you publish you can set the size attributes to a set pixel size or a percentage.  However, since I want to retain the aspect ratio I think I need to do something more...

JK
ASKER CERTIFIED SOLUTION
Avatar of Billystyx
Billystyx

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kachele

ASKER

Perfect! That's exactly what I was looking for.  

JK
glad to help:)
Hey,

For those who were able to figure this out, can I ask where exactly would you place the SCALE property in my flex application? A sample code would be very very useful please.

Because I'm new to flex, events, etc... I don't understand how and where to use the SCALE property. Please help!