[Papervision3D] Equivalent of a "hit" box in Flash for triggering button animations?
Kevin Burke
pajhonka at yahoo.com
Wed Jan 7 07:50:32 PST 2009
You know, I tried that. It works...sort of, but when you switch quickly
between buttons, the listeners don't always get reassigned quick enough and
the results are inconsistent.
Anthony Pace-2 wrote:
>
> 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! :-)
>>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
--
View this message in context: http://www.nabble.com/Equivalent-of-a-%22hit%22-box-in-Flash-for-triggering-button-animations--tp21325219p21333996.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list