Skip to main content
Inspiring
July 6, 2012
Answered

setting Flex spark ToggleSwitch state

  • July 6, 2012
  • 1 reply
  • 426 views

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.

This topic has been closed for replies.
Correct answer mmah-umd

Fixed by using the "change" event rather than "click".

1 reply

mmah-umdAuthorCorrect answer
Inspiring
July 9, 2012

Fixed by using the "change" event rather than "click".