title: flash as3 string encode decode
body: <p>I want to encode/decode a string in AS3:</p>
  
  <p><code>var string:String = "This is an text";</code></p>
  
  <p><code>encode(string)</code> will give for example: <code>yuioUasUenUwdfr</code>.<br/>
  <code>decode(encoded(string))</code> will give: <code>This is an text</code>.<br/>
  It does not have to be secure or anything.</p>