RE: [Flashcoders] If statements combined into one

2007-04-04 Thread Jesse Graupmann
// RUN function runOnce ( id ) { trace( arguments ); } // CHECK function runCheck ( id ) { if ( doneOnce [ '_' + id ] == undefined ) { doneOnce [ '_' + id ] = true; doneOnce.func.apply (null, arguments); } } //

Re: [Flashcoders] If statements combined into one

2007-04-04 Thread Helmut Granda
Thanks Jesse, this seems to be what I'm after. I will go ahead and play with it and provide my findings... On 4/4/07, Jesse Graupmann <[EMAIL PROTECTED]> wrote: // RUN function runOnce ( id ) { trace( arguments ); } // CHECK function runCheck ( id ) { if ( doneOn