Jump to content
Search Community

Pique

Members
  • Posts

    8
  • Joined

  • Last visited

Pique's Achievements

0

Reputation

  1. Yup that works...Awesome. Much more 'many thanks' to you!
  2. Oh i see. Didn't think I needed that part since "i" was already delacred. Cool works fine now. Now I just need to figure out how to make the remove the 'mc' from the stage after the tween is complete, because if the alpha was 100 instead of 0 in the tween you'll notice that the 'mc's' are actually still on the stage stacking up. But... many thanks for your help! Pique
  3. lol No prob. Here is my file.
  4. No, the mc just keeps restarting and no additional mc's appear. Something i'm doing wrong? Guess I'll keep hacking at it. Sorry if i didn't explain right. lol
  5. Right, but i want a new puff to appear every time you rollover, without the other puffs going away until they finish animating. So essentially if you rollover 5 times, there would be 5 puffs animating.
  6. Oh I see. But all that's happening is that the original one stays in place while the new one tweens. Then on rollover it restart the tween.
  7. Sounded like a good idea at first but it didn't work. this.rocket.onRollOver = puff; function puff () { i = i + 1; duplicateMovieClip (rocket.rocket_puff_1, "puff" + i, i); //duplicateMovieClip("rocket.rocket_puff_1", new_object, iCount + 1); TweenMax.to(rocket.rocket_puff_1, 5, {_y:"-155", _x:"100", _yscale:300, _xscale:300, _alpha:0, ease:Linear.easeNone}); } ...quick question about the duplicate snippet... which one of these methods is better? i = i + 1; duplicateMovieClip (rocket.rocket_puff_1, "puff" + i, i); or duplicateMovieClip("rocket.rocket_puff_1", new_object, iCount + 1); I tried with both and it still does the same thing. So, while the original mc is tweening, the new one (duplicated mc) is placed along the path of the tween and stays put where ever the original was at the time of duplication. When you rollover again, the duplicated one just jumps to the originals current location on the tween path again and just stays put again. So only one mc is being added.
  8. 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?
×
×
  • Create New...