# Button toggle in flex

**URL:** https://forum.kirupa.com/t/button-toggle-in-flex/240920
**Category:** Uncategorized
**Created:** [October 8, 2007, 10:04am UTC](https://forum.kirupa.com/t/button-toggle-in-flex/240920 "2007-10-08T10:04:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)
#### Post date: [October 8, 2007, 10:04am UTC](https://forum.kirupa.com/t/button-toggle-in-flex/240920/1 "2007-10-08T10:04:23Z")

</div>

Does flex have a button toggle class or something???  
So once it has been clicked the function is disabled until another state is choosen

\<mx:LinkButton label=“Value ('000s €)” click=“changeState(‘01\_wm\_2’);” icon="@Embed(source=‘assets/box\_white.png’)" styleName=“dashButton” width=“100%” height=“22”/\>

Me thinks I am going to need to write it into changeState.  
anyone got a quick example from a previous experiment or something??

cheers brndn
