title: parse data from text file - flash as2
body: <p>I have a text file that I need to retrieve a name/value pair from that looks like this</p>
  
  <hr>
  
  <p>&#35;Hostname<br>
  hostname=6544</p>
  
  <p>value1=12<br>
  value2=78978</p>
  
  <hr>
  
  <p>Can anyone tell me how to parse this so I can reference the variable 'hostname' value.</p>
  
  <p>This has to be in Actionscript 2 - as the project is for flashlite 3.1</p>
  
  <p>Thanks heaps</p>