do you think it would be work if I placed invisible planes where I want the click listeners to happen? like the old invisible button technique, I know its archaic ;)
I shall post an example of what I mean shortly, it might clarify what I am trying to do.. tia morph On Oct 6, 2:05 am, Li <[email protected]> wrote: > Hey morphean, > > First of all, I believe that when you embed external symbols in such a way > the code is stripped from the timeline. You have to load the objects in > quite a special way to avoid this, which isn't too simple. Check out > "Shake'nBake" in Grant Skinner's site if you have to go this way regardless > of the complication. > > Second, having your code in the sprite of a material may be a bit too > awkward. You could do it, but I wouldn't recommend it. > > Third, you are making a few mistakes in your use of MovieMaterial. > plane.material expects to receive an instance of an IMaterial, for example > MovieMaterial. Check out the Away documentation to see how you're supposed > to use these materials, review some of the examples, etc. > > Maybe you could do a class MyClass that extends ObjectContainer3D with the > moveMe method and a listener (addOnMouseDown or something), and place > geometries inside of it. Then every object of this type will trigger the > moveMe method each time they're clicked. > > hth
