InteractivePNG – useful AS3 class

Saturday, January 31st, 2009

I’m working on some game editors for my old game engine (not finished) to show people something what I have done and let people convince me maybe to continue (fallenswordsgame.com). There are lot of PNG assets used. If there are many PNG images on stage, there is problem with selection of correct one, because in AS3 there are MouseEvent events even on transparent pixels and that’s problem. I have tried search if someone did great job on some workaround and I have found really great AS3 class called InteractivePNG. You can set even alphaTolerance to tell class if your MouseEvent event should be catched on semitransparent pixels or just opaque pixels. Check it out InteractivePNG demo. It really helps me, so I hope it can help you as well. Great job, Moses.

tagged under:

ABOUT THIS AUTHOR

Get a Trackback link

1 Trackbacks/Pingbacks

  1. Pingback: Free Adobe - Macromedia Flash Web Site Design Tips, Flash Tutorials » Blog Archive » Crop whitespace from PNG image on February 1, 2009

1 Comments


  1. Linhdoha
    Visit Site
    February 1st, 2009

    Cool, thanks.

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

CommentLuv Enabled

Images is enhanced with WordPress Lightbox JS by Zeo