Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » adding time-out to this

adding time-out to this

 
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-21-09, 09:43 AM
jonnekke jonnekke is offline
Junior Code Guru
 
Join Date: Oct 2005
Location: holland!
Posts: 641
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert to time from a string Godwin PHP 2 09-26-06 01:25 AM
having Loop issues, help... Advanced todayscoffee PHP 2 02-27-06 01:36 AM
Super class seo services extreme90 General Advertisements 0 12-28-05 01:45 PM
adding date and time in mysql darkcarnival PHP 5 11-27-04 01:41 PM


All times are GMT -5. The time now is 12:54 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.