OK - I've read so many class definitions now I forgot where I read that one!  ;-)

So why's it stuck at application/octet-stream I'd like to know what files my users are uploading, but I don't want to do it by restricting them with the fileFilter class . . :-(

Geoffrey Williams wrote:

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

--- In [EMAIL PROTECTED]ups.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);


-- 
______________________________________________________________ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
______________________________________________________________

The University of Aberdeen Open Day 29th August 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495
__._,_.___

--
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




__,_._,___

Reply via email to