This is the layout of my current project. On the stage, there is a movie clip with an instance name of mc_navigation. Inside mc_navigation exist the movie clips mc_resume, mc_digital, mc_entertainment and mc_biography, and inside these movie clips exist mc_resumetext, mc_digitaltext, mc_entertainmenttext and mc_biographytext, respectively.
Stage
–mc_navigation
-----mc_resume
----------mc_resumetext
-----mc_digital
----------mc_digitaltext
-----mc_entertainment
----------mc_entertainmenttext
-----mc_biography
----------mc_biographytext
Because clicking on any of the mc_whatevertext movie clips causes a change in all the other similar clips, I need to access variables in these movies. This seems like a simple task, but for some reason I absolutely cannot get it to work. I could probably reorganize the project in such a way that I only have to go up one level and could just use _parent, but this would take a lot more effort. If at all possible, I want to preserve the current arrangement and call these movie clips on the mc_whatevertext levels.
Inside mc_resumetext, I have the following actionscript…
_root.mc_navigation.mc_digital.mc_digitaltext.holdblack = false;
_root.mc_navigation.mc_digital.mc_digitaltext.prevFrame();
_root.mc_navigation.mc_entertainment.mc_entertainmenttext.holdblack = false;
_root.mc_navigation.mc_entertainment.mc_entertainmenttext.prevFrame();
_root.mc_navigation.mc_biography.mc_biographytext.holdblack = false;
_root.mc_navigation.mc_biography.mc_biographytext.prevFrame();
What am I doing wrong?
Thanks in advance for any help!