Call a service method like so:
import mx.remoting.Service;
var service:Service = new Service(’http://localhost/gateway.php’, null, ‘MyService’); var evilArray = new Array(); evilArray[0xfffffff] = true; service.myMethod(evilArray);
Why does this crash the player and the IDE? Remoting serializes arrays without encoding indices; so if it encounters a very large index, it will fill the rest with an ‘undefined’ flag. So Flash is attempting to […]
FlashORB, a commercial Remoting implementation, has been overhauled and renamed WebOrb to cope with a new client: JavaScript. It appears that the gateway supports both AMF and an XML dialect which with the help of a JavaScript library can be used for Remoting-like functionality for AJAX. We’ve seen other AJAX-Remoting-like gateways but I believe this […]
Remoting authentication works with an AMF header called SetCredentials, containing an object with keys username and password. AMFPHP uses this information to call the _authenticate function, and set up the current user’s role. The problem is that for some reason, headers are persistent across a NetConnection when they are client initiated. This means […]
A project codenamed red5 has been started on osFlash to work on an open-source implementation of the RTMP protocol. The man behind this is none other then John Grden, who (co-)wrote the (first) book on FlashCom, in addition to everyone’s favorite debugging tool, X-Ray/AdminTool. At this point, a part of the RTMP protocol have been […]
The new custom easing function is quite a cool idea that I wanted for a long time, but I’m afraid that it has a couple of flaws that make it not so useful in day-to-day function. The first is the fact that you can only specify a tweening curve between 0 and 100% of the […]