There is no graphical component to this exercise. Objects do NOT need to be on the screen, they exist in the abstract also.
Note, to help, you might find the following code example useful for generating random names:
var rNum:Number ; // holds a random number var rName:String ; // holds a name chosen randomly from the name array // create an array and fill it with 5 names var nameArray:Array = ["bob","sue","tom","mary","heather"] ; // code to get a random name from the array: rNum = Math.floor( Math.random() * 5 ) ; rName = nameArray[rNum] ; trace(rName) ;