Tag Archive for 'selected'

13
Sep

Checking to see if a Flex CheckBox is selected before allowing a user to press a Button

The following example shows a few different ways of checking to see if the user selected a CheckBox control before allowing them to click a Button control. Got other tips? Leave them in the comments!

Full code after the jump.

Continue reading ‘Checking to see if a Flex CheckBox is selected before allowing a user to press a Button’

20
Aug

Creating toggle and emphasized Button controls in Flex

Pretty basic stuff, but if you’ve never used a toggle button in Flex or Flash, you may find this useful. The following example creates two Button controls. The first button sets the toggle property to true and determines whether the button is currently selected by watching the button’s selected property. The second button simply sets the emphasized property to true, which gives the button a nice visible border, making it stand out a little more than the other buttons. This is great for highlighting a default button in a form.

Full code after the jump.

Continue reading ‘Creating toggle and emphasized Button controls in Flex’