Hi guys, I'm trying to have the same cursor effect on
http://www.airtightinteractive.com/projects/tiltviewer/app/ (in
papervision I couldn't), I tried:
var plane : Mesh = new Plane();
plane.material = new MovieMaterial(createContent(),
{interactive:true});
with
private function createContent() : Sprite
{
var mc : Sprite = new Sprite();
mc.name = "mc";
mc.graphics.beginFill(0xFF3300, 100);
mc.graphics.drawRect(0, 0, 200, 200);
mc.graphics.endFill();
var child : Sprite = new Sprite();
child.name = "child";
child.graphics.beginFill(0x0000FF, 100);
child.graphics.drawRect(50, 50, 50, 50);
child.graphics.endFill();
mc.addChild(child);
child.addEventListener(MouseEvent3D.MOUSE_DOWN, handleBTNClick)
child.addEventListener(MouseEvent3D.MOUSE_OVER, handleBTNOver);
child.addEventListener(MouseEvent3D.MOUSE_OUT, handleBTNOut);
child.mouseEnabled = true;
return mc;
}
But the hand cursor doesn't show up. What am I missing? Is there any
example around? I was expecting an example of this very cool feature
in the lessons :P
Thanks guys, chr