More cryptic notes to myself about execution order in Flash

May 31st, 2007 Comments Off on More cryptic notes to myself about execution order in Flash

When a nested MovieClip with a custom subclass is created, the order is something like this (I think):

  1. the asset is created (as a “plain” MovieClip: it has its name, dimensions, etc, and can be referred to by name from the containing MovieClip, but it has no methods or properties of its ActionScript class)
  2. its constructor is called
  3. any onLoad() handler is called
  4. frame scripts on the MovieClip’s timeline execute

Comments are closed.

What's this?

You are currently reading More cryptic notes to myself about execution order in Flash at bunnyhero dev.

meta