[flexcoders] How do I set a TitleWindow closeButton to disabled?

2008-03-24 Thread myasandy2
I figured out how to change the skin on the button, but I don't 
understand how to keep it visable and set it to disabled. My goal is 
that the user can see there is a close button on the window but it 
appears disabled until they do a task and I enable it.

Any help would be appreciated.

Sandy



RE: [flexcoders] How do I set a TitleWindow closeButton to disabled?

2008-03-24 Thread Peter DeHaan
How about something like: 

 

titleWindow.mx_internal::closeButton.enabled = false;

 

 

Peter

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of myasandy2
Sent: Monday, March 24, 2008 12:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I set a TitleWindow closeButton to
disabled?

 

I figured out how to change the skin on the button, but I don't 
understand how to keep it visable and set it to disabled. My goal is 
that the user can see there is a close button on the window but it 
appears disabled until they do a task and I enable it.

Any help would be appreciated.

Sandy