the problem:
I want to write a function generateClip(variableName) in order to generate moviclieps on the scene and i need the movies to have their instancenames called after “variableName” parameter
this is what I did
function generateClip(variableName){
_root.createEmptyMovieClip(variableName,10);
}
_root.generateClip(myclip1);
i’m debuging and the result is that I don’t have the movie clip “myclip1” on the root, but only:
Movie Clip: Frame=0 Target="_level0.undefined"
what have i done wrong?