Hoping someone can help me with this! I'm trying to get an mc to tween a certain way, then tween another way, using actionscript.
Here's what I've got so far:
stop();
#include "lmc_tween.as"
sun_mc.tween("_y",195,25,"easeOutSine",5);
sun_mc.brightOffsetTo(75,15,"linear",15);
moon_mc.tween("_x",225,25,"easeOutSine",5);
moon_mc.brightOffsetTo(-65,15,"linear",15);
Once the above mcs have finished tweening, I want them to do this:
sun_mc.tween("_y",325,25,"easeInSine",0);
sun_mc.brightOffsetTo(0,15,"linear",15);
moon_mc.tween("_x",100,25,"easeInSine",0);
moon_mc.brightOffsetTo(0,15,"linear",15);
...or something similar. In other words, I've got a sun and a moon - I want them to converge (creating an eclipse), and then continue moving. The reason I want to do 2 separate tweens for the movement is that I want them to slow down into the eclipse, and then speed up out of it - that can't be done in a single tween, right? Same applies for the brightness - I want the moon (for example) to get darker as it eclipses, and then brighter as it moves away.
Hope I've been clear enough - any help would be much appreciated! I'm trying to do all this stuff in Actionscript, rather than timeline motion tweens.
Cheers in advance!
boog
