Hi Alex (only you are interested in emulation, right ?) :)))
While debugging my code, I realized that there is a conflict between in
status and httpStatus values of the event HTTPStatusEvent, at least in
my mind.
My old flex code, ported to royale, registers and event listener for
HTTPStatusEvent.HTTP_STATUS and handler httpResult as below (loader is
initialized somewhere) :
loader.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpResult);
After making http request, the handler returns as below on screen :
This is where it fires window :
It is normally expected that the status holds real value, but here it is
not, httpStatus contains the value in "value" as below :
As the HTTPStatusEvent is emulated, I am not sure how to go to solve the
issue.
Thanks,
Serkan