1 Reply Latest reply on Apr 27, 2013 6:23 PM by moccamaximum

    navigateToURL Issues...

    andreglud

      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!