Is there no reference in AS3 like AS2 where you can look with _level0 for the top level MC?

Best,
Karl


On Feb 15, 2012, at 4:13 PM, Gerry Beauregard wrote:

I think that if a SWF is loaded by another SWF (e.g. using SWFLoader), 'stage' will be null.

-Gerry

On 2012-02-16  , at 04:07 , g...@engineeredarts.co.uk wrote:

Hi, Can you check if the parent exists, and is there a way to determine if this is the document/main class?
Glen

Sent from my HTC

----- Reply message -----
From: "Ktu" <ktu_fl...@cataclysmicrewind.com>
To: "Flash Coders" <flashcoders@chattyfig.figleaf.com>
Subject: [Flashcoders] am i loaded by another swf?
Date: Wed, Feb 15, 2012 19:55


Hey List,

I'm building a swf, and i want to set the stage.scaleMode and align ONLY IF
my swf is the top level swf, and was not loaded by another swf.

anyone know how to find out if a swf was loaded by another swf?

need more info?

thanks

--
Ktu;

The information contained in this message may or may not be privileged
and/or confidential. If you are NOT the intended recipient,
congratulations, you got mail!
_______________________________________________
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


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

Karl DeSaulniers
Design Drumm
http://designdrumm.com

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

Reply via email to