
Originally Posted by
ferrari_chris
Your second code snippet wants to be _level0.gotoAndStop(50), not _level10 - but that's not important.
yeah--typo on my part. I had it right in flash...

Originally Posted by
ferrari_chris
Try putting another action on the frame that calls the gotoAndStop() to check that it is executing. It'll need to update something on the stage though (like a textbox) as outside of Flash any trace() won't work.
I had tried that actually--I had a simple if statement like
Code:
if (condition met) {
myTxt.text = 'this animation should STOP';
gotoAndStop(50);
} else {
myTxt.text = 'this animation should PLAY';
}
both in the preview and publish file the text says "this animation should STOP", but in the published file the animation still plays.....
I'm sure this has something to do with my flash incompetence, but I don't know what...
Bookmarks