Claus Wahlers wrote:

http://www.dopelogik.com/flash/snakes_in_a_class/


this._snakes.push( snake ); // BUG!
Cheers,
Claus.


Yeah, I don't know that I'd push a snake either.  slice a snake perhaps. :-P

He probably meant to assign the snake var inside of the switch statement instead of push both inside the switch and again after it. I'd probably also move the quotes assignment to the constructor so it isn't reassigned with every reciteCheesyLine() call.

Either way, compile or no compile, it was very funny. Thanks for the laugh dopelogik!

JOR
www.jamesor.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