I have a question…I have an animation tweening in via MC then tweening out thats seperated with a frame level in the same MC.
my script is
on(release) {
_root.Content.gotoAndPlay(“ContentOut”);
_root.AboutUs.gotoAndPlay(2);
}
Okay that works fine but is there anyone to type some script in to have it “stall” for say maybe 3 seconds before going to frame 2 of the AboutUS MC? I’m sure it’s simple, thanks in advance.
system
July 29, 2003, 8:59pm
2
system
July 29, 2003, 9:11pm
3
Thanks but…
on(release) {
MovieClip.prototype.pause = function(seconds) {
this.stop();
this.$resume = function() {
_root.Content.gotoAndPlay(“ContentOut”);
clearInterval(interval);
delete this.$resume;
};
var interval = setInterval(this, “$resume”, seconds*1000);
};
// usage
AboutUs.pause(140);
_root.Content.gotoAndPlay(“ContentOut”);
_root.AboutUs.gotoAndPlay(2);
}
Doesn’t seem to be working am I applying it in the wrong way? Sorry for my newbieness.
system
July 29, 2003, 9:41pm
4
try
_root.Content.gotoAndPlay(“ContentOut”);
_root.AboutUs.pause(140);
_root.AboutUs.gotoAndPlay(2);
HTH
Liz
system
July 29, 2003, 10:21pm
5
or try…
[AS]
function doneDelay(){
play();
clearInterval(delay);
}
delay = setInterval(doneDelay, 500);
stop();
[/AS]
That will work but here’s another meathod just incase you wanted 2 :-p
[AS]
stop();
tellTarget ("/timer") {
delay = “3000”;
}
[/AS]