How to load an external image using Action Script 3.0

This is tutorial will help you to how to load an external Image usign action script 3.
1. First create a flash document and save Sample.fla.
2. Go to the first frame..then type the following code
var img_load:Loader = new Loader();
img_load.load(new URLRequest("myPhoto.jpg"));
addChild(img_load);
3.The "myPhoto" is a image stored where you are saving your flash file.
4.Press "Ctrl+Enter" See the result.


I think this will help you..

Popular posts from this blog

how to load a bitmap and cut into pieces using ationscript 3.0

You want to store information in memmory using flash sharedObject