[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [x3d-public] RE: [www-vrml] Walking Kamala
Russ Kinter wrote:
Browser.getTime() is Contact proprietory call as I remember.
Contact doesn't have js Date Object. (again, as I remember)
ok.
I just checked our reference for X3D and it references the ECMA-262
spec. And it requires a Date object. So for X3D implementations we
have a solid route for this needed function.
Len, the other route you have is that each function of ecmascript has a
second parameter which is the event time.
function start(val, timestamp) {
startTime = timestamp;
endTime = timestamp + 2;
}
Will start something this frame
--
Alan Hudson
President Yumetech, Inc. www.yumetech.com
President Web3D Consortium www.web3d.org
206 340 8900
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html