Archives

Posts Tagged ‘ArrayCollection’

mx.effects.Tween A class used to implement tween effects. A Tween object accepts a start value, an end value, and an optional easing function. When you define tween effect classes, you create an instance of the Tween class in your override of the Effect.play() method.

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

Following example show how use spark list become to HorizontalList.

MyList.mxml

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

Following example show how use orientation and requestedRowCount change default TileList content direction.

comp/MyList.mxml

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

Following example show XML to ArrayCollection use XML Class

XMLToCollection5.mxml

Nov 30th, 2010 | Filed under ArrayCollection, DataGrid, Flex3, Flex4, XML

FLEX4EffectExample5

This example show how use DataGroup and ItemRenderer with Math.random() generate radom content position (x,y,rotationZ).

Nov 30th, 2010 | Filed under ArrayCollection, Flex4, Image, Panel, PopUpManager, TitleWindow

spark changeValueByPage method Increment value by a page if increase is true, or decrement value by a page if increase is false. Increasing the scrollbar’s value scrolls the viewport to the right. Decreasing the value scrolls to the viewport to the left.

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

Following example show XML to ArrayCollection use Model Class

XMLToCollection1.html

Nov 30th, 2010 | Filed under ArrayCollection, DataGrid, Flex3, Flex4, Model, XML

Following example show how use Collection(ArrayCollection or XMLListCollection) filterFunction to change data view and how use ActionScript to add item index column.

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

Following example show how use DataGroup itemRenderer create a clickable menu and disable effect when another click event dispatch.

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

The DataGroup class is the base container class for data items. The DataGroup class converts data items to visual elements for display. While this container can hold visual elements, it is often used only to hold data items as children.

Nov 30th, 2010 | Filed under ArrayCollection, Flex4

Following example show how use spark list become to TileList.

MyList.mxml

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

If  you don’t like use associative arrays ,use Object instead of it!!

Following example will show you how (same XML and Component as Part1)

Nov 30th, 2010 | Filed under ArrayCollection, Flex3, Flex4, XML