Nope... didn't work. This is weird because a call to newClip.doSomething()
works exactly as expected... 

Cheers,

Kevin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Byron
Canfield
Sent: February 24, 2006 11:01 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] setInterval inside created Clip

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


_______________________________________________
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

Reply via email to