if (member("source").state = 4) then
member("target").cloneModelFromCastMember("newName","oldName", member("source"))
end if
The above code will clone the model named "oldName" that's
found in the cast member "source" and put that clone (and all
its resources, shaders, textures, etc.) into the cast member
"target".
I also should have mentioned that the new model that's cloned into the member "target"
gets assigned the name "newName"...
Cheers,
Tom
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]