Answered
setting Flex spark ToggleSwitch state
How do you change the state of a ToggleSwitch from within the code (not by clicking)? I have set the toggleSwitch.selected value to be true when the application gets focus, but the GUI does not update.
How do you change the state of a ToggleSwitch from within the code (not by clicking)? I have set the toggleSwitch.selected value to be true when the application gets focus, but the GUI does not update.
Fixed by using the "change" event rather than "click".
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.