![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
You can use the loadMovie()
function, or the MovieClip method of the same name, to load JPEG image files into a movie clip instance. You can also use the loadMovieNum()
function to load a JPEG file into a level.
When you load an image into a movie clip, the upper left corner of the image is placed at 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 Loading external SWF and JPEG files, loadMovie()
, MovieClip.loadMovie()
, and loadMovieNum()
.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |