Question
How to access a root variable from inside a movie clip
Hi I need help. This is really simple but I cannot get it to work.
I define a variable on the root timeline:
var result:uint = 0;
and want to ask for this variable inside of a movieclip
if ((this.parent).result == 0) {
trace("xxx")
} else {
In a AS2 there was only to add "_root" or "_parent" etc.
How can I get that value of the variable? Or is "Var" the wrong thing and I can define something like "Global"?
trace("yyy")
};*/
