Skip navigation
Currently Being Moderated

download  remote files more than 251 from air in windows OS.

Jul 8, 2012 11:52 PM

Hello.

I am trying to download  remote files more than 251 from air in windows OS.

 

I'm coding it in this way.

1. create 251 URLFilePromise instances and put them to array.

2. set ClipboardFormats.FILE_PROMISE_LIST_FORMAT and the array to clipboard.useData method.

3. set NativeDragManager.doDrag

 

In Windows OS, I couldn't set  data to clipboard.useData method because it occured   "argument error" in No2.

If URLFilePromise instances are less than 250, It will be success.

In Mac OS, it is possible to set both more than 251 and less than 250 URLFilePromise.

 

Windows OS spec is following.

-Windows XP

-Professional

-Version 2002

-Servis Pack 3

 

Could anyone teach me how to solve this error? Thanks in advance.

 

code example

---------------------------------------------------------------------- ------------------------------------------------------

 

          try{

                    //this is not allowed in windows os

                    this.clipboard.setData(ClipboardFormats.FILE_PROMISE_LIST_F ORMAT, this.filePromiseArray);          }catch(e:Error){

                    Alert.show(e.name);

          }

 

---------------------------------------------------------------------- ------------------------------------------------------

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points