XML pretty printing and color highlighting .

We used to build many Flash Applications which exports data as XML. How about pretty printing it with colors? Before writing my own code I searched to find any existing code and found this code written by Evgeniy Potapenko in prototype. It does the basic pretty...

Converting Date Strings back to Date.

We all know that trace(new Date()) traces the date as a string that looks like “Mon Jul 12 13:20:09 GMT+0800 2004” How to convert this String back to Date? There is no built in method, so I’ve written this function to do that. Usage: #include...

Pixel Perfect Drawing Tools for Flash MX04.

So far, whenever in need of pixel accurate graphics in flash, I follow the following steps 1. Enable the snap to pixel option (if not enabled already) 2. Zoom in to see the pixel grid 3. Select Rectangle Tool 4. Select ‘No Color’ for Stroke 5. Draw Pixel...

I’m back with a Good News.

Wondering why this blog is in-active for months? I went to India and became a father last month. My son named ‘Tamizh Iniyan’ was born on 7th April, I was there the whole month really enjoying my stay with him. I came back to Singapore alone on 10th of...

Actionscript Syntax Highlighting with SE|PY Editor v.0.9.

Many of you might already be using SE|PY a very special open source actionscript editor available for free. We have to really thank Alessandro Crugnola & Team for all their efforts for giving us such a wonderful tool. Long back I’ve downloaded a early...

TextField.onScroller().

It is an Event handler; invoked when one of the text field scroll properties changes. When the scroll properties can change? Either when the text of the text field changes or when the size of the text field is altered. It fires the onScroller event and updates the...

ActionScript Highlighter Version 2 Released!

Hi Everyone! I’m happy to announce the launch of Actionscipt highligther v2. I’ve fixed many of bugs in the previous version (hope I fixed all). Now this new version fully supports Actionscript 2.0 and uses CSS styles to color the keywords so you can...

Solution for skipping files from getting cached by Server and Browser

Cache is a place to store something more or less temporarily. Web pages we’ve visited are stored in our browser’s cache directory on our hard disk. Likewise, ISPs and Web Servers cache web pages which speeds up access times for users, as the page is being...

Compiled components and Actionscript Viewer version 4

With Flash MX 2004 we can create and use Compiled components so source need not be distributed. It is good for many component developers because they need not worry about exposing their code. But when you produce your swf with the component, everything is byte code...