[Papervision3D] Catching clicks ?

Carlos Ulloa c4rl054321 at gmail.com
Fri Jan 12 14:18:24 EST 2007


Hi Ralph,

You need to use MovieScene and refer to the container after the object has
been pushed into the scene. It's the scene that creates the container.

Then is the usual stuff. This is from the 2007 demo:

var container:Sprite = paper.container;
container.buttonMode = true;
container.addEventListener( MouseEvent.ROLL_OVER, doRollOver );
container.addEventListener( MouseEvent.ROLL_OUT, doRollOut );
container.addEventListener( MouseEvent.MOUSE_DOWN, doPress );


C4RL05
// noventaynueve.com
// papervision3d.org


On 12/01/07, Ralph Hauwert <r.hauwert at gmail.com> wrote:
>
> what's the standard for catching a click on a displayobject3d ?
> Setting listeners to it's containers seem to be a problem in the
> latest rev...
>
> Ralph / UnitZeroOne.
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070112/e570c056/attachment.htm


More information about the Papervision3D mailing list