We Recommend

Beginning AppleScript (Programmer to Programmer) Beginning AppleScript (Programmer to Programmer)
Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform. This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced.


Posted By

mswallace on 06/07/07


Tagged

actionscript importing Fuse Kit


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

n00ge


Fuse Kit Import


Published in: ActionScript 


URL: http://www.mosessupposes.com/Fuse/

Great for animating in Actionscript. You should check out the complete kit at the Fuse Web Site.

Can't Wait till this is ported to AS3


  1. import com.mosesSupposes.fuse.*;
  2. ZigoEngine.register(Fuse,PennerEasing);
  3.  
  4.  
  5. function bounceSpeakers(){
  6. var f:Fuse = new Fuse();
  7. f.push([{target:right_speaker, _y:94, seconds:0.25, ease:"easeOutBounce"},
  8. {target:left_speaker, _y:94, seconds:0.25, ease:"easeOutBounce"}]);
  9. f.push([{target:right_speaker, _y:96, seconds:0.25, ease:"easeOutBounce"},
  10. {target:left_speaker, _y:96, seconds:0.2, ease:"easeOutBounce"}]);
  11. f.push({func:bounceSpeakers});
  12. f.start();
  13. }
  14.  
  15. bounceSpeakers();

Report this snippet 

You need to login to post a comment.