Hey guys, I’m kinda new to the whole ActionScript business, but I was trying to make a shooter from a bird’s view perspective…
So far I’ve got my character which is a simple circle, and a rectangle protruding from him (the gun), and it rotates depending on where the mouse is located.
I’ve also got a custom cursor set in, to add some kind of excitement…
Here’s the dumb question… How do I get it so that whenever I click (shoot) the cursor movieclip will play a certain frame inside of itself? I want it to do something like:
on(release){
gotoAndPlay(2);
}
It just says that I can’t have mouse functions unless it’s a button.
I was thinking of just making a huge button that covers the whole stage, set the alpha to 0, and when that button is clicked, it will play what I want it to play.
Any suggestions would be greatly appreciated.