1 Reply Latest reply on Jun 13, 2008 3:19 PM by Garyl Woolworth

    upload file

    trycold Level 1
      Hi,

      I am using the following code to upload a file:

      file = new FileReference();
      file.addEventListener(Event.SELECT, fileSelected);
      file.addEventListener(Event.COMPLETE, fileUploaded);
      file.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,uploadDataComplete);
      file.addEventListener(IOErrorEvent.IO_ERROR,fileNotUploaded);
      file.browse();
      }
      private function fileSelected(e:Event):void
      {
      Alert.show("Upload " + file.name )?",
      "Upload Confirmation",
      Alert.YES|Alert.NO,
      null,
      proceedWithUpload);
      }

      and so on..

      One of my client click on a button to execute the uploadform function and nothing happens. They can't see the file browse window and I can't figure out why? On my system it works fine.

      can someone explain?

      Thanks
        • 1. Re: upload file
          Garyl Woolworth Level 1
          Sounds like user error to me. Maybe have the the client send a screen shot of the button they are actually clicking on just to make sure? The other thing you could try is setting the required version of flash player to the most current version (9.0.124.0) in your wrapper so that next time they visit your application they are forced to upgrade just to eliminate that possibility.