MACROMEDIA FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Bedienungsanleitung Seite 131

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 184
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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().
Seitenansicht 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 183 184

Kommentare zu diesen Handbüchern

Keine Kommentare