Copy link to clipboard
Copied
I have the task of converting an old Flash movie with Actionscript 1 to HTML5. I am not expert in javascript, so seeking some help...
May I ask what is the equivalent of the actionscript global function, getURL() in javascript?
e.g.
myFinishButton.onRelease = function() {
getURL("myPage.asp", "_parent");
};
many thanks,
Geoff
Hi.
It's window.open().
For example:
this.yourButton.on("click", function(e)
{
window.open("https://www.adobe.com", "_parent");
});
I hope this helps.
Regards,
JC
Copy link to clipboard
Copied
Hi.
It's window.open().
For example:
this.yourButton.on("click", function(e)
{
window.open("https://www.adobe.com", "_parent");
});
I hope this helps.
Regards,
JC
Copy link to clipboard
Copied
Perfect, thanks so much, JC.
regards,
Geoff
Find more inspiration, events, and resources on the new Adobe Community
Explore Now