Stan Vassilev wrote:
So... Why is hitTestPoint not respecting child visibility? Does anyone know a
solution to this issue?
Because it is by design. Don't like it? Use getObjectsUnderPoint and
figure out the exact object that you want.
___
Flashcode
Hi,
Try this (CS4, frame 1 script, with minor mod will work in Flex):
import flash.display.Sprite;
var host:Sprite;
var child:Sprite;
addChild(host = new Sprite());
host.addChild(child = new Sprite());
child.graphics.beginFill(0xFF);
child.graphics.drawRect(0, 0, 100, 100);
trace(host.hitT
2 matches
Mail list logo