button only works once?

  • one2one
  • Novice
  • Novice
  • one2one
  • Posts: 24
  • Loc: Lancaster, PA

Post 3+ Months Ago

weird issue. not a huge flash/action script expert here.

Made a flash movie in Flash Pro 8. it loads and then displays some movie clips that contain buttons.

I added the AS

Code: [ Select ]
on (release){
_root.gotoAndStop("Button1");
}
  1. on (release){
  2. _root.gotoAndStop("Button1");
  3. }


"Button1" being the Frame Label I want this movieclip/button to advance/return to if the movieclip/button is clicked.

It works... 1 time. after that you can click on the movieclip/button all you want and nothing happens.

What did I miss?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • zhaojany
  • Student
  • Student
  • User avatar
  • Posts: 79

Post 3+ Months Ago

If u can put ur file on somewhere , and if we get the file. maybe we can help u .
  • one2one
  • Novice
  • Novice
  • one2one
  • Posts: 24
  • Loc: Lancaster, PA

Post 3+ Months Ago

I figured it out with help from another forum.

basically, I needed to use

gotoAndPlay instead of gotoAndStop and make a few other tweaks. it all works great now.

thanks though :)
  • zhaojany
  • Student
  • Student
  • User avatar
  • Posts: 79

Post 3+ Months Ago

:)

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 15 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
 
cron
 

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