This content has been marked as final. Show 3 replies
Wow. I'm not really following it and there is one part that is certainly going to cause you trouble – if not in this exact case then sooner or later.
First, scenes are a great way of organizing your authortime created timeline animations. But when you start using actionscript to move the playhead around and such you will eventually run into problems. When published to the swf, all scenes are removed and the frames are just run together into one long timeline. This can cause problems and the forums are full of them. Personally I stopped using scenes long ago so I don't really know all the ins and outs, but if you are using actionscript you should probably stop using scenes.
That being said, I'm not sure how you expect gotoAndStop("return") to leave something on the same frame as the button? Or is some other clip supposed to go to the "return" frame? If so should the code be something like:
Perhaps I'm just not following it.
sorry for the confusing post... i'm not using scenes at all. The fact of the matter is that the gotoAndStop("return"); code doesn't even work. it always goes to frame 1 of the movie. If i take out my function above it, then it works, but with the function there the gotoAndStop command fails to work.
do you have a trace in your keepFish() function? does it work?
what happens if you put goto above keepFish()?