Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Getting_Started

Categories How to make the 2 digit display in the time ?
Author: Johan Jansen

 
Page 2
«prev 1 2 3 4 next»

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 :

«prev 1 2 3 4 next»

» Level Advanced

Added: : 2001-02-01
Rating: 5.81 Votes: 34
Hits: 2232
» 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.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers