korvina Posted June 8, 2009 at 07:16 PM Report #270807 Posted June 8, 2009 at 07:16 PM Alguém sabe (em AS3) como fazer com que um text input (component) só aceite valores numéricos? Obrigado.
yarcub Posted June 8, 2009 at 11:03 PM Report #270891 Posted June 8, 2009 at 11:03 PM meuInput.restrict = "0-9" http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003524.html http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#restrict
korvina Posted June 8, 2009 at 11:23 PM Author Report #270894 Posted June 8, 2009 at 11:23 PM muito obrigado yarcub 😄
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now