package{ import flash.text.TextField; import flash.events.*; import flash.display.Sprite; public class FocusIn extends Sprite{ var primaryText:TextField; var secondaryText:TextField;
public function FocusIn(){ primaryText = new TextField(); secondaryText = new TextField();
primaryText.text = "This is the primary TextField.";
secondaryText.text = "This is the secondary TextField";