This crude demonstration shows how to use the loadMovie() or loadMovieNum() command to replace one element with another, in this case an animation.
The moveable green ball Movie Clip contains scripts that test for contact with the gray target ball. On contact the target ball, which is a separate movie loaded into Level 1, is replaced with a new Movie Clip containing the animated explosion effect. Click the "Reset" button to try again.
Source code for this demonstration is available on Crow in MMShare/loadMovieDemo.

