?
Solved

Resize Flash Movie to fit browser but keep aspect ratio

Posted on 2005-03-21
6
Medium Priority
?
8,711 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.
Suggested Courses

766 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