Posted this to the wrong thread earlier, but this may be of use
http://out.chewtinfoil.com/Timer.as
and as eric suggested..
http://out.chewtinfoil.com/IntervalManager.as

Cheers,
Ryan

On 2/27/06, lars <[EMAIL PROTECTED]> wrote:
>
> yeah, gotta "switch back" from settimeout to setinterval now (because of
> the need to export for flash 7). btw: is there an better way to update the
> interval without having to clear it first?
>
>
> Am 27.02.2006 17:38 Uhr schrieb "eric dolecki" unter <[EMAIL PROTECTED]>:
>
> > flash 8 only - but you could create a setInterval manager... to ensure
> you
> > aren't creating the same one again (which is disasterous), and cleans
> them
> > up neatly, etc.
> >
> > On 2/27/06, lars <[EMAIL PROTECTED]> wrote:
> >>
> >> but flash8 only, isnt it? i just could use it, but for a flash 7
> project
> >> :)
> >>
> >>
> >> Am 27.02.2006 17:21 Uhr schrieb "eric dolecki" unter <
> [EMAIL PROTECTED]>:
> >>
> >>> Its like the javascript setTimeout... fire once & forget about it -
> >> cleans
> >>> itself up (instead of creating a setInterval and then cleaning it up,
> >>> checking to make sure it didn't exist before creating, etc.)
> >>>
> >>> It is undocumented but its in there.
> >>>
> >>> - e.dolecki
> >>>
> >>> On 2/27/06, lars <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>> i just ported a little javascript game to flash and forgot to
> >>>> "translate" on line: settimeout(moveenemies, speed)... i first
> >>>> noticed when exporting it to flash7 because the enemies didnt
> >>>> move, but the do when exported to flash8! what's going on?
> >>>> settimeout works in flash8? is this some externalinterface
> >>>> thingy or what? thanks: lars
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> [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
> >>
> >>
> >> _______________________________________________
> >> [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
>
>
> _______________________________________________
> [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

Reply via email to