RE: Mobile TextInput swipe

2013-11-24 Thread Maurice Amsellem
BTW, I haven't tried any versions of your code, but I'm still surprised that text selection works. I would think that trying to swipe-select a word or placing the insertion cursor at an exact spot would also be problematic with the bitmap proxy in the way. You must put the focus on the text

RE: Mobile TextInput swipe

2013-11-24 Thread Maurice Amsellem
1. touchInteractionStart dispatched before mouseDown, so it's better to listen for mouseUp to show StageText instance, otherwise it will definitely interrupt scrolling of the flash display list. Agree. 2. Use only one StageText instance sounds like a brilliant idea, but if you put 10

Issue in soft keyboard management

2013-11-24 Thread Maurice Amsellem
Hi, I noticed that isSoftKeyboardActive and other soft keyboard function do not work when softKeyboardBehavior is not set in AIR app descriptor, although, the comment says that if not set, its equivalent to pan. Possible cause: In spark Application. get softKeyboardBehavior if not found, set

Re: Mobile TextInput swipe

2013-11-24 Thread Alex Harui
All this reminded me that I don't think there were any serious upgrades to FocusManager for mobile, and it is quite possible that there should be. Maybe the whole framework in mobile-mode should ignore mouseDown and determine if the gesture is a tap or not before assigning focus. In FlexJS with

Re: Build failed in Jenkins: flex-sdk_release #329

2013-11-24 Thread Erik de Bruin
Apache servers seem to have a difficult time today, multiple jobs fail because downloads from multiple dependencies fail. EdB On Sun, Nov 24, 2013 at 4:45 PM, Apache Jenkins Server jenk...@builds.apache.org wrote: See https://builds.apache.org/job/flex-sdk_release/329/

Re: Mobile TextInput swipe

2013-11-24 Thread 周 戈
Hi all, Maybe the whole framework in mobile-mode should ignore mouseDown and determine if the gesture is a tap or not before assigning focus. Please don’t do that, current framework’s FocusManager is doing fine, if Flex team makes any serious upgrades to it, it will impact a lot of things

Re: Mobile TextInput swipe

2013-11-24 Thread 周 戈
Just extends VisualElement and implements the IEditableText, it will work the way like a RichEditableText (but less powerful than RichEditableText), you can use it in Spark TextInputSkin / TextAreaSkin as a skin part. Sorry for my typo, what I mean is “Just extends the SpriteVisualElement

RE: Mobile TextInput swipe

2013-11-24 Thread Maurice Amsellem
And why you develop ScrollingStageTextInput and ScrollingStageTextArea and their skins (ScrollingStageTextInputSkin and ScrollingStageTextAreaSkin)? I don’t think that’s necessary. There is not ScrollingStageTextInput and ScrollingStageTextArea. The class involved are the following: - spark

RE: Mobile TextInput swipe

2013-11-24 Thread Maurice Amsellem
IMO, the whole concept of focus is much less central on mobile platform than it can be on desktop, mainly because there nothing such as Tab or arrow keys on a mobile. The notable exceptions are: - Text Input fields - Windows / Popup on mobile (for the hard back/menus keys). WDYT? Maurice

Re: Mobile TextInput swipe

2013-11-24 Thread 周 戈
Hi Maurice, I agree most of your say, your thought is as good as mine : ) The only idea I want to clarify is: I think the key point is to use StageText to develop a RichEditableText alternative. In other words, the ScrollableStageText should ultimately works like a RichEditableText (of course

RE: Mobile TextInput swipe

2013-11-24 Thread Maurice Amsellem
Hi, so the ScrollableStageText itself won’t need a border skin. I don't get you. This is already the case: The border is defined is the ScrollableStageTextInputSkin. We could write fxg code (like s:Rect) in TextInputSkin.mxml to design the border, which wraps the ScrollableStageText skin

Re: Mobile TextInput swipe

2013-11-24 Thread DarkStone
Hi Maurice, Okay, I see. You are doing the right thing, sorry for my misunderstanding before. Good luck and have fun! Sent from DarkStone's iPhone 在 2013年11月25日,5:15,Maurice Amsellem maurice.amsel...@systar.com 写道: Hi, so the ScrollableStageText itself won’t need a border skin. I

RE: Mobile TextInput Implementation status

2013-11-24 Thread Maurice Amsellem
Hi, I fixed two sub-issues/limitations related to the new ScrollableStageText https://issues.apache.org/jira/browse/FLEX-33929 : Android : NPE in disposeProxy() bitmapData is null https://issues.apache.org/jira/browse/FLEX-33931 : Cannot initiate view scrolling from a TextInput/TextArea with

[FlexJS] Build Scripts, FlexJSOverlay replaced by ApacheFlexJS.zip

2013-11-24 Thread Alex Harui
Hi, I just checked in some changes to flex-falcon and flex-asjs to allow for a build script in flex-asjs. The main target will build the SWCs. The examples target will build all of the examples. The release target will build apache-compliant release packages. The package-sdk target will

Re: Mobile TextInput swipe

2013-11-24 Thread Alex Harui
I'm not sure what you mean by central, but if you're saying that it isn't clear that a FocusManager is even needed and you could rely on built-in AIR behavior, that would definitely be worth a try. -Alex On 11/24/13 12:16 PM, Maurice Amsellem maurice.amsel...@systar.com wrote: IMO, the whole

Re: [FlexJS] Build Scripts, FlexJSOverlay replaced by ApacheFlexJS.zip

2013-11-24 Thread OmPrakash Muppirala
This is a big step forward! Thanks Alex. Regards, Om On Sun, Nov 24, 2013 at 11:10 PM, Alex Harui aha...@adobe.com wrote: Hi, I just checked in some changes to flex-falcon and flex-asjs to allow for a build script in flex-asjs. The main target will build the SWCs. The examples target

Jenkins build number in SDK

2013-11-24 Thread Maurice Amsellem
Hi, Is the Jenkins build number referenced in the Flex SDK ? I am asking because the build number allows to determine precisely what's in a release. Maurice Maurice Amsellem SYSTAR RD - BusinessBridgeFX