Today, i just realized that some analog watch use smallest hand just for stop watch guide. It is different than other watch, which use 3 kind of hands for pointing hour, minute and second.
Please check Bvlgari with Calibro 303 series. It has 3 small circles on it. The lower one is pointing second hand. So it will be little hard to create small Flash Lite screensaver with different purpose as usual.
So, we need to create small stop watch function as part of watch working. To help, we need to use function GetTimer().
time1=getTimer();
Also we need to put 3 buttons on the stage, start, stop and reset. In layer called action script, we add this code : stop() on frame 1, /:time2=getTimer();/out=/:time2-/:time1; (on second frame), and gotoAndPlay("count"); (on third frame).
On Start Button, add this code :
on(keyPress "1"){
/:time1=getTimer();
gotoAndPlay("count");
}
On Stop Button:
on(keyPress "2"){
gotoAndStop("full");
/:time2=getTimer();
/:duration = /:time2 - /:time1;
/:output = "Elapsed Time: " add /:duration;
}
On Reset Button:
on(keyPress "3"){
/:output="0";
gotoAndPlay("Stopped");
}
Thanks for Phillip Lam for great tutorial articles.
PPL IAIN Syekh Nurjati Cirebon
Jika ditanya apa yang kau suka dari kehadiran mereka? Mereka punya jawabannya : semangat yang tinggi dengan keingintahuan yang tipikal mahas...
-
Ever wondered why some flash lite application can use 2 way navigation, while other can use 4 way? This not because if specific script to pu...
-
Jika ditanya apa yang kau suka dari kehadiran mereka? Mereka punya jawabannya : semangat yang tinggi dengan keingintahuan yang tipikal mahas...
-
Ini adalah gambar permunculan ID-Card yang sedianya akan digunakan di lingkungan Pondok Pesantren Bayt al-Qur'an Pondok Cabe Tangerang. ...