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’
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’
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’
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’
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’