[font=Arial]Hi all.
Have been helped out and given some code to do something beyond my knowledge as I’m still very much a novice, the code is great but doesn’t do exactly what I want…
I would like to use duplicatemovie (command) to make a copy of a moviesymbol when the viewer clicks on the symbol, - that’s easy, the complication is that I want the properties for the orignial and the clone to be different.
ORIGINAL: Duplicate onto stage / Draggable if necessary
CLONE: Draggable / NOT duplicatable / Deletable when viewer clicks on symbol and hits DEL key.
I have been given (very kindly) the following code:
on (press) {
_global.i++;
if(this._name.indexOf(“cir”)!=0){
this.duplicateMovieClip(“cir”+_global.i, _global.i);
}else{
if(Key.isDown(Key.DELETE)){
this.removeMovieClip();
}
}
startDrag(this);
}
on (release, releaseOutside) {
stopDrag();
}
This seems to be on the right lines, except it is the original that loses the ability to duplicate instead of the clone (which still duplicates when clicked), + the DEL option does not appear to work
I have been entering the code onto the actual object and not the frame which I believe is correct, should certain symbol be Instance-Named anything in particular?
I really need to get this wrapped up and greatly appreciate all the help I’ve had so far from everybody, can any spot what would need changing in the code to achieve my goal?
Thanks so much, any help would be severely worshipped.
N[/font]