Adobe Dreamweaver Forums



Last 10 THreads :         files are one level too deep (Last Post : ricksepulveda - Replies : 0 - Views : 1 )           »          need check of site in IE7 please. (Last Post : yankeestonk - Replies : 7 - Views : 8 )           »          Please Help! Newbie PHP and DW question (Last Post : Rockyjd - Replies : 9 - Views : 10 )           »          RoboHelp Versioning (Last Post : Colum McAndrew - Replies : 1 - Views : 2 )           »          Import Word 2007 into RH6 (Last Post : Drewster413 - Replies : 8 - Views : 9 )           »          Re: Robohelp HTML Not Compiling and not responding (Last Post : Colum McAndrew - Replies : 0 - Views : 1 )           »          Adobe Flash 10 kills Wimpy (Last Post : ClubEXL.com - Replies : 36 - Views : 254 )           »          special chars in XML (Last Post : Amy Blankenship - Replies : 1 - Views : 2 )           »          Problem with CheckBox as ItemEditor (Last Post : Amy Blankenship - Replies : 2 - Views : 3 )           »          extends advanced data grid (Last Post : Amy Blankenship - Replies : 1 - Views : 2 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , ,



Reply
  #1 (permalink)  
Old 07-31-2008, 05:44 PM
Kira3005
 
Posts: n/a
Diggs:
Default ioError 2038 only under mac

Hello all,

I have the following code in order to upload files:

fList[i].uploading = true;
request = new URLRequest("http://mysite:80/data.php?id="+idFile) ;
request.method = URLRequestMethod.POST;
request.manageCookies = false;
fList[i].upload(request, "data", false);
fList[i].addEventListener(ProgressEvent.PROGRESS, progressHandler);
fList[i].addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onEndUpload);
fList[i].addEventListener(IOErrorEvent.IO_ERROR, onUploadError);

Everything works great under windows but under mac I have a ioError code 2038
as soon as I click my upload button. I'm going crazy I spend 1 week on this
problem and I've still not find the issue.

Please help me!
Thanks for your help ^^



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-31-2008, 07:03 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: ioError 2038 only under mac


"Kira3005" <webforumsuser@macromedia.com> wrote in message
news:g6sppf$87k$1@forums.macromedia.com...
> Hello all,
>
> I have the following code in order to upload files:
>
> fList[i].uploading = true;
> request = new URLRequest("http://mysite:80/data.php?id="+idFile) ;
> request.method = URLRequestMethod.POST;
> request.manageCookies = false;
> fList[i].upload(request, "data", false);
> fList[i].addEventListener(ProgressEvent.PROGRESS, progressHandler);
> fList[i].addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onEndUpload);
> fList[i].addEventListener(IOErrorEvent.IO_ERROR, onUploadError);
>
> Everything works great under windows but under mac I have a ioError code
> 2038
> as soon as I click my upload button. I'm going crazy I spend 1 week on
> this
> problem and I've still not find the issue.


Have you tried stepping through the code to see exactly where it is
erroring?


Reply With Quote
  #3 (permalink)  
Old 08-01-2008, 12:31 AM
Kira3005
 
Posts: n/a
Diggs:
Default Re: ioError 2038 only under mac

The problem is an ioerror, I put the following code to see the exact error :

Alert.show(io.toString());

It returns me a 2038 error code...

Is there something I did wrong?

Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 05:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk