The playhead vs actionscript situation is a mess in Flash since as 3
first came out. This is the end result of flex being the only tool to
test with. But enough ranting about that.
First make sure that your swf is published for FP 10, if it is, the
situation is better.
If this is not enough (or possible), there are two ways of executing
code before the rendering, but after the frame change. The first one is
simple framescripts. They run when the frame in question is loaded, so
per definition, they can't run too late.
The other way is the FP 10 new event FRAME_CONSTRUCTED that is fired
just before the framescripts are executed.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders