Skip to main content
Participating Frequently
December 8, 2007
Question

using AS2- Building a flash site- Two buttons work the rest dont??

  • December 8, 2007
  • 1 reply
  • 287 views
I highlighted the button- went to behaviors- choose movieclip- GotoStop play at frame label on each of my buttons. I don't understand why two buttons work and the rest don't. Is this crazy? Am I crazy. Each have this code but exchange the frame name for different labels--->
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 8, 2007
the same code will work differently if attached to a true button and a movieclip button.
December 8, 2007
Indeed, using this on a movieclip will reference the actual movieclip, whereas using this on a button will reference the movieclip the button is in.

So in your example, it'll be trying to go to a frame label "home" in the movieclip button. Just take out this and use gotoAndStop("home");