[Papervision3D] Equivalent of a "hit" box in Flash for triggering button animations?

Anthony Pace anthony.pace at utoronto.ca
Wed Jan 7 07:38:28 PST 2009


Why not just make it so the mouse out event can only be fired after the 
initial animation has completed?

Kevin Burke wrote:
> Hi,
> I'm trying to animate a plane that will serve as a button for my site. When
> it's activated, it flips on the Y axis one time and scales up. The only
> problem is, when it flips, as it has no depth, it triggers the mouse out
> event when the plane leaves the mouse, which tells it to flip the other way
> in a mouse out. For a similar situation in 2D Flash, I'd create a 0%
> stationary box and use it as a "hit" (like one would with buttons) to
> trigger the animation.
>
> Is there an equivalent in Papervision? Like a clear box to put around the
> plane? I researched useOwnContainer, but I'm not sure how I'd add an event
> listener to it to achieve this. Thanks! :-)
>   




More information about the Papervision3D mailing list