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

Reply via email to