title: load html page into flex textarea
body: <p>Hello I would like to show some textcontent from a website in a textarea box in flex.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p>
      
          
  
  <pre><code>        import mx.managers.PopUpManager;
          import mx.core.Application;
          import flash.net.URLLoader;
          import mx.rpc.events.ResultEvent;
          import mx.controls.Text;
          import mx.controls.Alert; 
  
          [Bindable]
          private var xmlText:String;
  
          private function serviceResult(event:ResultEvent):void 
          {
          myTextArea.text = event.result.contents.content;
          }
  
          private function init():void{
          listContents.send();
          }
      ]]&gt; 
  &lt;/mx:Script&gt;
  
  &lt;mx:HTTPService id="listContents" url="http://theurl.com" result="serviceResult(event)"/&gt;
  
  &lt;mx:TextArea id="myTextArea" text="{xmlText}" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>any ideas?</p>