Archive for September 19th, 2007

19
Sep

Sequencing effects in Flex using the mx:Sequence tag

The following example shows how you can use the <mx:Sequence /> MXML tag in Flex to create combined effects which execute in order. This example shows how to fade a display object in, pause, and then fade a display object out. Also, the same thing but with a combination of Wipe effects.

Full code after the jump.

Continue reading ‘Sequencing effects in Flex using the mx:Sequence tag’

19
Sep

Comparing two bitmap images using the BitmapData class

The following example shows how you can compare the bitmap data of two embedded images using the BitmapData class’s compare() method.

Full code after the jump.

Continue reading ‘Comparing two bitmap images using the BitmapData class’

19
Sep

Converting XML to objects using the Flex SimpleXMLDecoder class

Similar to the previous post, “Converting XML to objects using the Flex HTTPService MXML tag“, the following example shows how you can use the decodeXML() method in the SimpleXMLDecoder class to convert an XMLDocument object into an ActionScript Object object.

Full code after the jump.

Continue reading ‘Converting XML to objects using the Flex SimpleXMLDecoder class’

19
Sep

Converting XML to objects using the Flex HTTPService MXML tag

The following example shows how you can convert an XML file loaded at run-time using the HTTPService tag, into an ActionScript Object by simply setting the resultFormat property to “object”.

Full code after the jump.

Continue reading ‘Converting XML to objects using the Flex HTTPService MXML tag’

19
Sep

Dragging rows between two different Flex DataGrid controls

The following example shows how you can use the dragEnabled, dropEnabled, and dragMoveEnabled properties with the Flex DataGrid control to copy and move rows between different data grids.

Full code after the jump.

Continue reading ‘Dragging rows between two different Flex DataGrid controls’




September 2007
M T W T F S S
« Aug   Oct »
 12
3456789
10111213141516
17181920212223
24252627282930

Badge Farm

  • Firefox 2
  • Powered by Redoable 1.2
  • Feeds burnt by Feedburner
  • Feed