newClip.intervalid = setInterval(newClip.doSomething, 200);
-- Byron "Barn" Canfield > Hey All, > > I'm looping through a structure adding movieclips along the way for each > element. I need to setup a separate interval inside each new clip. If I > call > the function directly, I need this to be constantly updating without an > onEnterFrame. > > > > _root.work.createEmptyMovieClip( newName, vItemCount ); > // > var newClip = _root.work[newName]; > // > // this function redraws the line > newClip.doSomething = function(){ > // {.} > } > // I've tried all of the following > // newClip.intervalid = setInterval(this, doSomething, 200); > // newClip.intervalid = newClip.setInterval(doSomething, 200); > // newClip.intervalid = setInterval(newClip, doSomething, 200); > > Any insight or help is appreciated. > > > Cheers, > > !k _______________________________________________ Flashcoders@chattyfig.figleaf.com 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