I would use zmc_tween:
http://hosted.zeh.com.br/mctween/using.html
#include "zmc_tween.as"
...
Of course I'm using his old stuff.

Just remember that, in this case, the filename would be "mc_tween2.as", and it's not so old. Just oldschool. :)


i want to create a tween that loops the _y value of an mc.
( so that it goes from point A --> B --> A and loop infinitely)
and upon its rollover i want the loop to stop and for the mc to
scale 120%.
im sure this is a no brainer ..i just cant figure it out..
thanks in advance.

Artur, I can't actually help you much because I'm not that much into Fuse, but it should be somethign like this, executed at the same time:

1. make a tween for _y to go to A;
2. make a tween for _y to go to B, but add a delay so it will only start after it has reached A;

All of this should be on a function. The second tween should also have a callback - when it's finished, it run that same function again.

On rollover on the button, it should stop all tweens, and call a scale tween. Then, on rollout, just call the funtion again and continue from there.

Maybe they have a different way of running this, since Fuse has a few different ways to do stuff, but I think this is the most straightfoward way.

It should be quite easy, but I don't know the syntax specifically. If no one can reply to your question here (I think Moses will see it soon) then you can check on Fuse's documentation on the site, or ask on their forum.


- Zeh
_______________________________________________
[email protected]
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

Reply via email to