The following example shows how you can use styles in a <Style/> block to style a Spark Button and TextInput control as well as a Halo Button and TextInput control.
To compile this example, you’ll need to download the nightly beta Flex Gumbo build 5873 (126.96.36.19973) or newer. The latest Gumbo SDK builds can be downloaded from the opensource.adobe.com site at http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4.
For more information on the “Fx” prefix removal and API changes, see the “Dropping the Fx Prefix” page on the Flex Gumbo opensource.adobe.com site.
For more information on the new CSS namespaces and styling in Flex Gumbo, see the “Styling Component Parts” page on the Flex Gumbo opensource.adobe.com site.
Full code after the jump.