In javascript I would use :-
cortX=document.embeds[0].Engine;
w=cortX.Nodes.Item("MySwitch");
w.Fields.Item("whichChoice").Value=-1;
Use a Switch group node.
Thank you! I created a Switch/group node with a touch sensor and it switches perfectly between the real shape and an empty one. The point is: how can I route the event from the cortona SDK, instead of touching directly the shape? I have to control the hide/show event through an application, not directly through the scenegraph.
Thanks a lot!
Andrea
|
|