eh, any chance to "reset" the timer? i guess not, so i have to
work with 2 vars and calculate the diff? in my example the
timer needs to start when the users starts the game...
Am 27.02.2006 15:59 Uhr schrieb "Mike Mountain" unter
<[EMAIL PROTECTED]>:
> Ooops addendum.....
>
> [as]
> this.onEnterFrame = function() {
> var tme = getTimer();
> var mins = Math.floor((tme/1000)/60);
> var secs = Math.ceil(tme/1000)-(mins*60)
> num_txt.text =mins+":"+secs
> };
> [/as]
>
> Will reset seconds when the minutes increments
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com