Ah.. ok.
Thanks Henrik.
Best,
Karl
On Feb 15, 2012, at 4:32 PM, Henrik Andersson wrote:
Karl DeSaulniers skriver:
Is there no reference in AS3 like AS2 where you can look with _level0
for the top level MC?
The equivalent to levels would be the display list of the stage
itself.
___
Karl DeSaulniers skriver:
> Is there no reference in AS3 like AS2 where you can look with _level0
> for the top level MC?
>
The equivalent to levels would be the display list of the stage itself.
___
Flashcoders mailing list
Flashcoders@chattyfig.figle
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"
To: "Flash Coders"
Subject: [Flashcoders] am i loaded by anothe
> Glen
>
> Sent from my HTC
>
> - Reply message -
> From: "Ktu"
> To: "Flash Coders"
> 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
Ktu skriver:
> sorry now, what if the loader is already in a display list when it runs
> that first frame?
> is it still not aware of the stage?
>
If a movie is loaded by a Loader that is on the display tree of the
stage the loaded movie DOES NOT have access to the stage.
___
sorry now, what if the loader is already in a display list when it runs
that first frame?
is it still not aware of the stage?
On Wed, Feb 15, 2012 at 3:33 PM, Ktu wrote:
> so I could do something like this:
>
>
> public function Main():void {
> if (stage) {
> stage.scaleMode = Stage
so I could do something like this:
public function Main():void {
if (stage) {
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
init();
} else addEventListener(Event.ADDED_TO_STAGE, init);
}
private function init(e:Event = null):voi
Ktu skriver:
> 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
>
You can't know in the
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"
To: "Flash Coders"
Subject: [Flashcoders] am i loaded by another swf?
Date: Wed, Feb 15, 2012 19:55
Hey
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 o
10 matches
Mail list logo