I’m programming for android with flash in Actionscript 3.0. I need to navigate to a webpage after user touches the button. Something like this:
button.addEventListener(TouchEvent.TOUCH_TAP, fl_TapHandler);
function fl_TapHandler(event:TouchEvent):void
{
WebBrowser.Navigate("http://www.webpage.com/");
}
I don’t know this function D: . Please help.
I think it should be like this
The
navigateToURLmethod is a part of theflash.netpackage.