Date formatting prototypes for ActionScript 2

Posted on 3rd January 2008 in ActionScript | No Comments »

Here are 2 prototypes that you can use to convert a regular ISO-formatted date into a Flash Date object and then, if necessary, to a regular European date format. Both for ActionScript 2. Read the rest of this entry »

Importance of proper exception handling

Posted on 14th December 2007 in ActionScript | No Comments »

Too many developers cut on error handling by providing a very raw framework that is incapable of handling exceptions. It looks like it’s saving a day but in a long run it’s probably going to cost badly.
Read the rest of this entry »

String.tease method

Posted on 13th December 2007 in ActionScript | No Comments »

Ever thought of creating a teaser text of some longer string in Flash? For programmers still coding in ActionScript 2, here’s the piece of code to do it. Read the rest of this entry »

FileReference.postData property for file uploads

Posted on 6th December 2007 in ActionScript | 1 Comment »

On Flash file uploads, instead of populating your session ID in URL, you might use a specific property of the FileReference class. Read the rest of this entry »

String.replace() method for ActionScript2

Posted on 23rd November 2007 in ActionScript | 4 Comments »

Another snippet for free — String.replace() prototype for Flash that can be used to replace a pattern in a String. Read the rest of this entry »

Array.inArray() method in ActionScript2

Posted on 24th October 2007 in ActionScript | 2 Comments »

For those of you who are still developing in Flash ActionScript2, an Array method similar to the PHP’s in_array() might come in handy.
Read the rest of this entry »