onLoad () { // First the Array and its values are defined smt = new Array(); smt[0] = "awesome!"; smt[1] = "the best!"; smt[2] = "incredible!"; smt[3] = "amazing!"; smt[4] = "my favorite!"; smt[5] = "powerful!"; smt[6] = "versatile!"; smt[7] = "unbelievable!"; // A random position in the array is retrieved using Math.randomInt // Then the corresponding value is displayed in the dynamic text field message.text = "SWiSHmax is " add smt[Math.randomInt(8)]; }