Just curious.
sim
I'm trying to work with states and having some difficulty.
Here is my state code in the MXML:
<mx:states>
<mx:State name="details">
<mx:SetStyle target="{dgCorpMoveSummary}" name="visible" value="0"/>
<mx:SetStyle target="{btnBack}" name="enabled" value="1"/>
</mx:State>
</mx:states>
I get no errors when compiling.
The following function is executed:
public function getMovesResult(e:ResultEvent):void
{
txtTitle.text = 'Moves against ' + e.result[0].PRMLNAME;
currentState = 'details';
Alert.show(currentState, 'Current State', Alert.OK);
}
The alert shows the current state is "details" but the datagrid is still
visible, and the button is dstill disabled.
Everything looks fine in flex builder's design mode when I switch
states, so I don't understand why it isn't working when I run the app.
Rick
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- Re: [flexcoders] state problem Simeon Bateman
- Re: [flexcoders] state problem Douglas Knudsen
Reply via email to

