Archive for the ‘xt.managers’ Category

The Problems with Managing Depth in ActionScript

Tuesday, March 7th, 2006

Riddle~

Is it important to keep track of depths in ActionScript for all of my display assets? It’s something extra to worry about, but there’s always the danger of killing something by overwriting the depth. It’s also important to have control on what graphics go in front of others. The “right way” is to have those depths explicitly defined along with each element so it’s clear who has what depth and it keeps the children from fighting. But then that doesn’t work for graphics placed on the stage at design time.

Answer: (more…)