View Single Post
  #1 (permalink)  
Old 07-21-09, 09:43 AM
jonnekke jonnekke is offline
Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 704
Thanks: 0
Thanked 0 Times in 0 Posts
adding time-out to this

Hi there...


I got a piece of actioncode to scale an image (big to small --> small to big) in a loop.
This is the "turning point" for the loop:
Code:
scaleX.onMotionFinished = function() {
      this.yoyo();	
};
Now I want to make a delay to this..

Code:
scaleX.onMotionFinished = function() {
       setInterval(this.yoyo(), 2000);
};
But this isn't working. where did I go wrong?..

_j
Reply With Quote