[flexcoders] Re: state problem

2006-09-20 Thread thunderstumpgesatwork
Hi, 'visible' and 'enabled' are properties, not styles. Try changing the mx:SetStyle ... / to mx:SetProperty ... / Thunder --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: I'm trying to work with states and having some difficulty. Here is my state code in the MXML:

[flexcoders] Re: state problem

2006-09-20 Thread passive_thoughts
mx:states mx:State name=details mx:SetProperty target={dgCorpMoveSummary} name=visible value=false/ mx:SetProperty target={btnBack} name=enabled value=false/ /mx:State /mx:states --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: I'm trying to work with states and having

Re: [flexcoders] Re: state problem

2006-09-20 Thread Rick Root
thunderstumpgesatwork wrote: 'visible' and 'enabled' are properties, not styles. Try changing the That's what I get for doing a copy and paste! Thanks all! Rick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Re: state problem

2006-09-20 Thread Rick Root
Well this is downright strange... I changed mx:SetStyle .. to mx:SetProperty and the *APP* works now, but design mode doesn't show it. In design mode, it behaved properly when i switched states when I used mx:SetStyle ... to adjust the visible and enabled properties. Rick -- Flexcoders