This lesson will show you how to display date on flash stage very quickly. To make this lesson, you have to use a little action script code. You can use this lesson for any web site, when you need to show the date.
Example:
Step 1
Create a new flash document.
Step 2
Select the Text Tool (T) and go to the Properties Panel (Ctrl+F3) bewlo the stage. On the left, you will see Text Type drop down menu. Select Static Text on it. See the picture below!

After that, type somewhere on the stage Time and Date

Step 3
Select again the Text Tool (A) and go again to the Properties Panel (Ctrl+F3) below the stage. Then, for text type choose Dynamic and draw two rectangle shapes on the stage like it is shown on the picture below!

Step 4
While the rectangles is still selected, hit F8 key (Convert to Symbol) to convert it into a Movie Clip Symbol. See the picture below!

Step 5
Double-click on the movie clip on stage with the Selection tool(V).You should now be inside the Movie Clip.

Step 6
Take the Selection Tool (V) and select just time rectangle. After that, go to the Properties Panel (Ctrl+F3) below the stage. Then, for var type time. See the picture below!

Step 7
Select now just date rectangle and go again to the Properties Panel (Ctrl+F3) below the stage. For var type date.

Step 8
Go back now on the main scene (Scene 1), select the Movie Clip (rectangles) and go to the AS panel (F9). Then, eneter this code inside the actions panel:
onClipEvent (load) {
days = new Array('Sunday','Monday','Tuesday','Wednesday','thursday','Friday',
'Saturday','Sunday');
months = new Array('January','February','march','April','May',
'June','July','August','September','October','November','December');
timedate = new Date();
}
onClipEvent (enterFrame) {
hour = timedate.getHours();
minutes = timedate.getMinutes();
seconds = timedate.getSeconds();
todaydate = timedate.getDate();
day = timedate.getDay();
dayname = days[day];
month = timedate.getMonth();
monthname = months[month];
year = timedate.getFullYear();
if (Length(minutes)==1) {
minutes = "0" + minutes;
}
if (Length(seconds)==1) {
seconds = "0" + seconds;
}
time = hour + ":" + minutes + ":" + seconds;
date = dayname + " " + todaydate + " " + monthname + " " + year;
delete timedate;
timedate = new Date();
}
Now, we're done!
Test your Movie and enjoy!
Download source file (.fla)