Name the button instance on the stage "theButton" and then place the following
code on the first frame of the timeline NOT on the button. This will give a 2
second delay (2000 milliseconds) before calling the function that gets the new
page:
theButton.onRelease = function () {
setTimer ();
};
function setTimer () {
intervalID = setInterval (getPage, 2000);
function getPage () {
getURL ("http://www.google.com", _blank);
}
}
Bryan Krossley - 31 Dec 2005 16:49 GMT
Thanks for the post. I will try it. Also is there a way to open the new
url maximized?
Bryan Krossley
> Name the button instance on the stage "theButton" and then place the
> following
[quoted text clipped - 13 lines]
> }
> }