actionscript 3 - Flash AS3 on URLLoader.load POST - getting http status=0 and no data. Works in Flash IDE -



actionscript 3 - Flash AS3 on URLLoader.load POST - getting http status=0 and no data. Works in Flash IDE -

i making rest calls urlload.load(urlrquest).

also

urlrequest.method = urlrequestmethod.post; urlrequest.contenttype = "application/xml";

when create calls within flash ide, httpstatusevent.status = 400 (or whatever) when error occurs. , ioerrorevent.data contains xml (or string).

however, when run swf in browser (firefox mac or pc), httpstatusevent.status = 0, , ioerrorevent.data empty. (interestingly in safari mac, 400 status, still no data.)

any ideas on may occurring? (i need errors!)

running swf in firefox generate 0, since firefox not pass status codes flash player, according action script reference.

actionscript-3 flash http-status-codes ioerror

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -