I have a Flash Professional CS5 project with ActionScript 3. I have a movieclip object with several gotoAndPlay ActionScript commands inside of it. I also have other gotoAndPlay commands on the main stage, linked to interactive events.
When I run the project via Ctrl+Enter, it works perfectly, without any issues. However, once I compile it down to a .swf or an Air 3.0 file, it runs, but omits some or all of the gotoAndPlay commands, both the ones inside of and outside of the stage.
How do I fix this? (My code is extensive, but if anyone really needs to see it, I’ll see what I can put together.)
I found it. Actually, there was a significant (but subtle) oversight in several places in my code. The trial has no disabled features…it works just fine, even in final compiles to .swf or Air.
If you’re having trouble like I was, re-read your code. There’s an error there SOMEWHERE.