Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
dimival #1
Question about states
I've noticed that whenever you change between states, the controls' values
don't reset to their initial values. For an example if you add a TextInput and
type anything on it, when you change to another state and then back to it the
TextInput still has the text you typed. (You can try this using the Adobe's
example on the States documentation
[url]http://livedocs.adobe.com/flex/201/langref/mx/states/State.html[/url] just go to
the register state, type anything on the confirm textinput, then switch back to
login state and once again to the register state).
So the question is if there's a way to reset the values of the controls that
you add on each state, i know i could manually reset them using the enterState
and exitState events but it kinda sucks because if i have 200 textinputs i
would have to manually reset their values.
Any ideas?
Thanks
dimival Guest
-
Transitions between states
Where can I learn about transitions between states. In the storefront example, when you click certain links / buttons, it moves the areas around in... -
Anyone have a map of the USA with the states outlined?
I'mm now in search of a map with the US and all the states outlined. Point me in the right direction, or email it to me, and it would be greatly... -
[PHP] countries,states and cities
Augusto Cesar Castoldi <mailto:accastoldi@yahoo.com.br> on Monday, September 08, 2003 4:16 PM said: I don't know but I would also be interested... -
button states
why not load all your seperate swf`s at the start and use a preloader. You can set _visible to false. -
[PHP] states
> > Does anyone know of any built in functions or options for the US states? Hi Matt Look at... -
peterent #2
Re: Question about states
That's the way it is supposed to work. If you want to reset the controls you do have to write code to change them back.
peterent Guest
-
dimival #3
Re: Question about states
I see, thought there was some "automatic" way to force them to reset on each state change, oh well thanks anyways.
dimival Guest



Reply With Quote

