BurnettMarketing
Programmer
I would like to delay several goto's after so many seconds. Once at the first goto, it delays and goes to the next frame indicated. I am using the following code for the first goto but nothing happens at frame 2. It doesn't continue to goto the next frame as indicated. Thanks in advance for your help.
ON FRAME 1
stop();
startTime = getTimer();
this.onEnterFrame = function () {
currentTime = getTimer();
if (currentTime-startTime>139000) {
gotoAndPlay(2);
}
}
ON FRAME 2
stop();
startTime = getTimer();
this.onEnterFrame = function () {
currentTime = getTimer();
if (currentTime-startTime>169000) {
gotoAndPlay(3);
}
}
ON FRAME 1
stop();
startTime = getTimer();
this.onEnterFrame = function () {
currentTime = getTimer();
if (currentTime-startTime>139000) {
gotoAndPlay(2);
}
}
ON FRAME 2
stop();
startTime = getTimer();
this.onEnterFrame = function () {
currentTime = getTimer();
if (currentTime-startTime>169000) {
gotoAndPlay(3);
}
}