This content has been marked as final. Show 4 replies
Not really sure what "pipeline" order is, but if you mean the order of code execution, there is really very little you can do about it.
I believe I once saw some post and maybe a tutorial or two about how Flash determines the order and stacking can have an effect as well as the order of layers.
As far as I know there are no preemptive type commands to ensure something is done first. And considering that folks have made all kinds of amazing Flash things without that and adding on that this is an almost never asked question here, I'm guessing that what you are trying to do can be done in a different way to avoid the problem.
So what are you trying to do?
PS: It isn't that you actually expect onEnterFrame to be done upon entering the frame, is it? That is actually a poorly named event and it just happens at the framerate, but not necessarily upon entering the frame.
lets see the problem this way.
i create two movieclips with actionscript
and create onenterframe function for those both movieclips.
there is an order that flash will execute, one enterframe before other.
if you trace them you will see how the order goes.
my problem is that i want to control that other by script.
the both movieclips are in the same layer and same frame.
Yeah, but you can't do it. You may be able to very carefully create things in certain orders and apply events with great cleverness, but it will be very hit and miss. Since there isn't anything built in to do this, there isn't really anything to be gained by trying.
But WHY do you want to control the order? WHAT are you trying to accomplish? There is probably another way.