Hi guys,
Is there any way to stop the timeline at given frames for varying set times?
This is a AS2 one I used in the past (I think I saw it here on this forum)
[COLOR=#333300]this.createEmptyMovieClip (“timer”,50);
timer.onEnterFrame = function () {
if (this.startTime > 0) {
var difference = getTimer () - this.startTime;
if (difference > this.timerLength) {
this.target.play ();
this.startTime = 0;
}
}
};
function pauseFor (theTime) {
stop ();
timer.timerLength = theTime;
timer.startTime = getTimer ();
timer.target = this;
}[/COLOR]
Any ideas how to do this with AS3?