Archive for the ‘Actionscript’ Category

mx.core.View.destroyChildAt() bugfix

Ok, this is an obscure post, but someone somewhere might be having problems with this method while extending mx.core.View and happen to google search for it. I came across this while creating and destroying objects with createChild() and destroyChildAt(). The depths seem to get messed up and you end up placing one object on top [...]

Posted by Ash on March 1st, 2005

Filed under Actionscript | 1 Comment »

Self-contained AS2 Runtime Debug Console

I've been looking for one of these for a while, but nothing I found seemed to fit exactly what I wanted (isn't that usually the case?). Apparently, as2lib is going to have a console soon. But being impatient I made my own, and I've provided it for download below.

Posted by Ash on December 21st, 2004

Filed under Actionscript | 2 Comments »

AS2 Scrolling Isometric Tile Engine

My latest long-term home project is constructing a multi-user isometric real time strategy game. I've decided to repackage and provide here my game view classes at a very early stage. Maybe you will find use for them as a starting point for your own isometric thing.

Posted by Ash on December 15th, 2004

Filed under Actionscript | 5 Comments »

LZW compression methods in AS2

[Update: Some readers have come up with decompress solutions for C# and PHP in the comments below. Thanks cakeWho and billy] In a recent project, one of the requirements was that a lot of text-based data be passed between client and server.. it would be handy if there was a way to compress this data [...]

Posted by Ash on August 22nd, 2004

Filed under Actionscript | 25 Comments »