-
Button Actions
Hi everyone,
Really stooopid question from dumb dumb me. So i have a button and when u click it, 1 point is subtracted from your score, and it takes you to frame 2. So i said this:
on(press){
gotoAndPlay(2)
_root.money-=1
}
This works okay, but it only plays frame 2 every other time you click it, but adds one to your score everytime you click it. What can i do ?
please be clear in your answer, as im pretty dumb.
-
Senior Member
Originally Posted by maxhammad
This works okay, but it only plays frame 2 every other time you click it, but adds one to your score everytime you click it. What can i do ?
please be clear in your answer, as im pretty dumb.
Can you please explain in detail.... do you mean to say that when ever a button is clicked everytime teh frame 2 is played and also point is incremented instead of a decrement....
If possible upload your FLA so that we can check!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|