I'm having trouble targeting a movie clip inside a movie clip instance created with the attachMovie() function.
When a visitor presses a button, the attachMovie function is used to create a new instance of MC1, the first one is named MC1a, the second MC1b, etc., etc. The instance name I'm referring to is stored inside a variable at the root level called currentMC.
Inside every instance of MC1 is an instance of movie clip MC2 called MC2a. When the visitor presses a second button, I would like to use the goto action to jump to frame 2 in MC2a.
My guess for a path to this would be: _root.currentMC.MC2a
But apparently I'm missing something! Any ideas?? Thanks!
When a visitor presses a button, the attachMovie function is used to create a new instance of MC1, the first one is named MC1a, the second MC1b, etc., etc. The instance name I'm referring to is stored inside a variable at the root level called currentMC.
Inside every instance of MC1 is an instance of movie clip MC2 called MC2a. When the visitor presses a second button, I would like to use the goto action to jump to frame 2 in MC2a.
My guess for a path to this would be: _root.currentMC.MC2a
But apparently I'm missing something! Any ideas?? Thanks!