How to resize an image with ActionScript (update)
If you need to resize an image on client side, I mean real bitmapData resize (not just showing scaled), feel free to use ImageResizer class. This class takes bitmapData of source image, new width and...
View ArticleGeometryMath 3 points in line test
GeometryMath.isLine() static function tests 3 Points and returns true if these points are in line. Optional 4th parameter defines if you require point2 to be in the middle between 1 and 3. Function is...
View ArticleAbstract Drawing
While some free time today, I have been playing on guiding script, than suddenly I got an idea, I can create some eye-catching thing with it and voilà, here is little thingy, can be used for...
View ArticleQuick tip: always use global position for hitTestPoint()
Just for the record and myself (I should read all the documentation, also the long sentences … Make sure you always check hitTestPoint() against global coordinates of some point. // we are somewhere...
View Article