Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Flash > HTML5 conversion: getURL() equivalent?

Explorer ,
Nov 06, 2019 Nov 06, 2019

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

TOPICS
ActionScript , Code , How to
606
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 07, 2019 Nov 07, 2019

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

Translate
Community Expert ,
Nov 07, 2019 Nov 07, 2019

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 07, 2019 Nov 07, 2019
LATEST

Perfect, thanks so much, JC.

regards,

Geoff

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines