InteractivePNG – useful AS3 class

Sobota, Január 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

1 Trackbacks/Pingbacks

  1. Spätné upozorenie: Free Adobe - Macromedia Flash Web Site Design Tips, Flash Tutorials » Blog Archive » Crop whitespace from PNG image on Február 1, 2009

1 Comments


  1. Linhdoha
    Visit Site
    Február 1st, 2009

    Cool, thanks.

Sorry, comments for this entry are closed at this time.

Images is enhanced with WordPress Lightbox JS by Zeo