Re: [Flashcoders] Fuse Kit Sequence

2006-10-18 Thread Jon Bennett

I usually do it like this...

mport com.mosesSupposes.fuse.*;
ZigoEngine.register(PennerEasing, Fuse);

this.mcOne._alpha = 0;
this.mcTwo._alpha = 0;

var dur=3;
var delay=.5;
var ease="easeOutQuad"

this.mcOne.tween(["_alpha","_x"],[100,400],dur,ease,delay);
this.mcTwo.tween(["_alpha","_x"],[100,300],dur,ease,delay);

Your end property value(s) are supposed to be a number or array of numbers.


doh, should've realised that :)

thanks,

Jon

--


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
___
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] Fuse Kit Sequence

2006-10-13 Thread Andy Stone
I usually do it like this...

mport com.mosesSupposes.fuse.*;
ZigoEngine.register(PennerEasing, Fuse);

this.mcOne._alpha = 0;
this.mcTwo._alpha = 0;

var dur=3;
var delay=.5;
var ease="easeOutQuad"

this.mcOne.tween(["_alpha","_x"],[100,400],dur,ease,delay);
this.mcTwo.tween(["_alpha","_x"],[100,300],dur,ease,delay);

Your end property value(s) are supposed to be a number or array of numbers.

I just started using fuse (migrated from Zigo "lmc_tween.as"). Hope this
helps. 


-Andy Stone



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon Bennett
Sent: Wednesday, October 11, 2006 6:20 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Fuse Kit Sequence

Hi,

I'm trying to sequence some simple tweens using Fuse(), but for some
reason only the first item in the sequence plays, and I'm not sure
why.

// code on timeline (which contains 2 MCs mcOne and mcTwo
import com.mosesSupposes.fuse.*;
ZigoEngine.register(PennerEasing, Fuse);

this.mcOne._alpha = 0;
this.mcTwo._alpha = 0;

var fSequence:Fuse = new Fuse();
fSequence.pushTween
([this.mcOne,this.mcTwo],"_alpha",["100","100"],3,"easeOutQuad",0);
fSequence.pushTween
([this.mcOne,this.mcTwo],"_x",["400","300"],3,"easeOutQuad",0);
fSequence.start ();

Hopefully someone with more experience will be able to point me in the
right direction.

tia,

jon

-- 


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
___
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