Creating the Time with Flash 5

Page 2 of 3
variable = mydate = new Date ();
value must be expression
Create Counter
- Insert a new layer with a variable textfield ( dynamic text ) and name it time
- Goto the first layer
- Goto frame properties and set a new variable and name it time
- And as value the code :
(mydate.getHours()+":"+myDate.getMinutes()+":"+myDate.getSeconds())
and it must be an expression like this :
Now I shall explain it :
mydate.getHours ()
getHours stands for getting the Hours and
mydate stands for : from which variable to take the Hours
(In this case the variable mydate )
The Minutes and Seconds work the same way.
