Follow these steps to make the time and date by using Flash animation.
Step 1
Make a document with the size dimensions 200 px X 50 px
Step 2
Create a layer with the names and sequence as shown below:
Step 3
Starting from bg layer, make a background with the Fill Tool
Start form bg layer, create background with Fill Tool, and a transparent line color
Step 4
Set position to align the panel object
Step 5
In the Color Panel, select the type of color gradations Linear / Linear type
Step 6
At the time layer, create a text to show the clock will be displayed. Change the Dynamic text, the instance name content with clock_txt
For the same layer as the above date in the box fill with variable myDate
Step 7
For the other layer, ie layer-time action, action date layer, all action, fill in the following script code:
Action time:
time = new Date (); / / time object
var seconds = time.getSeconds ()
var minutes = time.getMinutes ()
var hours = time.getHours ()
if (hours <12) ampm = "PM" ampm = "PM"> 12) (
hours = hours - 12;
)
if (hours <10) hours = "0" minutes = "0" seconds = "0" text =" hours" mydate =" new" weekday =" new" month =" new" mydate =" (weekday">
Make a clock and date Digital Flash
Labels: clock and date
Langganan:
Posting Komentar (Atom)
0 comments:
Posting Komentar