1. First we prepare an empty movie clip
// Insert > New Symbol > Movie Clip
// Write any name in the symbol name field then click OK

2. Open Library Panel
//Window > Library

3. Drag the MovieClip u've just made from the library into the stage (make sure u work on scene 1)

4. Name it as "mc_pict" or anything u like in the instance name field

5. Create a new layer for action script, click it on the frame then open action panel. write these following script :

loadMovie("image/picture.jpg","mc_pict");

Note :

//its mean flash will load a file named "picture.jpg" inside the folder named "image" and it will be viewed at a movie clip with instance name "mc_pict". thats it ;)

//ur swf file and ur folder containing the image file is in one directory

0 comments