[Papervision3D] Mouse Entering/Leaving the scene/viewport
Kayomarz
kayo.online at gmail.com
Mon Dec 15 05:51:53 PST 2008
I see. I guess adding to stage won't solve the problem.
Florian F. wrote:
> Gonna check later, but I don't think it will resolve my issue. I don't want
> to check if the mouse leaves the stage but only the 3D part of the swf.
>
> I will let you know, thanks :)
>
>
> Kayomarz wrote:
>
>> Hi
>>
>> You can try adding the event to the stage:
>> stage.addEventListener(MouseEvent.MOUSE_OVER, rollOver);
>>
>> - Kayo.
>>
>> Florian F. wrote:
>>
>>> Hello,
>>>
>>> Is there a way to detect when mouse leaves the scene or the viewport?
>>>
>>> Actually, I have a 3D Carrousel and I would like to stop its rotation
>>> when
>>> the mouse isn't over the "3D world".
>>>
>>> I've tried adding event listeners ( simple events & InteractiveScene3D
>>> events ) on both viewport & scene but it doesn't seem to work.
>>>
>>> Thanks
>>>
>>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>>
>
>
More information about the Papervision3D
mailing list