3 Replies Latest reply on Mar 21, 2007 2:51 PM by velocity-vector

    help with variables

    velocity-vector Level 1
      hello --

      i have (a,b,c,d,e)_mc movie clips that play a child movie clip when clicked.

      How do i tell the child movie clip when clicked to play to go back up one or two levels and play the (a,b,c,d,e)_child_mc movie clips? below is the basic flow...

      I know you have to use a variable then reference it in child_mc to know where it came from and how to get back up. I'm just not that adept yet at variables.

      a_mc ------- ------- a_child_mc
      | |
      b_mc ------- ------- b_child_mc
      | |
      c_mc ------- ------- child_mc ------- ------- c_child_mc
      | |
      d_mc ------- ------- d_child_mc
      | |
      e_mc ------- ------- e_child_mc

      i'm thinking in child_mc you would call the variable and use something like...

      _parent._parent.variableBlurb.gotoAndPlay (14);

      and in the (a,b,c,d,e)_mc movie clips you would name the variable...

      var blurb;

      thanks > mark