Creating Digital Clock using Flash - Free Flash Clock Download
This below given article explains about simple steps for creating flash Clock.
Design your digital flash clock in few minutes, simple way of designing and integrating a good looking flash clock to your website.
Step1:Create Flash Movie with 200x165 pixels.
Create a New Symbol as show below with the Name "digitalclock".
Step2: Create three "Text tool" boxes as shown below from the toolbox and name it as "hrs","mins" and "secs".
Step3: To import the craeted movie clip from the Library, Click Window menu ->Library as shown below.
Step4: Now Drag and drop the Movie clip to the Flash page, as show below
Step5: Right Click the imported movie clip and click "Actions". Paste the below given code in the "Actions" tab.
onClipEvent (enterFrame) {
daynight = new Date();
hrs = daynight.getHours();
if(hrs<10)
{
hrs="0"+hrs;
}
mins = daynight.getMinutes();
if(mins<10)
{
mins="0"+mins;
}
secs = daynight.getSeconds();
if(secs<10)
{
secs="0"+secs;
}
}
Step6: Export the flash movie to view the Clock. Now
your Flash Clock in ready in Minutes.
To download your copy click here flash_digital_clock.zip
(Size:120 KB)

