• FLASH - navigateToURL Issues...
    4 replies, posted
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. [QUOTE] <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> [/QUOTE] 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!
You shouldn't really be using Flash for an app for the Android Market, but anyway I'm not sure Flash has this capability but using Java and the normal Android framework does
Mkay, you got any tutorial / basic info about that?
[url]http://developer.android.com/training/basics/firstapp/index.html[/url] This is a beginner tutorial, once you'd got your head around the basics, here is how to do an embedded browser: [url]http://mobile.tutsplus.com/tutorials/android/android-sdk-embed-a-webview-with-the-webkit-engine/[/url]
Thank you so much man! This helps me so much!
Sorry, you need to Log In to post a reply to this thread.