Thread: Gassy!!!
View Single Post
Old 07-24-2007, 04:56 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Originally Posted by Angel_Light View Post
Here's a vid of what it does.
I can almost see the video! So close....

Anyhoo, the else if () isn't really's a boolean condition. You could have also done if (this.on) {} else {}. Also, do setTimer(0) in the else part and add setTimer(0.05); to save the timeout from running when it's not needed.

Last edited by Twinny; 07-24-2007 at 05:06 PM..
Reply With Quote