ForumsProgramming ForumActionscript 2.0 help

2 3506
Ninjacube
offline
Ninjacube
585 posts
Nomad

I've been working with actionscript for about a week now.
My button works but I want actionscript to count how many times its been clicked so I can use that to have the number appear as a symbol on the screen for an amateur point&click game.

If you have any idea how to accomplish this or know someone who does post it here.

~thanks~

  • 2 Replies
MikeVarilek
offline
MikeVarilek
36 posts
Nomad

//on frame
var n:Number = 0;
//on button
on (release) {
n++;
}
and use the apply the "n" to a dynamic text box.

Ninjacube
offline
Ninjacube
585 posts
Nomad

thanks this'll help alot

Showing 1-2 of 2