[thelist] flash: _level and _root

Geoff Sheridan web2k2 at premonition.co.uk
Fri Oct 25 11:47:00 CDT 2002


Leave out _root.
Access variables and Mcs like so:
_level1.gotoAndPlay(2)
_level0.myClip._x

_root is relative - it refers to _level274 if accessed by a movieclip
on level274, and level1 if the code is on level1. It is useful if you
don't know in advance what level a clip will be on, otherwise ignore
it.

HTH

Geoff



More information about the thelist mailing list