[FMX] What executes when?

Ello there!

I’m making a 4 level parralax scrolling platform game in Flash MX, and I’ve run into a problem:

It seems that I cant predict in what order the ActionScript is executed… I’m not even sure there is a guarantee that it WILL be executed :cyclops:

So, can anyone tell me:

  1. In what order is ActionScript:s executed? By layer, creation time, load time, z value of movie clip? I cant find any logic to it!
  2. Can I be certain that the code is executed? If not, when won’t it be? :upset:

Thanx