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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 447
426
EXTENDING FLASH CS4 PROFESSIONAL
SymbolInstance object
symbolInstance.firstFrame
Availability
Flash MX 2004.
Usage
symbolInstance.firstFrame
Description
Property; a zero-based integer that specifies the first frame to appear in the timeline of the graphic. This property
applies only to graphic symbols and sets the same property as the First field in the Property inspector. For other types
of symbols, this property is
undefined.
Example
The following example specifies that Frame 10 should be the first frame to appear in the timeline of the specified
element:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].firstFrame = 10;
symbolInstance.forceSimple
Availability
Flash MX 2004.
Usage
symbolInstance.forceSimple
Description
Property; a Boolean value that enables and disables the accessibility of the object’s children. This property is equivalent
to the inverse logic of the Make Child Objects Accessible setting in the Accessibility panel. For example, if
forceSimple is true, it is the same as the Make Child Object Accessible option being unchecked. If forceSimple is
false, it is the same as the Make Child Object Accessible option being checked.
This property is available only for MovieClip objects.
Example
The following example checks to see if the children of the object are accessible; a return value of false means the
children are accessible:
var areChildrenAccessible = fl.getDocumentDOM().selection[0].forceSimple;
The following example allows the children of the object to be accessible:
fl.getDocumentDOM().selection[0].forceSimple = false;
Vista de página 447
1 2 ... 443 444 445 446 447 448 449 450 451 452 453 ... 559 560

Comentários a estes Manuais

Sem comentários