Adobe Extending Flash Professional CS5 Manual de usuario Pagina 211

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 210
189
EXTENDING FLASH PROFESSIONAL
Element object
Last updated 5/2/2011
Usage
element.hasPersistentData(name)
Parameters
name A string that specifies the name of the data item to test.
Returns
A Boolean value: true if the specified data is attached to the object; false otherwise.
Description
Method; determines whether the specified data has been attached to the specified element. Only symbols and bitmaps
support persistent data.
Example
See element.getPersistentData().
element.height
Availability
Flash MX 2004.
Usage
element.height
Description
Property; a float value that specifies the height of the element in pixels.
Do not use this property to resize a text field. Instead, select the text field and use document.setTextRectangle().
Using this property with a text field scales the text.
Example
The following example sets the height of the specified element to 100:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].height = 100;
element.layer
Availability
Flash 8.
Usage
element.layer
Description
Read-only property; represents the Layer object on which the element is located.
Vista de pagina 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 564 565

Comentarios a estos manuales

Sin comentarios