David Hunter wrote:
Hi,
Seems you may have solved this by turning off strict mode. An alternative way
(depending on how flexible you can be with your program) would be to reverse
your approach and listen to what frame the clip is on (myClip.currentFrame) and
perform functions accordingly. As long as you know what frame you want to
trigger a function, you can do all the programming on the timeline in one
place. I have put an example on pastebin for you to try. MyClip is a 12 frame
animated movieclip in the library. Here is the link: http://pastebin.org/153959
Hope it helps,
David
It's probably a bad idea to poll the currentFrame property each frame.
Flash already has framescripts.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders