Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Window Size

Status
Not open for further replies.

Tanag

Programmer
Oct 5, 2005
18
CA
I'm creating a flash demo that will basically just be a 10 minute movie showing screens of a product. I was wondering if there is a way I can make it so when a user maximizes the window the file is playing in the flash will dynamicly resize to fit the new window. The file I am working with is a 640x480 size window. I have seen other flash demos of this style that do this, yet mine does not.
This file will always be viewed from an exe, never from the web.

Thanks in advance, if you need any other info please let me know.
 
just put the width="100%" and height="100%" of the flash tags in the page.

Also put this on the first frame of your movie:
Code:
fscommand("allowscale",true);
fscommand("fullscreen",true);
Basically it maximises the flash movie to screen wxh

Regards,

Martin

Computing Help And Info:
 
As I said this is for an exe video, not a video embedded in the page.

I figured it out in the end. When published it resizes properly, but when viewed in the editor it doesn't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top