The following example shows how you can create a new Flex component instance by using its class name by calling the getDefintionByName() method.
Full code after the jump.
Continue reading ‘Creating a component instance by class name in ActionScript 3.0′
The following example shows how you can parse an XML node with a dash in its node name (<font-family />) as well as parsing an Object with a dash in it’s identifier using the square bracket notation ([]).
Full code after the jump.
Continue reading ‘Parsing XML nodes and Objects with dashes in their names in ActionScript 3.0′
The following example shows how you can specify a background image for a Flex VideoDisplay control by setting the backgroundImage style.
Full code after the jump.
Continue reading ‘Setting a background image on a VideoDisplay control in Flex’