Re: OT THANK YOU: Re: [Flashcoders] How to call functions in sequence

2006-01-31 Thread Bart Wttewaall
Fuse, the animation engine from mosessupposes.com has a build-in
Sequence class. I't easy to add commands to this sequence like method
calls. You might want to look into it.

Bart

2006/1/30, Kevin Cannon [EMAIL PROTECTED]:
 On Sun, Jan 29, 2006 at 10:04:22AM +0100, Sander wrote:
  If your functions are motion-based, have a look at Fuse. It's a set
  of Tween classes that lets you execute a lot of tweens in sequence. 2
  can fire off when 1 finished if you want. You can tween position,
  alpha, rotation and many more.

 You could also use setInterval to call the functions.

 Also, there's Sequence classses out there that are useful too:
 http://proto.layer51.com/d.aspx?f=1417

 - Kevin
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: OT THANK YOU: Re: [Flashcoders] How to call functions in sequence

2006-01-30 Thread Kevin Cannon
On Sun, Jan 29, 2006 at 10:04:22AM +0100, Sander wrote:
 If your functions are motion-based, have a look at Fuse. It's a set  
 of Tween classes that lets you execute a lot of tweens in sequence. 2  
 can fire off when 1 finished if you want. You can tween position,  
 alpha, rotation and many more.

You could also use setInterval to call the functions.

Also, there's Sequence classses out there that are useful too:
http://proto.layer51.com/d.aspx?f=1417

- Kevin
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: OT THANK YOU: Re: [Flashcoders] How to call functions in sequence

2006-01-29 Thread Sander
If your functions are motion-based, have a look at Fuse. It's a set  
of Tween classes that lets you execute a lot of tweens in sequence. 2  
can fire off when 1 finished if you want. You can tween position,  
alpha, rotation and many more.


http://www.mosessupposes.com/fuse/

Sample code from Moses website:

var f = new Fuse(
 { start_alpha:0, start_x:150, start_y:10, ease:'easeOutQuint',  
seconds:1 },

 { scale:200, x:'200', tint:0x123456, tintPercent:75 },
 { rotation:'-50', scale:0, ease:'easeOutBounce', seconds:1.5 } //  
counter-clockwise rotation

);
f.target = box_mc;
f.start(true); // passing true sets all start-props before running  
the sequence.


S


Trying to cut down on hundreds  of lines of repeated code with  
functions, but I have a real newbie question:


What is the best way to get functions to fire in sequence.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders