Featured FLA
» Author: Augusto Flores
» Title: Dancing MicBugs
» Description: This bugs move according to the microphone sound level, loud sounds add more action to the movie, hope you like it, lot of work with the duplicate movie
» More by Augusto Flores
Featured Site
» Posted in the Flash Kit Links section
» Title:"Royalty free flash footage" yaoti.com
» Description: The FLV file
offers great flexibility. You decide for which version of the Flash-Player you want to create works - as a film for Flash-Player 8 or as separate 'photo sequences' for Flash 5. Royalty free Footage ranging from whole persons up to parts of the body.
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...
c. Select Flash Document in a new window
d. Select "Text Tool"
e. On the Work Space create text form. Select "Dynamic Text" as you may see on the picture.
f. Type "timer" in the "Var" field
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;
}