Ich habe eine MXML-Datei und ActionScript-Klasse ...Grundlegende ActionScript-Hilfe?
Jetzt habe ich eine Komponente textInput in meinem MXML, wie würde ich dies in meiner ActionScript-Klasse nennen.
<mx:TextInput styleName="loginTextInput" id="username" x="160" y="161"/>
Actionscript-Klasse ..
package myClasses
{
import mx.controls.Alert;
import mx.events.ValidationResultEvent;
public class CheckLogin
{
public function CheckLogin()
{
}
private function loginCheck():void {
// I need to call the TextInput down here.
Alert.show("loginCheck Done");
}
}
}