Looping slideshow

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. :slight_smile:

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!!! :slight_smile:

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… =)