[Papervision3D] Equivalent of a "hit" box in Flash for triggering button animations?
Kevin Burke
pajhonka at yahoo.com
Tue Jan 6 21:33:38 PST 2009
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! :-)
--
View this message in context: http://www.nabble.com/Equivalent-of-a-%22hit%22-box-in-Flash-for-triggering-button-animations--tp21325219p21325219.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list