flash game help!
flash game help!
Out of context: Reply #3
- Started
- Last post
- 4 Responses
- Mick0
You don't have to do a function - its just more efficient that way because you won't have to put this code on each button (or you could call the action from another frame but that will confuse you).
Do this onRelease for each button instead...
if (score==5){
gotoAndPlay("win")
}make sure you put it AFTER where you add to the score.