1

I have a button directly on a stage. When this is clicked I want it to cause a movieclip INSIDE ANOTHER MOVIECLIP to move on one frame. When i use the

movieclip.gotoAndStop(2)

command, it wont work (If moviclip is the instance name of the movieclip I want to control)

I'm guessing its because the command would only work if the movieclip is on the stage with the button. Is there a different command i can use to pinpoint the movieclip when it is inside another one?

Thank you, fred

Fred Iles
  • 11
  • 2

1 Answers1

0

Sounds like you need to reference the parent of movieclip (make sure the movieclip that contains 'movieclip' has an instance name):

movieclipParent.movieclip.gotoAndStop(2);
philipisapain
  • 886
  • 9
  • 13