|
Dimitrios, Thanks very much for your response. I’ll
put the offending code back into my app to generate the error. I had tried using data binding, but I ran
into another problem, so I’m not sure what I’m doing wrong. The currentState that I’m trying to
modify is the APPLICATION’S currentState. I’m defining my variable like this: public var
theCurrentAppState:String=""; In my <mx:Application tag, I’m saying
: currentState=”{theCurrentAppState}” When I save, the problems screen shows… ‘Data binding will not be able to
detect assignments to "theCurrentAppState".’ If I put the variable into a class, I’m
seeing ‘classes must not be nested’. I checked the compiler errors
section of the docs for more information about what that means (since I’m
NOT knowingly nesting classes), but there’s no explanatory text. I’m sure that this is just a newbie RTFM issue, but I can’t seem to find
the RIGHT MANUAL to F’ing read! Thanks in Advance for any additional
information Steve From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Hi, Can you post the
full error message and stacktrace to the list so we can help you? But to you
what u need, use data binding! A powerful thing it is. 1) Create a
variable on your ModelLocator: class
ModelLocator { public
var someState:String = ""; } 2) Then bind
that variable to the state of the view: <bla:SomeView
currentState="{ModelLocator.someState}"/> 3) Once the
command completes, then change the value of the variable: ModelLocator.someState
= 'someViewState'; Hope that helps! Dimitrios
Gianninas RIA Developer Optimal Payments
Inc. From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg @ Project SOC Hello, Peak8
Solutions 80302, Fax:
303.415.2597 E-Mail:
[EMAIL PROTECTED]
-- 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
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] limits to function during 'ca... Steve Kellogg @ Project SOC
- RE: [flexcoders] limits to function durin... Steve Kellogg @ Project SOC
- RE: [flexcoders] limits to function d... Dimitrios Gianninas

