Lower level linkage

Is there a way to link to one level below the current level?
Instead of saying _root.level1.level2.level3, something like: …/level3 ?

you can set a variable to to _root.level1.level2.level3 and then use the variable. for example:

wantedLevel = _root.level1.level2.level3;
//now you can use wantedLevel to refer to _root.level1.level2.level3 just the same as you would if you were to use to full "_root.level1.level2.level3"
wantedLevel._alpha = 50;

yeah but i have 5 instances of the same mc, that need to put variables into the mc that contains them. So they have the same AS but link to different locations. :slight_smile:

Use _parent.
By the way, it’s probably not a very good idea to use the word leveln, as _leveln are reserved words :slight_smile:

Thats it! _parent’ll do the trick.
the leveln’s were just to make the point. Different names in my actual project.

Thanks!