Flex - image uploader IO error on mac

3 views
Skip to first unread message

Ravi

unread,
Jan 4, 2010, 8:29:54 AM1/4/10
to Flex India Community
Hello Friends,
I have an admin built that uploads images from flex onto the server
using php. On a pc it works great, however on a Mac no files will
upload and it produces an IO error. Are there any known issues with
file upload using flex on mac verse pc, or any special way that the
php output needs to be formatted in order to not produce an error on
mac?


thanks in advance
ravi

edwin....@gmail.com

unread,
Jan 4, 2010, 8:40:42 AM1/4/10
to flex_...@googlegroups.com
Hi Ravi,
Can you share the admin?



--

You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.



Ravi

unread,
Jan 4, 2010, 9:05:22 AM1/4/10
to Flex India Community
private function browseImage(event:MouseEvent):void

{
var imageTypes:FileFilter = new FileFilter("Images (*.jpg,
*.jpeg, *.gif,*.png)", "*.jpg; *.jpeg; *.gif; *.png");
var imageTypesArray:Array = new Array(imageTypes);
uploadFileRef = new FileReference();
uploadFileRef.addEventListener(Event.SELECT,selectHandler);
uploadFileRef.addEventListener(Event.COMPLETE, completeHandler);
uploadFileRef.addEventListener(IOErrorEvent.IO_ERROR,
errorHandler);
uploadFileRef.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
errorHandler);
uploadFileRef.browse(imageTypesArray);
}

Reply all
Reply to author
Forward
0 new messages