nc> If I load a swf into level 1 of my root time line, and then load
nc> something onto level 2 of the swf i just loaded, which level is it on
nc> in relation to the root? do the numbers add up, or do we start
nc> counting from each level again?

Levels are global in a Flash movie and independent of the loaded
movies. Don't mess however levels with depths! Actually levels belong
not to movies but to the Flash player itself. Each level has its main
movie (= _root), independent of each other. I suggest you to avoid
using levels, using nested movies will be more flexible.

nc> so this is the set up again:
nc> 
nc> root loads
nc>      swf 2 into level 1, which then loads
nc>           swf 3 onto (it's?) level 1

in this case swf3 will overwrite swf2 on level1, since levels are
global

nc> swf 3 can also be loaded from the root level,

There is no root level, just levels starting from 0 and counting up,
and each level is a root for its content, so scripts in levels may
refer to _root, which actually means the main movie of that level. So
_root in level 0 refers to _level0, _root in level 1 refers to _level1,
etc.

Attila

_______________________________________________
[email protected]
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

Reply via email to