title: Property not found on String
body: <p>So i am trying to make a word jumlbe sort of program but i am running into some difficulties with the function for shuffelling the words</p>
  
  <p>So i tried:</p>
  
  <pre><code>function klikk(evt){
  var i:int = 0;
  var ordet:String = inntastetOrd;
  var lengde:int = ordet.length;
  var tall:int = 0;
  var karakter:String;
  
  for(i=0;i&lt;ordet.length; i++)
  {
      tall = Math.random() *ordet.length;
      karakter = ordet[tall];
      ordet[i] = ordet[tall];
      ordet[tall] = karakter;
  }
  </code></pre>
  
  <p>But i am getting: "Error #1069: Property "some value" not found on String and there is no default value."</p>
  
  <p>Thanks for help!</p>