Archives
Much of the drag and drop functionality is the same for the Spark and MX list-based controls. However, there are a few differences please access follow page for detail
Following example show how use Rotate3D to create difference Menu.
assets/menu.xml
Following example show how use spark list become to VerticalList.
MyList.mxml
Following example show Tree with itemRenderer and use disclosureOpenIcon ,disclosureClosedIcon,folderOpenIcon and folderClosedIcon,defaultLeafIcon change Tree view.
comp/MyTreeItem.mxml
Following example show Tile Style slide show and changeValueByPage usage.
MyList.mxml
FlashBuilder 4 is planning a new ItemRenderer wizard/tool to help folks create ItemRenderers for Spark List controls. Because Spark doesn’t yet have a Tree or DataGrid, and because MX Tree and MX DataGrid have a different ItemRenderer contract, the new tool will not be usable in all list-type controls and folks will have to learn both ItemRenderer contracts.
Following example show how to set up a DropDownList without skin or itemRenderer.
Following example use contains method to make data comparsion.
DragDropEventdatacontainscomparison.mxml
Following example use skinClass make DropDownList display icon only(without label display).
skins/MySkin.mxml
Following example show DropDownList with itemRenderer.
comp/MyDropDownListItemRenerer.mxml
ItemRenderers for MX List, Tree and DataGrid work within the following contract:
Following example show how use Alert closeEvent to Control data.
DragDropToTrashWithAlert.mxml


