LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 01-28-2004, 05:41 PM
csaw's Avatar
csaw csaw is offline
Registered User
 
Join Date: Apr 2002
Location: Texas
Posts: 122
Rep Power: 12
csaw is on a distinguished road
Time code

Ello Ello,

Ive created a navbar that I want a time clock to show up in and have inserted this code into it:

Actionscript:
var time = new Date ();
var hour = time.getHours();
var minutes = time.getMinutes();
var seconds = time.getSeconds();

this is the code that I used. and I have two problems. One the time doesnt update. It only shows what time you opened it. Such as the time may be "11:45 am" and the clock with show "11:45" but when you sit there on the page for a little while... lets say ten min (11:55 am) the clock still says 11:45, why is that ? and my second problem is if the time is "12:05" the clock says "12: 5". it wont show the zero at all.. So Im still learning all this ASL and cant figure out what to do ?
Please help!

Thanks All!
CSAW
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AS 3.0 creating a timer and displaying time taken tttt Flash CS3 / Flash 9 6 04-06-2009 08:44 PM
Display time code in swf player fulchiero Flash Video 2 03-24-2009 12:22 PM
multiple uploader, 1 at a time, like myspace base836ball General Flash 0 01-12-2009 03:47 AM
listener not working in my code test84 Actionscript 2.0 0 02-28-2008 05:34 PM
optimizing code orderofout Actionscript 2.0 3 10-25-2007 02:39 PM




All times are GMT. The time now is 05:39 PM.