Miriam English wrote:
PROTO timer[
eventOut SFTime now
] {
DEF ticker TimeSensor {
#time eventOut SFTime
}
DEF hack Script {
eventIn SFTime relay
eventOut SFTime now IS now
url "javascript:
function relay(time) {
now=time;
}
"
}
PROTO ticker.time TO hack.relay
}
#VRML V2.0 utf8
PROTO timer[
eventIn SFTime startTime
eventOut SFTime now
]
{
TimeSensor {
startTime IS startTime
time IS now
}
}--
Regards, Brian Hay.
------------------------------------------------------------------------- for list subscription/unsubscription, go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html