[Flashcoders] Resizing Flash Windows with Loaded JPGs?

2008-09-16 Thread Doug Coning
Greetings everyone,

I have a Flash web site in which I need flash to resize depending on the user's 
browser window size.  However, the flash file dynamically loads images and FLVs.

Is there a simple way to have flash automatically take a 950 X 600 size file 
and reduce it to fit in a smaller browser window?  Will the images and videos 
resize as well.  Or do I need to accomplish this task dynamically in 
actionscript by getting the reduction percentage and applying to the size of my 
images?

Thanks,

Doug Conin
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Resizing Flash Windows with Loaded JPGs?

2008-09-16 Thread Bob Wohl
Hi Doug, you can change the code in the html to width/height = 100%. As long
as you haven't set the Stage.scalemode in the swf then it will scale to fit
the embed height/width. It should work for dynamic content, but I've never
had to do this due to image quality on scaling.
you can do this in the publish settings window as well. Set dimensions to
percent and 100%.



hth!
B.

On Tue, Sep 16, 2008 at 10:34 AM, Doug Coning [EMAIL PROTECTED] wrote:

 Greetings everyone,

 I have a Flash web site in which I need flash to resize depending on the
 user's browser window size.  However, the flash file dynamically loads
 images and FLVs.

 Is there a simple way to have flash automatically take a 950 X 600 size
 file and reduce it to fit in a smaller browser window?  Will the images and
 videos resize as well.  Or do I need to accomplish this task dynamically in
 actionscript by getting the reduction percentage and applying to the size of
 my images?

 Thanks,

 Doug Conin
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders