you can make that button invisible and the other visibile, have diffrent skins.
----- Original Message ---- From: Carl Vorster <[EMAIL PROTECTED]> To: [email protected] Sent: Saturday, February 9, 2008 9:26:24 AM Subject: [flexcoders] Changing defaultButton programatically Hi, I’ve got a Panel with a default button, but would like to change the default button to another button when a certain event occurs. Can someone point me in the right direction to do this? Thanks in advance Carl ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs

