Home Website Templates Website Hosting Free Templates Free Flash Templates Free WordPress Themes Tutorials Blog Contact Us
Types
HTML5 Website Templates (new)
Easy Flash Templates
Website Templates
Mobile Responsive Templates (new)
Flash Templates
Flash Animated
Flash Intro
eCommerce Templates
PhotoVideoAdmin Templates
GalleryAdmin Flash Templates
VideoAdmin Flash Templates
Joomla Templates (new)
PowerPoint Templates (new)
OpenCart Templates (new)
Categories

Animal & pets
Art & Artworks
Books & Literature
Business & Finance
Cars & Vehicles
Children
Communications
Computers
Dating
Education
Electronics
Entertainment
Fashion & Beauty
Flip books & Notebooks
Flowers
Food & Drink
Futuristic
Gambling
General
Healthcare
Hobby
Industry & Constructions
Interior & Furniture
Jewelry
Marina & Water
Media
Music
Night Clubs
Personal Page
Photography
Real Estate
Religious
Science & High Tech
Shopping
Society
Spiritual
Sports
Travel
Web Design
Web Hosting
Marriage/Wedding
Do You Like Our Website? Share With Others!

Share |

Put Flash Clock on Your Website

This tutorial is for people who want to know the basic techniques of layers manipulation and animation creating.

a. Launch Flash MX 2004

b. Create new Flash file. Click File > New...
Screenshot

c. Select Flash Document in a new window
Screenshot

d. Select "Text Tool"
Screenshot

e. On the Work Space create text form. Select "Dynamic Text" as you may see on the picture.
Screenshot

f. Type "timer" in the "Var" field
Screenshot

g. Now select the frame with a text field and add action script in the "Action Script" panel

// creating new varables
var timer = new Date();
var hours = timer.getHours();
var minutes = timer.getMinutes();
var sec = timer.getSeconds();
// creating procedure to loop the time refreshing
function onEnterFrame()
{
timer = new Date();
hours = timer.getHours();
minutes = timer.getMinutes();
sec = timer.getSeconds();
// printing out the result
timer = hours + ":" + minutes + ":" + sec;
}
Screenshot

h. Press "Ctrl+Enter" and enjoy the show :)

Click here to download source fla file.

About the Author: Oleg Lazarenko
Production manager of Metamorphosis Design
Flash Templates,Custom design, Website Templates,
Web design Articles and Tutorials.

You may reprint this tutorial for free as long as the content, About the Author sections and all links remain unchanged.

Featured Flash Templates

Shop Secure With PayPal. We accept all Major Credit Cards.
Our Partners
Free Flash Templates Free CSS Templates Free Web Templates Your Link Here... Website Design Blog
Link To Us  |  Terms Of Use  |  Privacy Policy  |  Site Map  |  Template Tour  |  Call Back Request  |  What's Cool?  |  Software Development  |  Portfolio
Home Website Templates Website Hosting Free Templates Free Flash Templates Free WordPress Themes Tutorials Blog Contact Us
Copyright © by Metamorphosis Website Design 2003-2013. All rights reserved