Ahhh, of course. That makes sense to me now. Thanks very much.
- Kevin On 22/05/07, Muzak <[EMAIL PROTECTED]> wrote:
----- Original Message -----
No, you calculate those using the original document width and height and the Stage.width and Stage.height. So you'll have to store the original width and height in variables. var origWidth:Number = 760; var origHeight:Number = 450; var offsetX:Number = (Stage.width - origWidth)/2; var offsetY:Number = (Stage.height - origHeight)/2; regards, Muzak _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com