Starting the load operation : URLRequest : Network Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Network » URLRequest »

 

Starting the load operation


 

package {
  import flash.display.*;
  import flash.net.URLRequest;

  public class Main extends Sprite {
    private var loader:Loader;

    public function Main(  ) {
      loader = new Loader(  );
      var url:URLRequest = new URLRequest("sunset.jpg");
        loader.load(url);
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Network
» URLRequest