6 Replies Latest reply on Jun 7, 2007 10:51 PM by sameerb

    Method not found ?!

    Encom79
      i write a method in the <script> markup :
      public function gotoURL(str:String):void {......}

      int the xml part,
      <mx:Component id="downloadListItemRenderer" >
      <mx:HBox width="100%" horizontalAlign="left" verticalAlign="middle">
      <mx:LinkButton click="gotoURL('dg')" label="{data.@name}"/>
      </mx:HBox>
      </mx:Component>

      Compilation ERROR : 1180 gotoURL undefined !

      I dont understand. Can you help me ?