1 Reply Latest reply on Mar 26, 2007 5:41 PM by aniebel

    gotoandplay

    stuckerdesign
      I have the simplest script in the world, but i cant get it to work.
      I have my main movie, then I have an mc that within it has a button, and then an MC "gallery" that is on the stage. I want to be able to go to specific frame when I click the button - either frame #, or label within the "gallery" mc.

      What do I need to do?

      Thanks

      Scott
        • 1. Re: gotoandplay
          aniebel Level 2
          Let's say your first mc has an instance name of "first_mc" and the gallery mc instance name is "gallery_mc". They both sit on the main timeline, right? So what they have in common is "_root" or another way of looking at it is that both mc's are the children of the main timeline. So you can also refer to it as "_parent". Likewise, the button is the child of the "first_mc". I like to visualize it as a family tree.

          To get one child mc to "talk to" another one, you have to go through the proper channels or scope. So, try something like this: