Tutorial - Creating Custom Components (Visual Controls) in pure AS3 - Part 1

Hi Everyone,
Looking back at the last 4-5 years I spent developing Flash widgets & applications (again, I do NOT participate in marketing efforts.. so no micro-sites or bogus games for me) I realize that one of the core abilities of a good Flash application developer is his ability to develop components from scratch. The better [...]

TIP - Converting a textual HEX color value to int

Hi Everyone,
just a short tip today on how to convert values like this : #00FF00 from a config file, letsay, to something you can use inside of your AS3 code.
Here it is
PLAIN TEXT
Actionscript:

function digestHexColor(color:String):Number

{

    var col:Number = parseInt(color.substr(1), 16);

    if (isNaN(col))

        col = 0xffffff;

            [...]

Tutorial - Implementing your own CallLater function is AS3 (Flash or Flex)

Hi Everyone,
Although I am not a big fan of the CallLater function in Flex's UIComponent, I must admit that it is sometimes handy. Here is how you can implement your own CallLater function, this code can be incorporated inside of any class, enabling you to add functions that are called after the current thread of [...]

Tutorial - addEventListener code completion in Flash Develop

Hi Everyone,
in one of the recent releases of FlashDevelop they added a wonderful feature which lets you see what events are dispatched by the objects you are using. This is done through some meta tags inside of the class declaration and the result is very valuable. It looks like this: