HTTPService cannot handle binary data and images fall under this category. U 
have top go URLLoader.

C 



________________________________
From: method_air <loudj...@hotmail.com>
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 1, 2011 7:03 PM
Subject: [flexcoders] HTTPService post to return an image?


  
Is it possible to return an image object using HTTPService?

The fault method executes when I attempt to do this:

var http:HTTPService = new HTTPService();
http.url = "myScript.ashx";
http.method = "POST";
http.resultFormat = "object";

Should URLLoader be used instead?

Cheers,

Philip


 

Reply via email to