Re: how to dynamically set document dimensions in
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > Re: how to dynamically set document dimensions in




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: how to dynamically set document dimensions in  
JesterXL


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:54 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register