Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
How to make the 2 digit display in the time ?
Author: Johan Jansen
Breaking the code into 3 different displays
You have the following code from my previous tutorial
mydate = new Date();
Now break it into three times instead of one :
time = mydate.getHours(); (
expression )>
time2 = mydate.getMinutes(); (
expression )
time3 = mydate.getSeconds(); (
expression )
You must also add two variable textfields time2 and time3,your fla file
should look like this :
» Level Advanced
Added: : 2001-02-01
Rating: 5.81 Votes: 34
Hits: 2230
» Author
I am 17 years old , live in Holland, near Rotterdam. Last your I passed my HAVO exams, now I doing VWO.
I like to create games and other amzing things with flash, I prefer Flash 4 as tool, I can't get used to flash 5, besides most people have / use the flash 4 plugin.
» Download
Download the files used in this tutorial.
Download (29 kb)
Get conversion and unzipping tools
for PC and Mac here!
» Forums
More help? Search our boards for quick answers!
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.