well blue, i have found out how to make it work.
on the one being duplicated i added this code:
Code:
_root.instFunction(this);
and on the root timeline i added
Code:
function instFunction (obj){
_root.instname=obj._name;
trace (instname);
}
aparently my book
The Complete Reference: Macromedia Flash MX was wrong. In it was that quote i posted a few posts ago about _name property being worthless. I have since then written them a letter and figured out my problem. But i do have a question i can ask of you. Right now i have a delete button and on it is the code
Code:
on (release)
{
removeMovieClip(_root.instname);
}
Now for some reason this does not work. instname gets the value once a copied button is clicked. How should i fix this?