public class Main extends MovieClip
public function Main() // Constructor
// Register the listener method that will be executed when the Document Class is added to the Stage.
private function handleAddedToStage(e:Event):void
// Release the registered event listener after use to prevent potential malfunctions.
// To do :
// Set the text of tfMain that is to be displayed on the screen.
// The tfMain that is created in the Stage is automatically included in the Document Class.
tfMain.text = "Hello ActionScript";