The following example shows how you can create a toggle button in Flex Gumbo using the FxToggleButton control in the latest version (build 4.0.0.3584) of the beta Flex Gumbo SDK.
This example also shows the new Flex Gumbo syntax for two-way data binding:
- inline:
<FxToggleButton id="fxToggleButton" selected="@{fxCheckBox.selected}" /> - MXML:
<Binding source="fxCheckBox.selected" destination="fxToggleButton.selected" twoWay="true" />
Full code after the jump.
Continue reading ‘Creating a toggle button in Flex using the FxToggleButton control’



