Hi out there,
First time I am using this mailing list.
I have a little problem regarding the useHandCursor property for
ObjectContainer3D
when it comes to import a external object.
I've imported a .3ds file using the static Max3D.load() and assigned
the loaders handle to a ObjectContainer3D as usual.
When I set the enableMouse and the useHandCursor property of the
ObjectContainer3D
both to true and add some event listeners, for example addOnMouseOver
or addOnMouseOut
everything works fine but the cursor does not change to a hand.
When I place a Sphere in the same scene and add same listeners and set
same properties to
true the cursor thing works great.
Here is a code snippet:
//before: loading the 3ds file using the Max3D.load() method
//on successful loading
object : ObjectContainer3D = loader.handle as ObjectContainer3D;
object.mouseEnabled = true;
object.useHandCursor = true;
object.addOnMouseOver( onMouseOver );
object.addOnMouseOut( onMouseOut );
//after: place it in the scene etc.
Hopefully I didn't make any slips.
Thank you,
Roland