I cant get this bitmapData hit test working.
I have a btmapdata and i want to test a point (10,10) to see if it lies inside the bitmapdata. Not the rectangle the image is in but if a point lies inside a pixel area (not alpha area).
Now I confused as I thought the paramater is a bitmapdata, 255,Point type, a point,255
Access of possibly undefined property x through a reference with static type flash.display:BitmapData.
if(bmpdata.hitTest(new Point(bmpdata.x, bmpdata.y),
255,
myRect,
new Point(myRect.x, myRect.y),
255 ))
{