i already checked proto51, but didnt find a as2 class handy. anyway: i'll do
one :)


Am 27.02.2006 16:32 Uhr schrieb "eric dolecki" unter <[EMAIL PROTECTED]>:

> www.layer51.com/proto
> 
> you could probably take a prototype and make a class out of it fairly
> quickly... and then you'd always have one at the ready. perhaps there is a
> class already you might wanna use.
> 
> On 2/27/06, lars <[EMAIL PROTECTED]> wrote:
>> 
>> 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
>>> _______________________________________________
>>> Flashcoders@chattyfig.figleaf.com
>>> 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
>> 
>> 
>> _______________________________________________
>> Flashcoders@chattyfig.figleaf.com
>> 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
>> 
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> 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


_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to