MovieClip(root).gotoAndStop(2); ???

  • ytb
  • Newbie
  • Newbie
  • User avatar
  • Posts: 5

Post 3+ Months Ago

right I want my animation to go to say, frame 2- so in the first frame I type

MovieClip(root).gotoAndStop(2);

or just

gotoAndStop(2)


but it just stops the movie doesn't go anywhere!@

also why can't I add actions to movie clips??
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

the correct code would be
Code: [ Select ]
_root.gotoAndStop(2);
is it possible that your already on frame 2?

Also you need to add code inside movieclips so make sure that you don't have an item on the stage selected when you try to add code to the clip.
  • ibrabdo
  • Novice
  • Novice
  • User avatar
  • Posts: 29

Post 3+ Months Ago

u can't add actions to movie clips in the actionscript3
u have to work with actionscript2 if u want to do that

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 9 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.