Uploading Files : FileReference : Development Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Development » FileReference »

 

Uploading Files


 

package{
  import flash.display.Sprite;
  import flash.net.*;  
  public class Main extends Sprite{
    public function Main(){
        
        var fileReference:FileReference = new FileReference(  );
  
        var urlRequest:URLRequest = new URLRequest("uploadScript.cgi");
        fileReference.upload(urlRequest);
        fileReference.upload(urlRequest, "UploadFile");


    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Development
» FileReference