This content has been marked as final. Show 4 replies
var shipBmpData:BitmapData = new BitmapData(shipBox.width,shipBox.height,false,0);
var hitImageBmpData:BitmapData = new BitmapData(shipBoxHit.width,shipBoxHit.height,false,0);
if (hitImageBmpData.hitTest(new Point(shipBoxHit.x,shipBoxHit.y),255,shipBmpData,new Point(shipBox.x,shipBox.y),255))
Just posted the code.... what is not working here??? This only work's 50%... no detail pixel level detection... someone from adobe maybe can explain ..
Depending on where things are, you probably don't want to use the object's x,y as it is relative to the parent and not the bitmap itself
Hi Flex harUI
then what to use? didn't quite understood you. Can you elaborate?
why no-one has an answer... possible that not even adobe knows about this?