Flex mojos 6.0.1 and Flex SDK 4.10 - Facing problem with AS classes inclusion

2014-03-06 Thread Poonam Anand
I have mavenized Flex SDK 4.10 and using generated maven artifacts in my local repository. Also made changes to pom file as per mojos 6. Build is successful but swc it generates has only assets and stylesheets (i.e files) but none of AS, MXML classes are getting included. Earlier we were using mojo

Re: Can Flex application verify server certificate?

2014-03-06 Thread Sean Thayne
I'm pretty sure, if you want this, you'd have to code up a socket to do this. I'm guessing there is some existing libs for this. Possibly https://code.google.com/p/as3httpclientlib/ -Sean Thayne On Thu, Mar 6, 2014 at 10:31 PM, Me.Com wrote: > Hi, > > When my Flex application communi

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread OmPrakash Muppirala
Hey, thanks for catching that! I just updated my blog post with the correct URL. Om On Thu, Mar 6, 2014 at 9:42 PM, Joseph Balderson wrote: > If anyone's interested, the ref link in Om's blog entry is out of date. > You can > find it at: > > http://help.adobe.com/en_US/FlashPlatform/reference

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Joseph Balderson
If anyone's interested, the ref link in Om's blog entry is out of date. You can find it at: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.html#restrict ___ Joseph Balderson, Flex & Flash

Can Flex application verify server certificate?

2014-03-06 Thread Me.Com
Hi, When my Flex application communicates with server via HTTPS, is it possible for me to verify the certificate used by server? More specifically, I would like to verify that certificate not just valid but belongs to particular organization. Cheers, Andrei

Re: HierarchicalCollectionView filterfunction

2014-03-06 Thread Alex Harui
In HCV, internalRefresh() should get called, apply the filter to openNodes and update the length. On 3/6/14 8:06 AM, "ilikeflex" wrote: >Very Basic Question: > > >When we filter mx.collections.ArrayCollection then after refresh we see >the >change in length. [ collection.length is equal to filt

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread OmPrakash Muppirala
On Thu, Mar 6, 2014 at 12:33 PM, wrote: > Thanks Om, your blog explained it all. Hadn't seen it before, and thanks > for writing it. > > I am glad I noted that nugget down. I don't remember how or when I ran into that issue. Anyways, glad that it helped you :-) Thanks, Om > - Original M

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 variable? On Mar 6, 2014

RE: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Kessler CTR Mark J
I remember certain regex patterns it makes a difference if you move certain characters to the end of the list. -Mark -Original Message- From: modjkl...@comcast.net [mailto:modjkl...@comcast.net] Sent: Thursday, March 06, 2014 12:11 PM To: users@flex.apache.org Subject: Re: how to mxml r

RE: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Maurice Amsellem
Regarding your original question of why you need \\ for escaping "-" or "^", this is because they are special characters, that must be escaped with "\". Now, it seems that the compiler will also interpret "\" in static string as escape chars, except for \n, \t , \r ... So that might be the reason

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread OmPrakash Muppirala
On Mar 6, 2014 9:11 AM, wrote: > > 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 characters, but TWO backslashe

RE: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Maurice Amsellem
The restrict test happens in mx.util.StringUtil. testCharacter() The restrict sequence is parsed for each typed char. I am currently looking at the code. You might also have a look at it, if you have something .. Maurice -Message d'origine- De : modjkl...@comcast.net [mailto:modjkl...@c

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread modjklist
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 characters, but TWO backslashes to escape the minus sign (e.g. \\-)

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread modjklist
Setting textInput.restrict=... in creation complete didn't change anything. There must be some difference or interaction between escape characters written in AS3 working in mxml. I need a programmatic solution, as there are so many places I can't manually write mxml code for each restrict. Any i

Re: how to mxml restrict with binding AS3 variable?

2014-03-06 Thread Alex Harui
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 TextInput to see if got modified somehow. On 3/6/14 8:25 AM, "modjkl...@comcast.net" wrote: >Spark TextInput, on web/desktop. > >-

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 web/desktop? Mauri

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: HierarchicalCollectionView filterfunction

2014-03-06 Thread ilikeflex
Very Basic Question: When we filter mx.collections.ArrayCollection then after refresh we see the change in length. [ collection.length is equal to filtered records ] But when we filter HierarchicalCollectionView which property gets changed after the filter function. -- View this message in

Re: HierarchicalCollectionView filterfunction

2014-03-06 Thread Alex Harui
I don't think the code came through correctly. Use the debugger to see if HCV openNode is being called. You might have to collapse all open nodes when the filter changes. On 3/5/14 9:21 PM, "ilikeflex" wrote: >Attached is sample code.. > > >In text box write 'nine" >Click "test" button. >I was

how to mxml restrict with binding AS3 variable?

2014-03-06 Thread modjklist
Everytime I try to modify my restrict characters I run into problems, so I don't think I'm understanding it well. My understanding was that I need to use a \ character before another character to escape it in AS3. However, since I'm using an AS3 variable in a bind expression for mxml, perhaps th

RE: MobileGrid Usage Example

2014-03-06 Thread Maurice Amsellem
I disabled horizontal scrolling on purpose, because that's not the way it's expected to work. When horizontal and vertical scrolling are enabled, the user can scroll freely through the grid like it is a large "map" or an "image". What is needed is EITHER horizontal OR vertical scrolling but not

Re: MobileGrid Usage Example

2014-03-06 Thread Deepak MS
Oh! That's great. That's really very kind of you. I'll go through those links and try to get a hang of this component. While I was going through one of the link, I came across this limitation: MobileGrid does not scroll horizontally, even when the column widths exceeds the component's width. Is t

RE: MobileGrid Usage Example

2014-03-06 Thread Maurice Amsellem
Hi Deepak, . You can check the online documentation, that also includes examples: http://flex.apache.org/asdoc/index.html Unfortunately, the "frame" asdoc does not support links, so I will provide links in the "no frame" view. Click on "Frames" to the top right to display the navigation

MobileGrid Usage Example

2014-03-06 Thread Deepak MS
Hello, I started using MobileGrid. But ran into some problems: I am not able to change header color and header text color. I wanted to use a itemrenderer on one of the column and I extended labelitemrenderer but I got error saying I need to use IMobileGridCellRenderer, not quite sure what that d