February 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 February 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Tags
- actionscript
- actionscript3
- adl
- air
- air for android
- android
- bugs
- Chodakiewicz Marek Jan
- css
- equals
- flash
- flashdevelop
- German death camp
- Germans
- Germany
- htmlText
- Illustrator-artboards
- Illustrator-cs5.1
- Illustrator-scripting
- Invasion of Poland
- javascript
- Kisielewski Tadeusz A.
- magento
- magento api
- magento basic api
- Pilecki
- reactjs
- rectangle
- Rodziewiczówna Maria
- Skype
- snippets
- SQLConection
- SQLError
- SQLite
- SQLStatement parameters
- styleNames
- StyleSheet
- TypeScript
- Varien_Object
- webservices
- Witold Pilecki
- wordpress
- WWII
- Wyrwich Mateusz
- XML-RPC
Blogroll
Categories
- Accessibility (1)
- android (6)
- Bookshelf (69)
- bugs (9)
- flash (33)
- actionscript (22)
- air for android (7)
- SQLite3 (in AIR) (6)
- history (12)
- HTML (13)
- CSS (3)
- JavaScript (10)
- Illustrator-Scripting (3)
- JAVA (2)
- magento (12)
- npm modules (1)
- php (5)
- ReactJS (7)
- TypeScript (5)
- Uncategorized (14)
- xml-rpc (9)
Tag Archives: rectangle
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 actionscript3, equals, NaN, rectangle, snippets
1 Comment
Rectangle with “sorted” edges
In some situation you would like to reassure that given Rectangle object have “top-down, left-right” order you can do it using following two snippets this creates “normalized” copy of the given rectangle this modifies given rectangle directly
Posted in actionscript, flash
Tagged actionscript3, rectangle, snippets
Comments Off on Rectangle with “sorted” edges