New Behaviors Syntax - Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual

Migrating applications to flex 2
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents