var rN:Number = 3;
var rT:Array = new Array(rN);
//The list of random texts
rT[0]="Text 1";
rT[1]="Text 2";
rT[2]="Text 3";
//The button that makes the random text apear in a dynamic text
myBtn.onRelease = function() {
var a = random(rN);
rText.text = rT[a];
}