Macromedia Flash Server - Re: how to dynamically set document dimensions in

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > May 2005 > Re: how to dynamically set document dimensions in





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: how to dynamically set document dimensions in
JesterXL

2005-05-03, 5:45 pm

Wrong list, try Flashcoders.

No, but you can do this:

Stage.align = "TL";
Stage.scaleMode = "noScale";

And then, your SWF doesn't stretch it's contents. Then, you can
resize/re-position the elements within the SWF via the onResize function
which is called when the SWF is resized, whether in a browser or on the
desktop:

Stage.addListener(this);

function onResize()
{
trace("w: " + Stage.width);
trace("h: " + Stage.height);
}
----- Original Message -----
From: "Lane Good" <lane-X0N0neLMqCA5GlM4cBkWCkEOCMrvLtNR@public.gmane.org>
To: "FlashComm Mailing List" <flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org>
Sent: Tuesday, May 03, 2005 4:19 PM
Subject: [FlashComm] how to dynamically set document dimensions in
theauthoring environment?


Is there a way to change dimensions dynamically by actionscript?

Lane Good
lane-X0N0neLMqCA5GlM4cBkWCkEOCMrvLtNR@public.gmane.org
http://www.fastlanestudios.com





=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com