MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual do Utilizador Página 131

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 184
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 130
New Behaviors syntax 131
New Behaviors syntax
This section describes the syntax changes to behaviors.
The name property is now the id property
You now use the id property with effects, instead of the name property:
Flex 1.5:
<mx:Zoom name="small" duration="100"/>
Flex 2:
<mx:Zoom id="small" duration="100"/>
The <mx:Effect> tag is no longer necessary
The <mx:Effect> tag is no longer necessary in Flex:
Flex 1.5:
<mx:Effect>
<mx:Zoom name="big" duration="100"/>
<mx:Zoom name="small" duration="100"/>
</mx:Effect>
Flex 2:
<mx:Zoom id="big" duration="100"/>
<mx:Zoom id="small" duration="100"/>
Renamed the playEffect() and endEffect() methods
The playEffect() and endEffect() methods have been renamed. The new names are
play() and end().
Vista de página 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 183 184

Comentários a estes Manuais

Sem comentários