Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: JavaScript Time IE/Netscape |
| From: | Eric Stewart |
| Date: | Tue, 20 Jun 2000 15:34:03 +0100 |
navigation.setVariable may be your problem. If you are referring to the
setVariable object of navigator, I don't believe Netscape supports this
object. Hope this helps. That is the only thing that looks fishy.
Eric Stewart
-----Original Message-----
From: owner
Guerrier
Sent: Tuesday, June 20, 2000 9:45 AM
To: flasher
Subject: FLASH: JaveScript Time IE/Netcape
<!-- Begin
var timerID = null;
var timerRunning = false;
function stopclock
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}
function showtime ()
var movie =
window.document.navigation;
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue = "" + ((hours >12)
? hours -12 :hours)
if (timeValue == "0") timeValue =
12;
timeValue += ((minutes < 10) ?
":0" : ":") + minutes
timeValue += ((seconds < 10) ?
":0" : ":") + seconds
navigation.SetVariable("clock",
timeValue);
timerID =
setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock()
stopclock();
showtime();
}
// End -->
I'm using the above JavaScript to update a textfield
in
flash with the current. It work fine with IE but not
Netscape. Can anyone figure out why?
__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: FLASH: JavaScript Time IE/Netscape, Jon Williams
Replies
FLASH: JaveScript Time IE/Netcape, Daniel Guerrier
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

