View Full Version : transparent PNG hitTest problems
I have the shapeFlag set to true, but it seems to just test the bounding box, it returns true even on transparent pixels.
It works fine on vector images but not on a png, is it possible to test transprarent images with AS2?
02-12-2009, 09:16 AM
Perhaps you can put a hidden button behind it, and then hittest the button?
Thanks for the suggestion, that should work nicely.
So does that mean Flash is unable to hitTest bitmaps alltogether?
02-12-2009, 11:04 AM
I have never tried with transparent images before, but I imagine that it might not see it as part of the outline. Otherwise it should work with graphics fine far as I can tell/have noticed.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.