Reducing the file size of Your FLA file

If your flash project includes sound, import the audio as a MP3 file instead of Wave files (convert your wave files to mp3 in your audio editing software). This not only helps to reduce the file size of your .fla file, also reduces the time taken to publish an swf...

Cloning objects

In ActionScript we cannot pass objects by value. It always passes objects by reference. If you need to create a perfect copy of an object you can make use of the following code. I have modified Flash Guru’s clone with support for Array Objects [UPDATE] included...

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...