Working with Movie Clips and Buttons > Using actions and methods to control movie clips > Loading images and sounds dynamically |  |

Loading images and sounds dynamically

You can use the `loadMovie` action or method to load JPEG image files into a Flash movie as it plays. You can use the `loadSound` method of the Sound object to load MP3 sound files into a Flash movie as it plays.

When you load an image, the upper left corner of the image is placed on the registration point of the movie clip. Because this registration point is often the center of the movie clip, the loaded image may not appear centered. Also, when you load an image to a root Timeline, the upper left corner of the image is placed on the upper left corner of the Stage. The loaded image inherits rotation and scaling from the movie clip, but the original content of the movie clip is removed.

For more information, see `loadMovie`, `MovieClip.loadMovie`, and `Sound.loadSound` in the ActionScript Dictionary.