Actions in a nested mc
Hello again.
I'm trying to do actions with movieclips that are nested inside another.
I'm calling them dynamically with a for, something like this:
root = this;
for (i = 1; i <= 12; i ++) {
root ["mcP_" + i] .visible = false;
};
This code works, but when the movieclips are nested, it does not find them anymore.
for (i = 1; i <= 12; i ++) {
root.anotherMovieClip ["mcP_" + i] .visible = false;
};
Surely I am executing incorrectly the call to the objects, I wish they could tell me what is the correct way to execute this.
Thanks for your support.
Greetings.
