hi, i need to store a movieclip in a variable to make it rotate, how can i do this. here is my code so far. i need to do it this way, so the movieclip clicked rotates perminantly and not just when clicked. THANKS
objects is a movieclip with 4 unNamed movieclips in it.
var i;
var tkStore:String;
objects.addEventListener(MouseEvent.MOUSE_DOWN,tk);
function tk(evt:MouseEvent) {
tkStore=evt.target.name;
evt.target.startDrag();
objects.addEventListener(Event.ENTER_FRAME,detail);
}
function detail(evt:Event) {
tkStore.rotation+=2;
trace(tkStore);
}