Tag Archives: NaN

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