Hey Everyone,
I have a mc (rocket_puff) inside another mc (rocket) that tweens on rollover
this.rocket.onRollOver = puff;
function puff ()
{
TweenMax.to(rocket.rocket_puff, 5, {_y:"-155", _x:"100", _yscale:300, _xscale:300, _alpha:0, ease:Linear.easeNone});
}
On rollover i want to duplicate/add another "rocket_puff" while the original one is still tweening. So everytime you rollover, another puff is added and tweened.
I tried both of the "duplicateMovieClip" clips...
this.rocket.onRollOver = puff;
function puff ()
{
TweenMax.to(rocket.rocket_puff_1, 5, {_y:"-155", _x:"100", _yscale:300, _xscale:300, _alpha:0, ease:Linear.easeNone});
i = i + 1;
duplicateMovieClip (rocket.rocket_puff_1, "puff" + i, i);
//duplicateMovieClip("rocket.rocket_puff_1", new_object, iCount + 1);
}
They kinda work but adds the extra mc wherever the current one is.
Any suggestions?