[snackshot] Loading an external image

3 05 2008

snackshotz

Actionscript 3 code

var imageLoader:Loader = new Loader();
var image:URLRequest = new URLRequest(”http://server.com/folder/file.png”);
imageLoader.load(image);
addChild (imageLoader);
imageLoader.x = 200;// AS2 reference: _x
imageLoader.y = 300;// AS2 reference: _y


Actions

Information

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>