Adobe Extending Flash Professional CS4 Manual do Utilizador Página 215

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 214
193
EXTENDING FLASH CS4 PROFESSIONAL
Element object
Parameters
name A string that specifies the name of the data to remove.
Returns
Nothing.
Description
Method; removes any persistent data with the specified name that has been attached to the object. Only symbols and
bitmaps support persistent data.
Example
See element.getPersistentData().
element.rotation
Availability
Flash CS3 Professional.
Usage
element.rotation
Description
Property; an integer or float value between -180 and 180 that specifies the object’s clockwise rotation, in degrees.
Example
The following example sets the currently selected element’s rotation to 45 degrees:
var element = fl.getDocumentDOM().selection[0];
fl.trace("Element rotation = " + element.rotation);
element.rotation = 45;
fl.trace("After setting rotation to 45: rotation = " + element.rotation);
element.scaleX
Availability
Flash CS3 Professional.
Usage
element.scaleX
Description
Property; a float value that specifies the x scale value of symbols, drawing objects, and primitive rectangles and ovals.
A value of 1 indicates 100 percent scale.
Vista de página 214
1 2 ... 210 211 212 213 214 215 216 217 218 219 220 ... 559 560

Comentários a estes Manuais

Sem comentários