2009
09.10

Since I yelled about the HTTPService Bug I figure I might as well applaud Adobe for getting it fixed. The 3.x branch was updated Tuesday afternoon and the bug (SDK-22883) was closed yesterday. So, if you’re wondering what the fix is, Open up your HTTPService.as file and replace the dispatchRpcEvent method in the HTTPOperation with this:

?View Code ACTIONSCRIPT3
    override mx_internal function dispatchRpcEvent(event:AbstractEvent):void
    {
        if (hasEventListener(event.type))
        {
            event.mx_internal::callTokenResponders();
            if (!event.isDefaultPrevented())
                dispatchEvent(event);
        }
        else
        {
            if (httpService != null)
                httpService.mx_internal::dispatchRpcEvent(event);
            else
                event.mx_internal::callTokenResponders();
        }
    }

(or monkey patch it in). 3.5 is obviously coming, and you can see the targeted fix list here

Related Posts (generated):

No Comment.

Add Your Comment

 

Switch to our mobile site