Adobe Extending Flash Professional CS4 Manual de usuario Pagina 151

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 560
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 150
129
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Parameters
profileNewName An optional parameter that specifies the new name for the profile. The new name must be unique.
If the name is not specified, a default name is provided.
Returns
A Boolean value: true if the name is changed successfully; false otherwise.
Description
Method; renames the current profile.
Example
The following example renames the current profile to a default name and displays it:
alert(fl.getDocumentDOM().renamePublishProfile());
document.renameScene()
Availability
Flash MX 2004.
Usage
document.renameScene(name)
Parameters
name A string that specifies the new name of the scene.
Returns
A Boolean value: true if the name is changed successfully; false otherwise. If the new name is not unique, for
example, the method returns
false.
Description
Method; renames the currently selected scene in the Scenes panel. The new name for the selected scene must be unique.
Example
The following example renames the current scene to "new name":
var success = fl.getDocumentDOM().renameScene("new name");
document.reorderScene()
Availability
Flash MX 2004.
Usage
document.reorderScene(sceneToMove, sceneToPutItBefore)
Vista de pagina 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 559 560

Comentarios a estos manuales

Sin comentarios