RE: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Maurice Amsellem
Are u using spark or mx TextInput ? is it on mobile or web/desktop? Maurice -Message d'origine- De : modjkl...@comcast.net [mailto:modjkl...@comcast.net] Envoyé : jeudi 6 mars 2014 16:42 À : apache flex users Objet : how to mxml restrict with binding AS3 variable? Everytime I try to m

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread modjklist
Spark TextInput, on web/desktop. - Original Message - From: "Maurice Amsellem" To: users@flex.apache.org Sent: Thursday, March 6, 2014 8:11:58 AM Subject: RE: how to mxml restrict with binding AS3 variable? Are u using spark or mx TextInput ? is it on mobile or w

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Alex Harui
ut, on web/desktop. > >- Original Message - > >From: "Maurice Amsellem" >To: users@flex.apache.org >Sent: Thursday, March 6, 2014 8:11:58 AM >Subject: RE: how to mxml restrict with binding AS3 variable? > >Are u using spark or mx TextInput ? is it on mobil

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread modjklist
o: users@flex.apache.org Sent: Thursday, March 6, 2014 8:33:07 AM Subject: Re: how to mxml restrict with binding AS3 variable? Don't use binding, set it directly in creationComplete/applicationComplete and see if you still have a problem. If so, trace out the restrict property from the T

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread modjklist
et To: users@flex.apache.org Sent: Thursday, March 6, 2014 9:02:07 AM Subject: Re: how to mxml restrict with binding AS3 variable? Setting textInput.restrict=... in creation complete didn't change anything. There must be some difference or interaction between escape characters w

RE: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Maurice Amsellem
odjkl...@comcast.net] Envoyé : jeudi 6 mars 2014 18:11 À : users@flex.apache.org Objet : Re: how to mxml restrict with binding AS3 variable? I found by experimentation that the following works, public static const RESTRICT_STRING_FOR_CSV:String = "0

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread OmPrakash Muppirala
escape backslash? > I blogged about this a while ago: http://www.bigosmallm.com/2008/03/how-to-restrict-backslash-character.html?m=1 See if that helps? Thanks, Om > - Original Message - > From: modjkl...@comcast.net > To: users@flex.apache.org > Sent: Thursday, March 6, 201

RE: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Maurice Amsellem
ice -Message d'origine- De : modjkl...@comcast.net [mailto:modjkl...@comcast.net] Envoyé : jeudi 6 mars 2014 18:11 À : users@flex.apache.org Objet : Re: how to mxml restrict with binding AS3 variable? I found by experimentation that the following works, public static c

RE: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Kessler CTR Mark J
restrict with binding AS3 variable? I found by experimentation that the following works, public static const RESTRICT_STRING_FOR_CSV:String = "0-9 a-zA-Z\&\"'~!@#$%*()\\-_+=[]|;:<>.?,\\^{}"; which uses ONE backslash to escape the ampersand and double-quote ch

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread modjklist
Thanks Om, your blog explained it all. Hadn't seen it before, and thanks for writing it. - Original Message - From: "OmPrakash Muppirala" To: users@flex.apache.org Sent: Thursday, March 6, 2014 10:05:15 AM Subject: Re: how to mxml restrict with binding AS3 varia

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread OmPrakash Muppirala
Om > - Original Message - > > From: "OmPrakash Muppirala" > To: users@flex.apache.org > Sent: Thursday, March 6, 2014 10:05:15 AM > Subject: Re: how to mxml restrict with binding AS3 variable? > > On Mar 6, 2014 9:11 AM, wrote: > > > > I foun

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Joseph Balderson
slash-character.html?m=1 > > See if that helps? > > Thanks, > Om > >> - Original Message - >> From: modjkl...@comcast.net >> To: users@flex.apache.org >> Sent: Thursday, March 6, 2014 9:02:07 AM >> Subject: Re: how to mxml restrict with binding

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread OmPrakash Muppirala
1 > > > > See if that helps? > > > > Thanks, > > Om > > > >> - Original Message - > >> From: modjkl...@comcast.net > >> To: users@flex.apache.org > >> Sent: Thursday, March 6, 2014 9:02:07 AM > >> Subject: Re: how

Re: how to mxml restrict with binding AS3 variable?

2014-03-07 Thread modjklist
Thanks, that link shows how to restrict unicode characters. That's pretty useful too. - Original Message - From: "Joseph Balderson" To: users@flex.apache.org Sent: Thursday, March 6, 2014 9:42:04 PM Subject: Re: how to mxml restrict with binding AS3 variable