How to create a Counter in Adobe Flash CS6: AS2

Опубликовано: 30 Март 2026
на канале: Cr8tiveSWEET
8,537
27

Hi everyone, welcome to yet another cr8tivesweet online TUT. In this video, ill be talking to you guys about creating a simple counter that increases by +1 every time you hit the press me button. Please like my videos and subscribe to my channel more tutorials will come near future.

First frame code///
var counter: Number= new Number();
counter=0;

Press me Button///
on (press) {
counter++;
}

Reset button///
on (press) {
counter=0;
}