Category Archives: actionscript

JSFL – copy filters stack from Flash IDE into ActionScript 2 or 3 code

Hi, working with designers one will always get into a problem of replication IDE based filters via code, it’s not a pleasant task nor quick as well, but what about if we could actually make it quick and pleasant? Well, … Continue reading

Posted in actionscript, flash | Tagged , , , | Comments Off on JSFL – copy filters stack from Flash IDE into ActionScript 2 or 3 code

Quick AS3 tip: find out where a function was called from

Quick AS3 tip: find out where a function was called from.

Posted in actionscript, flash | Comments Off on Quick AS3 tip: find out where a function was called from

Rectangle class, equals method returns incorrect value

Hi, recently I’ve used Rectangle’s equals() method and found that it incorrectly returns false when both rectangles are the same. Problem occurs when any of the properties of the Rectangle are NaN (not a number).

Posted in actionscript, bugs, flash | Tagged , , , , | 1 Comment

[Resolved] TextField, StyleSheet and problems with bold, italic and underline tags.

Hi, I’ve found a problem with a TextField rendering HTML tags. The problem manifests itself with bold, italic and underline style being applied to whole text soon after respective closing tag is somehow malformed. Here is the scenario:

Posted in actionscript, bugs, flash | Tagged , , , , | Comments Off on [Resolved] TextField, StyleSheet and problems with bold, italic and underline tags.

ASDoc, ASDocr, documenting your code gotchas

Have you tried to generate documentation out of your code? I bet you did, and I bet that like me you have found many obstacles to succeed. Here I will describe how I finally made it, I hope you will … Continue reading

Posted in actionscript, flash | Tagged , , , , | Comments Off on ASDoc, ASDocr, documenting your code gotchas