Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var tykacz:Timer = new Timer(1000); // parametry co 1000ms tykniecie
- tykacz.addEventListener(TimerEvent.TIMER, obluga_tykniecia);
- tykacz.start();
- function obluga_tykniecia(e:TimerEvent):void
- {
- poleTekstowe1.text = String(tykacz.currentCount); //pole gdzie wyswietla sie zegar
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement