Changing the content type is not supported in uploads. This is 
documented in the URLRequest class.

--- In flexcoders@yahoogroups.com, "pmarstonuoa" <[EMAIL PROTECTED]> 
wrote:
>
> Hi Jeff,
> 
> I'm having the same problem.  According to the Flex2 documentation 
the
> content type defaults to "application/octet-stream", but you can 
set
> the contentType of the request:
> 
> var request:URLRequest = new URLRequest("myURL");
> request.contentType = "image/jpeg";
> myFileReference.upload(request);





------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to