ActionScript 2.0 Components Language Reference |
|
|
|
| Screen class > Screen.numChildScreens | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
myScreen.numChildScreens
Property (read-only); returns the number of child screens contained by myScreen.
The following example displays the names of all the child screens that belong to myScreen.
var howManyKids:Number = myScreen.numChildScreens;
for(i=0; i<howManyKids; i++) {
var childScreen = myScreen.getChildScreen(i);
trace(childScreen._name);
}
|
|
|
|