Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 399

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 398
377
EXTENDING FLASH CS4 PROFESSIONAL
ScreenOutline object
Description
Property; a Screen object, the currently selected screen (see Screen object).
Example
The following example stores the currentScreen object in the myScreen variable and then displays the name of that
screen in the Output panel:
var myScreen = fl.getDocumentDOM().screenOutline.currentScreen;
fl.trace(myScreen.name);
screenOutline.deleteScreen()
Availability
Flash MX 2004.
Usage
screenOutline.deleteScreen([screenName])
Parameters
screenName A string that specifies the name of the screen to be deleted. If you don’t pass a value for screenName, the
currently selected screen(s) and their children are deleted. This parameter is optional.
Returns
Nothing.
Description
Method; deletes the currently selected screen(s), or a specified screen, and the children of the screen(s).
Example
The following example deletes the screen named apple and all its children:
fl.getDocumentDOM().screenOutline.deleteScreen("apple");
screenOutline.duplicateScreen()
Availability
Flash MX 2004.
Usage
screenOutline.duplicateScreen([screenName])
Parameters
screenName A string value that specifies the screen name to duplicate. If you don’t pass a value for screenName, the
currently selected screen(s) are duplicated. This parameter is optional.
Vue de la page 398
1 2 ... 394 395 396 397 398 399 400 401 402 403 404 ... 559 560

Commentaires sur ces manuels

Pas de commentaire