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

geturl on as 3.0

Guest
Oct 08, 2010 Oct 08, 2010

Copy link to clipboard

Copied

how i can create get url from as 2.0 and how to write this in as 3.0 example on(press)geturl www.adobe.com please tell me how to write this in action script 3.0 thanks

TOPICS
ActionScript

Views

611

Translate

Translate

Report

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
Community Expert ,
Oct 08, 2010 Oct 08, 2010

Copy link to clipboard

Copied

use navigateToURL().


Votes

Translate

Translate

Report

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
Guest
Oct 08, 2010 Oct 08, 2010

Copy link to clipboard

Copied

LATEST

You can use Code Snippets in CS5

/* Click to Go to Web Page
Clicking on the specified symbol instance loads the URL in a new browser window.

Instructions:
1. Replace http://www.adobe.com with the desired URL address.
   Keep the quotation marks ("").
*/

myButton.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);

function fl_ClickToGoToWebPage(event:MouseEvent):void
{
   navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");
}

Please indicate if this is helpful.

Votes

Translate

Translate

Report

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