0 Replies Latest reply on Aug 3, 2007 6:44 PM by SummerLongSince

    Single vs Multiple file upload

    SummerLongSince Level 1
      Hi,
      I have a project in which users have to upload files. In some instances they are allowed to upload only 1 file; in others, they can upload several. This all happens within a single movie, in which they are prompt between choosing single or multiple files.
      I created 2 classes, one for single and one for multiple. If i first upload a file via the single method, and then try to upload some more via the multiple method I get this error:

      Error: Error #2041: Only one file browsing session may be performed at a time.
      at flash.net::FileReference/browse()
      at com.uploader::FileUpload/init()
      at FileIO_v2_fla::MainTimeline/initiateSingle()


      Is there a way I can close previously opened browsing sessions? How can I do this.

      Thank you