MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manuel d'utilisateur Page 131

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 184
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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().
Vue de la page 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 183 184

Commentaires sur ces manuels

Pas de commentaire