Unable to *continue* with Auto Format!

Beware that auto formatting eats your actionscript some times !!! See the following code for (var i = 0; i<5; i++) { if (i == 2) { continue; } trace(i); //traces 0, 1, 3, 4 (skips 2) } If you apply Auto Format to the code it becomes for (var i = 0; i<5; i++) {...

Splitting String to Words Array

Now I’m in the process of creating Action Script (or any script) color highlighter in flash. Which can be used in forums to post the ActionScript As and when the user types a property or keyword it will highlight in the specified color. I’m planning to set...

Working with color HEX & RGB

If you need to convert color values between RGB and HEX you will find the following functions useful. Original post had only ActionScript 1 version and now I have updated it to add ActionScript 3 version as well 🙂 ActionScript 3.0 ActionScript 1.0 package com.luracast...