Macromedia flex 2-migrating applications to flex 2 Manual De Usuario
62
Flex Classes
mx.controls.alertclasses.*
The alertclasses package is now named alertClasses.
mx.controls.Button
The Button class no longer inherits from SimpleButton.
The following table describes changes to the Button class:
show()
The
show()
method now has the following signature:
show(text:String, title:String=null, flags:uint=0x4,
parent:Sprite=null, closeHandler:Function=null,
iconClass:Class=null,defaultButtonFlag:uint=0x4):A
lert
iconClass:Class=null,defaultButtonFlag:uint=0x4):A
lert
titleStyleDeclaration
Removed. Use the
titleStyleName
style.
Member
Change description
buttonDragOut
The Button control no longer dispatches this event.
cornerRadius
Removed.
dataChanged
dataChange
falseDisabledSkin
disabledSkin
falseDownSkin
downSkin
falseOverSkin
overSkin
falseUpSkin
upSkin
icon
Now a style of type Class not a property of type Object.
marginBottom
paddingBottom
marginLeft
paddingLeft
marginRight
paddingRight
marginTop
paddingTop
selected
Cannot be set if
toggle
is
false
. Flex now forces
selected
to
false
when toggle is
false
.
trueDisabledSkin
selectedDisabledSkin
trueDownSkin
selectedDownSkin
trueOverSkin
selectedOverSkin
Member
Change description