actionscript-lib-imageviewer-take1rewrite-ImageViewer.ax [swf] flex
package { import flash.display.Sprite; import flash.display.Loader; import flash.net.URLRequest; public class @ax-actionscript-lib-imageviewer-take1rewrite-ImageViewer extends Sprite { private var imgLoader:Loader; public function @ax-actionscript-lib-imageviewer-take1rewrite-ImageViewer () { imgLoader = new Loader(); addChild(imgLoader); } public function loadImage (URL:String):void { imgLoader.load(new URLRequest(URL)); } } }
(C) Æliens 27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.