I'm getting the error "1180 Call to possibly undefined method" before I compile my .mxml. I'm trying to put the navigate to url into a link button from information in the attribute table. Code is below
<fx:Script> ... public function ClickLink(url:String):void { var theRpageURL:URLRequest=new URLRequest(url); navigateToURL(theRpageURL, "_blank"); } ... </fx:Script>
A Component is kind of in a world of it's own so it can not see the "ClickLink" function that you have outside of it. You need to add the fx script block inside the component and you should be good to go.