Hi guys,
New to the forum and hope some of you can help. Ive recently downloaded mc tween. (Cant believe I've left it until now, considering its power). Anyway - having a small prob with chained, or sequential tweens.
For example:
I have a movie entitled mc on my main stage. Its colour is ffffff.
I wanted to change it to red, (ff0000) then back to white in 4 seconds. But it wont seem to work quite as desired. IT WILL CHANGE TO RED, BUT WONT REVERT TO WHITE as soon as the 4 seconds are up. The code is as follows.
onClipEvent (enterFrame) {
_root.mc.colorTo(0xff000, 0.5, linear, 0);
_root.mc.colorTo(0xffffff, 0.5, undefined, 4);
}
The colours arent important here, ive just used them for the examples sake. I have had the same problem with all of the mc tween prototypes.
Ive tried various things, including creating a second clip for the delayed action to address. It actually worked, so it seems the problem lies in the fact that I'm addressing the same clip twice, but of course - thats what I need here.
Any of you guys got any advice?
It will be gratefully received if so.
Best
Sub





Bookmarks