2 Replies Latest reply on Feb 13, 2008 1:00 AM by vij010

    Link Button

    vij010 Level 1

      I have this on my file

      mx:LinkButton x="249" y="33" label="Go To Site" click="handleClick(event,' http://www.google.com.my')"/>

      and this is the script...

      // Import Event and URLRequest classes.
      import flash.events.Event;
      import flash.net.URLRequest;
      import mx.controls.Alert

      // Event handler to open URL using navigateToURL().
      private function handleClick(eventObj:Event,param:URLRequest):void {

      I get an implicit conversion error. How can you go about doing this ?...What happens on the UI part is that there is a table and 3 rows with 3 different sites to go to. And the "Go To Site" button for each link opens the site up. I am doing the Go To Site button where I have this problem.