9 Replies Latest reply on Aug 6, 2007 3:37 PM by kglad

    help with variable in timeline

    posterboy Level 1
      i want to set up an AS to determine which button was hit then tell it to go back up to the root and play a specific frame.

      i am failing miserably.

      here some examples i tried in the clip...

      (parent clip) >> var landingSwipe = _root.gotoAndPlay (2);
      (child clip) >> _parent.landingSwipe;

      (parent clip) >> var landingSwipe = 2;
      (child clip) >> _root.gotoAndPlay(_parent.landingSwipe);

      i know it's awful, but i am trying.

      I have six buttons that go to the same fade. at the end of the fade i want the timeline to go to the corresponding frame at the root.

      thanks > mark