Quantcast
Channel: Jozef Chúťka's blog » Point
Browsing all 4 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

GeometryMath 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 Article


Image may be NSFW.
Clik here to view.

Abstract 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 Article

Image may be NSFW.
Clik here to view.

Quick 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
Browsing all 4 articles
Browse latest View live