topical media & game development 
  
 
 
 
 
  
    
    
  
actionscript-lib-imageviewer-take1port-ImageViewer.ax
actionscript-lib-imageviewer-take1port-ImageViewer.ax
[swf]
 
flex
  package  {
    import flash.display.Sprite;
    import flash.display.Loader;
    import flash.net.URLRequest;
  
    public class @ax-actionscript-lib-imageviewer-take1port-ImageViewer {
      private var imgLoader:Loader;
  
      public function @ax-actionscript-lib-imageviewer-take1port-ImageViewer (target:Sprite, depth:int) {
        imgLoader = new Loader();
        target.addChildAt(imgLoader, depth);
                  }
  
      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.