New Behaviors syntax
This section describes the syntax changes to behaviors.
The name property is now the id property
You now use the
property with effects, instead of the
id
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
tag is no longer necessary in Flex:
<mx:Effect>
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
and
playEffect()
and
.
play()
end()
methods have been renamed. The new names are
endEffect()
property:
name
New Behaviors syntax
131
Need help?
Do you have a question about the FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 and is the answer not in the manual?
Questions and answers