Vectorials
Flash Perfection
3D Lessons
Tutorialkit
Markup Tutorials
Learn PHP
network
adv banner
Flash & Swish  Home Flash & Swish Flash Tutorials Creating Time in Flash
rss

Creating Time in Flash

Author: Sajid More by this author


1. Create a new movie with width=200 and height=75 .

2. Create a text field name it time.

3. Name the current layer textfield.

4. Create a new layer above the current layer and name it actions

5. Create two key frames in the actions layer

6. In the first key frame give action

image 1

today = new Date();
time = today.getHours() add ":" add today.getMinutes() add ":" add today.getSeconds();

7. In the second frame give action

gotoAndPlay (1);

8. press ctrl + enter to test the movie.



Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Creating Time in Flash"