I’m making a flash game (a first person shooter game)
For the Flash I have a cross hair as the cursor so that it looks like a sniper scope. I’m trying to get a code so that when you click, the crosshair (cursor) changers color.
So far, my actionscript for the crosshair cursor is:
onClipEvent (load){
startDrag(this, true);
Mouse.hide();
}
onClipEvent(mouseDown){
this.gotoAndPlay(“shoot”);
}
Changing the cursor to a crosshair works, but when I click the cursor doesn’t change color (I have the cursor changing color on another frame in the cursor’s movieclip, and have a stop action on the first frame.) How can I fix it?