Her

Home Flash & Swish Flash Tutorials Creating Time in Flash

Creating Time in Flash

Author: Sajid Author's URL: www.vecpix.com 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

Creating Time in Flash

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.