Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Resize Flash Movie to fit browser but keep aspect ratio

Posted on 2005-03-21
6
Medium Priority
?
8,712 Views
Last Modified: 2009-03-04
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
0
Comment
Question by:Kachele
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:Billystyx
ID: 13591648
You could try putting it in a table, setting the table size to 100% width and height.
Billystyx
0
 

Author Comment

by:Kachele
ID: 13600194
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
0
 
LVL 18

Accepted Solution

by:
Billystyx earned 500 total points
ID: 13600274
In the html page, check the paramters for the flash movie - there will be one there called scale. Change that from noscale to default(showall). In the meantime check out this link

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14149

billystyx
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Kachele
ID: 13604567
Perfect! That's exactly what I was looking for.  

JK
0
 
LVL 18

Expert Comment

by:Billystyx
ID: 13605702
glad to help:)
0
 

Expert Comment

by:piyushdabomb
ID: 23795917
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!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question