Category Archives: flash

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

SQLite – compare null values

Hi, this is a quick post describing issue I have found when using SQLite in flash. I’ve tried to fetch some rows using following snippet, but couldn’t get correct results. Then after digging on the net I have found that … Continue reading

Posted in actionscript, air for android, flash, SQLite3 (in AIR) | Tagged , , , , , , , , , , | 4 Comments