Category

Archive for the 'Actionscript' Category

Amfphp 1.9 beta 2 - ridiculously faster

( Remoting and Actionscript and PHP )

Amfphp 1.9 beta 2 is now available for download. This is a HUGE release, making amfphp the fastest Remoting implementation ever (I kid you not).

Remoting at the speed of C

As I’ve mentioned earlier, there are many potential bottlenecks in a Remoting implementation which can affect speed. AMF encoding and decoding at the PHP level is […]

Why you shouldn’t use class mapping and VOs in amfphp

( Remoting and Actionscript and PHP )

I am not one to start a fight over the use of this or that pattern, but since Flex 2 has arrived, a lot of people have started using VOs, TOs and DTOs (which are more or less the same, as I understand it) in amfphp, a trend I have some issues with.

What other people […]

Clearing the FUD on amfphp’s speed versus JSON and XML

( Remoting and Actionscript and PHP and Flash )

I just read Mike Potter’s blog post on his speed comparisons between amfphp, JSON and REST-style vanilla XML, and I’d like to clear some FUD, as I believe it is unfair both to amfphp and JSON (was on vacation at the time it was published). I am sure that Mike had no bad intentions when […]

AS3 PNG encoder: faster, better

I’ve modified Tinic Uro’s PNGEnc class to make it a bit faster and get lower file sizes.

The first modification is to the non-transparent encoding algorithm which I have modified to use getPixels instead of getPixel. The reason Tinic was using getPixel is that getPixels returns pixels in the ARGB format and PNGs use RGBA, […]

AS2 to AS3 converter: createTextField, getURL handling

( Actionscript and PHP )

Just came back from a week’s vacation in fabulous Quebec City, and glad to share this second draft of the AS2 to AS3 converter. Try it here, download it here.

Since the first version of the converter was quite well-received, I figured I’d revamp the actionscript parser portion of the class to get it beyond a […]