Hi,

Okay, I kind of see that Load Order is really to do with Layering per clip and what gets loaded first, so not sure if this is a red-herring,

I do remember seeing a blog post somewhere a while back explaining the event cycle, but this was a flex thing. I have been googling, but not having much luck finding answers. Does anyone have any pointers to information about the order in which things are added to stage, etc.?

BTW, using CS3 for this and also loading SWF's into a "shell" application. It's the child SWF's causing issues.

   Thanks

   Glen

Glen Pike wrote:
Hi,

I am debugging a strange problem with nested Sprites that are linked to classes.

In my classes for my parent and child Sprites, I have ADDED_TO_STAGE handlers which setup the controls. The child Sprites are placed at Author-time in the IDE.

   For my SWF, my load order is set to "Bottom Up".

If I trace from the ADDED_TO_STAGE handlers I am seeing the parent clip's handler being called first.

Am I wrong in assuming that my ADDED_TO_STAGE handler for the child sprites should be called before the parent clip? I thought that this was something that was guaranteed in AS3, or am I getting mixed up with my Load order and adding to the stage?

   Thanks
     Glen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to