≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
time counter
Posted by:
(you are not logged in)
Enter the missing letter in: "Inte?national"
(you are not logged in)
Text:
[quote][b]hadoken[/b] wrote: this one should do the job: [code]/* <behavior jsname="behavior_HadokenDeltaTimeAsCounterDemo"description="behavior_HadokenDeltaTimeAsCounterDemo"> </behavior> */ behavior_HadokenDeltaTimeAsCounterDemo = function() { this.counter = 0; this.init = 0; } behavior_HadokenDeltaTimeAsCounterDemo.prototype.onAnimate = function() { this.currentTime = new Date().getTime(); if(this.init == 0) { this.lastTime = this.currentTime; this.init = 1; } this.DeltaTime = (this.currentTime - this.lastTime) * 0.062; this.lastTime = this.currentTime; this.counter += Math.round(this.DeltaTime); print("this.counter = " + this.counter); } [/code][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact