Form.indexinparentform; Form.numchildforms - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

Form.indexInParentForm

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myForm.indexInParentForm
Description
Property (read-only); contains the zero-based index of
in its parent's list of child
myForm
forms. If the parent object of
is a screen but not a form (for example, if it is a slide),
myForm
is always 0.
indexInParentForm
Example
var myIndex:Number = myForm.indexInParent;
if (myForm == myForm._parent.getChildForm(myIndex)) {
trace("I'm where I should be");
}
See also
Form.getChildForm()

Form.numChildForms

Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
myForm.numChildForms
744
Form class (Flash Professional only)

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents