Thanks Fabio,
Here's probably a better demo of is use:
http://ryanflorence.com/scripts/mootools/InfiniteTicker/test/
On Oct 18, 2009, at 4:21 PM, Fábio M. Costa wrote:
oh nice, i always wanted to implement a mixin class but i just cant
find a generic case where it fits.
Nice one!
i see you got a lot of work in there Ryan.
Thanks for your contributions!
cya
--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interface
On Sun, Oct 18, 2009 at 6:38 PM, Ryan Florence
<[email protected]> wrote:
http://moodocs.ryanflorence.com/RpFlo/Loop
It seems several of my classes end up with some methods to start,
stop, and reset a loop that's firing a function on a timer: image
galleries, news tickers, twitter feeds, sprite animations, to name a
few.
Instead of writing out those methods every time, now I can just
implement Loop and I'm done.
You can use it just like Options or Events in any class.
Enjoy!