Macromedia flex 2-migrating applications to flex 2 Manual De Usuario
Effects
81
Effects
The “instance” classes (such as mx.effects.RotateInstance and mx.effects.ResizeInstance) have
been moved to the mx.effects.effectClasses package.
been moved to the mx.effects.effectClasses package.
This section describes changes to individual effects classes. In addition to the changes listed
here, the effects architecture has changed. For more information, see
here, the effects architecture has changed. For more information, see
.
The
name
property is now
id
.
mx.effects.AnimateProperty
The following table describes changes to the AnimateProperty class:
mx.effects.Effect
The following table describes changes to the Effect class:
showTicks
Removed. Instead of setting it to
false
to turn off tick
marks, you set
tickInterval
to 0; for example:
<mx:HSlider id="hs1" snapInterval="1"
tickInterval="0"/>
toolTipStyleDeclaration
Removed. Use the
toolTipStyleName
style.
Member
Change description
endValue
toValue
startValue
fromValue
Member
Change description
effectProperties
relevantProperties
effectStyles
relevantStyles
endEffect()
end()
listener
Removed.
playEffect()
Use the
play()
method instead. The method signature has
changed to the following:
play(targets:Array=null,
playReversedFromEnd:Boolean=false):Array
repeat
repeatCount
Member
Change description