<?xml version="1.0" encoding="utf-8"?> <!-- Simple custom MXML TitleWindow component. The TitleWindowApp application displays this component. You cannot run it independently. -->
// A reference to the TextInput control in which to put the result. public var loginName:Text;
// Event handler for the OK button. private function returnName():void { loginName.text="Name entered: " + userName.text; PopUpManager.removePopUp(this); } ]]> </mx:Script>