great fix! thx guys(or gals):


ascii = new Array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
      "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
      "u", "v", "w", "x", "y", "z", "!", "@", "#", "$",
      "%", "^", "&");

function random1() {
 singleLetter = ascii[random(ascii.length)];
 return singleLetter;
}

function random2() {
 yy = _root.myTxt_txt.length;
 initialTxt = "";
 for (var x:Number = 0; x < yy; x++) {
  j = random1();
  initialTxt += j.toString();
 }
 return initialTxt;
}

_root.onEnterFrame = function() {
 uu = random2();
 myTxt_txt.text = uu;
}
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to