How can I loop a movieclip for a certain number of times and jump to another movieclip? (example like after 3 loops…a new movie will play)
:hair: :hair: :hair:
any help? it will be greatly appreciated.
How can I loop a movieclip for a certain number of times and jump to another movieclip? (example like after 3 loops…a new movie will play)
:hair: :hair: :hair:
any help? it will be greatly appreciated.
This thread might help.
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=22655
it would be better to use enterFrame instead of keyframe actions
Makes it more convenient
THanks!!!
kartik…can you elaborate more on the enterFrame method?
[AS]var loops = 3, count;
myMovieClip.onEnterFrame = function() {
if (this._currentframe == this._totalframes && ++count == loops) {
myOtherMovieClip.play();
delete this.onEnterFrame;
}
};[/AS]
Or something along those lines… =)
:: Copyright KIRUPA 2024 //--