05-03-05 10: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@pub
lic.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
[ Post a follow-up to this message ]
|