title: Convert text string to hexadecimal using flash builder
body: <p>I want to convert MAC Address into hexadecimal string using flash builder..
  I used this code</p>
  
  <pre><code>var networkInterface : Object =  NetworkInfo.networkInfo.findInterfaces();
  var networkInfo  : Object = networkInterface[0];
  var physicalAddress : String = networkInfo.hardwareAddress.toString();
  
  txtreq.text = physicalAddress + "-" + txtserial.text
  
  var reqcode:uint = uint(txtreq.text);
  
  var reqcode1:String = reqcode.toString(16);
  
  txtact.text = reqcode1;
  </code></pre>
  
  <p>When I run the application,</p>
  
  <p><strong>txtserial.text = 123</strong> and <strong>physicalAddress = C6-17-31-A9-EF-FF</strong>...</p>
  
  <p>but <strong>txtact.text</strong> got <strong>0</strong>.</p>
  
  <p>Then how I fix the problem and In flex Builder how I convert <strong>FF-FF-FF-FF-FF</strong> like text into hexadecimal code...</p>