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
4.Press "Ctrl+Enter" See the result.
I think this will help you..
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.img_load.load(new URLRequest("myPhoto.jpg"));
addChild(img_load);
4.Press "Ctrl+Enter" See the result.
I think this will help you..