RE: [Flashcoders] If statements combined into one
// 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
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