thanks for a lot of wonderful features in the second beta release. I particularly like the improved ability to do editing in catalyst (instead of always going back to illustrator to modify the slightest things, in the previous beta) and the improved performance.
My question is:
How can I submit text in a text input? (Say, the user keys in something into a text input, and clicks submit, is there a way for me to "receive" the things he keyed in and maybe even validate it?)
Thanks in advance!
By the way, I would like it if the performance can be improved further and i also vote for allowing us to reorder states in catalyst (I don't seem to be able to promote that idea in the Labs IDeas section)!
Thanks for the feedback, we appreciate it!
So, to 'receive' the user's input text and validate it, you're going to have to bring your fxp project into Flash Builder and do a little bit of coding.
The TextInput documentation gives some really good detail on how you can work with this control in more advanced ways: http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/spark/components/T extInput.html
I think you're going to want to listen to a textInput, or change event, and then validate there.
You can also add a Validator to validate your text input, where this flex quick start to validation guide might help you: http://www.adobe.com/devnet/flex/quickstart/validating_data/
In the meantime, if you have any ideas on how a feature like this may work in Catalyst, please post to the ideas site.
Thanks for your tips.
I will try to use flash builder and see what i can do.
As i am not very experienced with coding (i only learnt Action Script 2 and a bit of C++), I will experiment and explore the codes at my own pace.