1 Reply Latest reply on Jul 18, 2008 4:49 AM by SujitG

    Sending a href link through data services

    jake2891
      Hi Ive been tring to send a href link in my chat but it just appears in the plain text and not clickable. Does anyone know how to do this or if its possible.

      private function sendMessage():void
      {
      var message:AsyncMessage = new AsyncMessage();
      message.body = {userId: userId.text, recipientId: dg.selectedItem.userId, text:lbl.htmlText};
      producer.subtopic = dg.selectedItem.userId;
      producer.send(message);
      }

      <mx:Label id="lbl" selectable="true" >
      <mx:htmlText>
      <![CDATA[<a href='event: http://www.adobe.com'>Navigate to Adobe.com.</a>]]>
      </mx:htmlText>
      </mx:Label>