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

navigateToURL Issues...

Community Beginner ,
Apr 22, 2013 Apr 22, 2013

Copy link to clipboard

Copied

Hello Fellow Humans Around The World Of Earth!

Before I start I wanna make sure everyone knows, that I'm new to Flash. I'm trying to learn it myself but with a little help from a friend.

Anyway, I'm trying to develop an application for the Android Market for my clan. It should be able to show up a specific url. I have found out that I should use a "command" called navigateToURL.

This is what one of my friends has made but it doesn't seem to work.

<s:ViewNavigator label="Forum" width="100%" height="100%" firstView="views.ForumView" click="openWebsite()"/>

<fx:Script>

          <![CDATA[

                    import flash.net.navigateToURL;

                    protected function openWebsite () : void

                    {

                              navigateToURL(new URLRequest("www.goodgamingpeople.com@url"), "_self");

                    }

          ]]>

</fx:Script>

I want it to show a website inside the app and not like a pop-up into the person's device's web browser.

If anyone of you have any other idea how to do this, or know what is wrong I would be more than happy to know it! Remember to keep your language clean!

Views

876

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
Guru ,
Apr 27, 2013 Apr 27, 2013

Copy link to clipboard

Copied

LATEST

Use htmlLoader for this.

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