ActionScript 2.0 Components Language Reference |
|
|
|
| Form class > Form.parentForm | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
myForm.parentForm
Property (read-only): a reference to the form's parent form.
The following example code resides on a screen named myForm that is a child of the default form1 screen created when you select Flash Form Application from the New Document dialog box.
onClipEvent(keyDown){
var parentForm:mx.screens.Form = this.parentForm;
trace(parentForm);
}
// output: _level0.application.form1
|
|
|
|