[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1006
  • Last Modified:

Actionscript - Pause or end Movie,Call upon URL using Actionscript.

In ACTIONSCRIPT, and preferrably in one frame, I would like to pause my movie for 10 seconds and then call upon a URL. A preloader of sorts but using real time as the standard.
0
edvinson
Asked:
edvinson
1 Solution
 
SavongCommented:
stop();

var intervalID:Number = setInterval(this,"getLink",10000);

function getLink():Void {
      getURL("http://google.com","_blank");
      clearInterval(intervalID);
}


The code above seemed to do what you wanted in my test movie.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now