This tutorial will teach you how to load external images in Flash using the loadMovie actionscript function. The .fla free download file with the actionscript code is included at the end of the tutorial. Flash 8.0 must be installed in your system to download the .fla file.
The concept for loading external images in Flash is to create an empty movie clip which will load the external image through the loadMovie actionscript function.
Steps to Follow :
1. Create a folder which will have your .fla file, .swf file and your external image. Name the external image photo.jpg.
2. Create the photo and empty movie clips
3. Actionscript for loading the external image in the photo movie clip.
Press Ctrl+Enter to test the file.
Congratulations! You have successfully learnt how to load external images in Flash using simple actionscript.
If the image is not loading, please check that the photo is saved as photo.jpg in the same folder and the instance names for the movie clips are correct.
Download the zip file
Please note: You need Flash 8.0 to open the .fla file.
No portion of these materials may be reproduced in any manner whatsoever, without the express written consent of Entheos. Any unauthorized use, sharing, reproduction or distribution of these materials by any means, electronic, mechanical, or otherwise is strictly prohibited.