Are RunTime enterFrame event listeners executed in the order they were added?

Are RunTime enterFrame event listeners executed in the order they were added, or in some other order? If the latter, is the order always the same in every frame, or does it vary unpredictably?

I don’t know, but if you need them to be executed in a specific order, you can always add a single listener that calls them all in order.

  • C

Thanks, Caleb. That occurred to me but since they’re executed 30 to 60 times every second second (in response to the enterFrame event), I want to be careful about unnecessary overhead, so putting all those calls into yet another call instead of directly as individual RunTime listeners is something I’d like to avoid if possible. So I’m hoping someone knows what the execution order is. Thanks again, though.

I don’t believe an extra function call would make unnecessary overhead; that’s what they’re for :slight_smile:

  • C

I don’t know, but if you need them to be executed in a specific order, you can always add a single listener that calls them all in order.

  • C

Thanks, Caleb. That occurred to me but since they’re executed 30 to 60 times every second second (in response to the enterFrame event), I want to be careful about unnecessary overhead, so putting all those calls into yet another call instead of directly as individual RunTime listeners is something I’d like to avoid if possible. So I’m hoping someone knows what the execution order is. Thanks again, though.

I don’t believe an extra function call would make unnecessary overhead; that’s what they’re for :slight_smile:

  • C