News - Happenings at iGeeks

April 4th, 2004

SetInterval Tutorial

Senocular have a nice SetInterval Tutorial at Kirupa.com.
“In attempt to avoid all of that onEnterFrame/play head complexity, we can think of an interval, conceptually, as steady drum beat from within a song. Commonly drum beats are simple repetitions of someone hitting a drum over and over again to maintain a constant beat or rhythm to go along with a song. Given a song with such a beat on a CD, if you were to insert the CD into your CD player and hit play, you would start hearing the song and the drum beat. Pressing stop would then stop the song and you would no longer hear that beat. Basically what setInterval is, is the CD player for playing a drum beat within a flash “song” (or movie), only you get to tell setInterval how fast you want your drums to beat. Of course, in Flash, you wont be beating drums, but rather executing code.”

Brajeshwar

Comments

There are no comments for this post so far.

Post a comment

Policy on Comments : First-time comments are automatically put under moderation (and will not be displayed) until they are approved. However, your comments in future will show up immediately.

Join iGeeks

Sign up with your email to be an iGeek

Managed by Yahoo Groups

If you wish to advertize on iGeeks, please contact the manager for the same.

Contribute

iGeeks would love to publish your technical articles; contact the manager if you wish to write for iGeeks.

Contact

brajeshwar [at] brajeshwar.com