Hi, and sorry for being stupid.
I am trying to get some actions on a duplicated MovieClip
Now what I got is something like this:
Actionscript Code:// I have some loop wrapped around this so the 'i' changes.
duplicateMovieClip("target", "new"+i, 100+i);
// I use 'i' because i need a few of those...
for(i=0;i<somenumber;i++){
_root["new"+i].onEnterFrame = function(){
//actions
}
}
And it won't work. Logically it just makes MCs "new1" "new2" "new3" and so on.And then it checks for those.
If i put a MC named "new3" on stage, it works. I guess i'm just stupid and doing the duplication wrong or something.
Any help? Thanks.