PDA

View Full Version : This code should NOT be executing


BernzSed
08-24-2008, 07:59 AM
Am I doing something wrong, or is this a Flash bug?

In the attached fla file, there's code on frame 10 of the main timeline telling flash to gotoAndPlay frame 20. On frame 15 (which is skipped over), there's a MovieClip. The MovieClip's timeline only has one frame. On that frame there is a trace statement.


That setup works fine, with the code in the MovieClip never getting executed. However, if I add a SimpleButton to the main timeline, the code in the movieclip does get executed when flash reaches frame 20 of the main timeline.


I can't imagine that this is my fault. It looks like a bug to me.


Thoughts?