Archives

Posts Tagged ‘ItemRenderer’

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

Nov 30th, 2010 | Filed under Flex4, Image, skin

Following example show how use Rotate3D to create difference Menu.

assets/menu.xml

Nov 30th, 2010 | Filed under Flex4

Following example show how use spark list become to VerticalList.

MyList.mxml

Nov 30th, 2010 | Filed under ArrayCollection, Flex4, Image

Following example show Tree with itemRenderer and use disclosureOpenIcon ,disclosureClosedIcon,folderOpenIcon and folderClosedIcon,defaultLeafIcon change Tree view.

comp/MyTreeItem.mxml

Nov 30th, 2010 | Filed under Flex4

Following example show Tile Style slide show and changeValueByPage usage.

MyList.mxml

Nov 30th, 2010 | Filed under Flex4, Image

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.

Nov 30th, 2010 | Filed under DataGrid, Flex4, XML, XMLListCollection

Following example show how to set up a DropDownList without skin or itemRenderer.

Nov 30th, 2010 | Filed under ArrayList, Flex4, skin

Following example use contains method to make data comparsion.

DragDropEventdatacontainscomparison.mxml

Nov 30th, 2010 | Filed under ArrayCollection, Flex4, skin

Following example use skinClass make DropDownList display icon only(without label display).

skins/MySkin.mxml

Nov 30th, 2010 | Filed under ArrayList, Flex4, Image

Following example show  DropDownList with itemRenderer.

comp/MyDropDownListItemRenerer.mxml

Nov 30th, 2010 | Filed under ArrayList, Flex4

ItemRenderers for MX List, Tree and DataGrid work within the following contract:

Nov 30th, 2010 | Filed under ArrayList, Flex4, State

Following example show how use Alert closeEvent to Control data.

DragDropToTrashWithAlert.mxml

Nov 30th, 2010 | Filed under ArrayCollection, Flex Event, Flex3, Flex4