[Papervision3D] PV3D Newbie
dsdsdsdsd
shannonhburnett at hotmail.com
Wed Oct 15 12:34:55 PDT 2008
yes, you can capture these events using:
your_viewport .interactive = true ;
your_DisplayObject3D.material.interactive = true ;
your_DisplayObject3D.addEventListener( InteractiveScene3DEvent.OBJECT_OVER
, om_handle_mouse_over ) ;
your_DisplayObject3D.addEventListener( InteractiveScene3DEvent.OBJECT_OUT
, om_handle_mouse_out ) ;
your_DisplayObject3D.addEventListener( InteractiveScene3DEvent.OBJECT_PRESS
, om_handle_mouse_press ) ;
your_DisplayObject3D.addEventListener(
InteractiveScene3DEvent.OBJECT_RELEASE , om_handle_mouse_release ) ;
your_DisplayObject3D.addEventListener(
InteractiveScene3DEvent.OBJECT_RELEASE_OUTSIDE , om_handle_mouse_release ) ;
of course once you are capturing the mouse events you can do anything you
wish, including playing Sounds;
hope this gets you started,
Shannon
--
View this message in context: http://www.nabble.com/PV3D-Newbie-tp19966445p20000640.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list