
Welcome Guest
|
#1
|
||||
|
||||
|
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 |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |





