Hello Guys!
I have a very annoying problem. I want to get the index value of
object3d (Cube), when i roll over that. But i can't do it!
The object's are inside of a conteiner3D.

That's my code:

public static function start():void {
                        //CUBOS
                        Create3D.cube1.addOnMouseOver(indexValue);
                        Create3D.cube2.addOnMouseOver(indexValue);
                        Create3D.cube3.addOnMouseOver(indexValue);
                }

                public static function indexValue(evento:MouseEvent3D):void {
                        var objectIndex:Object3D = evento.object;
                        trace(Create3D.getChildIndex(object));
                }

...

Please help me!

Thx a lot guys!


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to