Tag: actionscript 3 flash loader loaded clip movie clip addChild display list INIT event

Make a Movie Clip on the Stage appear above a dynamically loaded Movie Clip

A while back, I worked on a flash game that teaches medical professionals how to find objects in a cardiac cart. A cart with 6 drawers isshown at left. When a drawer is clicked, it slides in from the top of the screen so that all the objects inside can be seen. The object of the game is to drag whichever object has been selected at random to a target at bottom right.

The original design allowed plenty of room for the drawers to move down to their open position without obscuring the target area.

But as time went on and more requirements came to light, the dimensions of the game had to be shortened so that the drawer overlapped the hand target when it was in its “open” position.

Continue reading