[Flashcoders] setInterval inside created Clip

2006-02-24 Thread Kevin Aebig
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


Re: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread Byron Canfield
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


Re: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread Nick Gerig

maybe:

newClip.intervalid = setInterval(newClip,doSomething, 200);



Kevin Aebig wrote:


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);


 






___
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


RE: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread Ettwein, Josh
How about... Note I added some dummy values to vars to get it to work in
my environment. The last param is optional, but I figured I'd throw that
in there in case you weren't aware of that one.

var rootRef =_root;
var vItemCount =1;
var newName =test;

rootRef.work.createEmptyMovieClip(newName, vItemCount);
var newClip = rootRef.work[newName];

newClip.doSomething = function(arg){
trace(I just did something... yay! +arg);
}

var intID =setInterval( newClip, doSomething, 1000, say this ); 

HTH,

Josh

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Aebig
Sent: Friday, February 24, 2006 9:27 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] setInterval inside created Clip

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
___
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


RE: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread Kevin Aebig
Nope... still won't go. 

I actually decided to do a little test and when I set the function to be
onEnterFrame instead of doSomething, it performs well. The only problem is
that I'm unsure how many clips could be running at the same time and I don't
want a performance hit...

!K

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Gerig
Sent: February 24, 2006 12:10 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] setInterval inside created Clip

maybe:

newClip.intervalid = setInterval(newClip,doSomething, 200);



Kevin Aebig wrote:

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);


  





___
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


Re: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread eric dolecki
var vItemCount:Number = 2;
var newName = test;

this.createEmptyMovieClip(work, 1);
work.createEmptyMovieClip(newName, vItemCount);

var newClip = work[newName];

newClip.doSomething = function(arg){
   trace(I just did something... yay! +arg);
}

var intID =setInterval( newClip, doSomething, 1000, say this );



On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 I gave it a try and it didn't fire. I even added a trace statement to make
 sure that the function wasn't firing and not functioning properly.

 !k

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ettwein,
 Josh
 Sent: February 24, 2006 12:29 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] setInterval inside created Clip

 How about... Note I added some dummy values to vars to get it to work in
 my environment. The last param is optional, but I figured I'd throw that
 in there in case you weren't aware of that one.

 var rootRef =_root;
 var vItemCount =1;
 var newName =test;

 rootRef.work.createEmptyMovieClip(newName, vItemCount);
 var newClip = rootRef.work[newName];

 newClip.doSomething = function(arg){
 trace(I just did something... yay! +arg);
 }

 var intID =setInterval( newClip, doSomething, 1000, say this );

 HTH,

 Josh

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
 Aebig
 Sent: Friday, February 24, 2006 9:27 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] setInterval inside created Clip

 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
 ___
 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

___
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


RE: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread jim
Try mx.utils.Delegate might be the scope.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Aebig
Sent: 24 February 2006 19:59
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] setInterval inside created Clip

I gave it a try and it didn't fire. I even added a trace statement to
make
sure that the function wasn't firing and not functioning properly.

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ettwein,
Josh
Sent: February 24, 2006 12:29 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] setInterval inside created Clip

How about... Note I added some dummy values to vars to get it to work in
my environment. The last param is optional, but I figured I'd throw that
in there in case you weren't aware of that one.

var rootRef =_root;
var vItemCount =1;
var newName =test;

rootRef.work.createEmptyMovieClip(newName, vItemCount);
var newClip = rootRef.work[newName];

newClip.doSomething = function(arg){
trace(I just did something... yay! +arg);
}

var intID =setInterval( newClip, doSomething, 1000, say this ); 

HTH,

Josh

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Aebig
Sent: Friday, February 24, 2006 9:27 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] setInterval inside created Clip

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
___
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

___
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


RE: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread jim
Give me more of the code, what exactly are you trying to do? Can you
keep all of the crated mc's in an array  have a function that loops
through them  changes what you need? 

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Aebig
Sent: 24 February 2006 20:00
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] setInterval inside created Clip

Nope... still won't go. 

I actually decided to do a little test and when I set the function to be
onEnterFrame instead of doSomething, it performs well. The only problem
is
that I'm unsure how many clips could be running at the same time and I
don't
want a performance hit...

!K

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
Gerig
Sent: February 24, 2006 12:10 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] setInterval inside created Clip

maybe:

newClip.intervalid = setInterval(newClip,doSomething, 200);



Kevin Aebig wrote:

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);


  





___
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

___
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


Re: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread eric dolecki
my code fires off the func every sec here... weird.

On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 Nope... still won't go.

 I actually decided to do a little test and when I set the function to be
 onEnterFrame instead of doSomething, it performs well. The only problem is
 that I'm unsure how many clips could be running at the same time and I
 don't
 want a performance hit...

 !K

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Nick Gerig
 Sent: February 24, 2006 12:10 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] setInterval inside created Clip

 maybe:

 newClip.intervalid = setInterval(newClip,doSomething, 200);



 Kevin Aebig wrote:

 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);
 
 
 
 




 ___
 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

___
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


RE: [Flashcoders] setInterval inside created Clip

2006-02-24 Thread Kevin Aebig
+=e.d=+ you bugger...

Ok.. for some odd reason, that works. 

This doesn't:
newClip.intervalid = setInterval( newClip, doSomething, 1000 );

But this does:
var intID =setInterval( newClip, doSomething, 1000 );

Really friggin' weird. Thanks for all the suggestions guys...

Cheers,

!k

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki
Sent: February 24, 2006 2:04 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] setInterval inside created Clip

var vItemCount:Number = 2;
var newName = test;

this.createEmptyMovieClip(work, 1);
work.createEmptyMovieClip(newName, vItemCount);

var newClip = work[newName];

newClip.doSomething = function(arg){
   trace(I just did something... yay! +arg);
}

var intID =setInterval( newClip, doSomething, 1000, say this );



On 2/24/06, Kevin Aebig [EMAIL PROTECTED] wrote:

 I gave it a try and it didn't fire. I even added a trace statement to make
 sure that the function wasn't firing and not functioning properly.

 !k

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ettwein,
 Josh
 Sent: February 24, 2006 12:29 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] setInterval inside created Clip

 How about... Note I added some dummy values to vars to get it to work in
 my environment. The last param is optional, but I figured I'd throw that
 in there in case you weren't aware of that one.

 var rootRef =_root;
 var vItemCount =1;
 var newName =test;

 rootRef.work.createEmptyMovieClip(newName, vItemCount);
 var newClip = rootRef.work[newName];

 newClip.doSomething = function(arg){
 trace(I just did something... yay! +arg);
 }

 var intID =setInterval( newClip, doSomething, 1000, say this );

 HTH,

 Josh

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
 Aebig
 Sent: Friday, February 24, 2006 9:27 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] setInterval inside created Clip

 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
 ___
 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

___
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