OK so here is what I found: My (mobile) project works in 4.11, not in 4.12 A new mobile projects works in 4.11, not in 4.12 A new project works in 4.11 and in 4.12 with spark theme A new project worls in 4.11 and in 4.12 with the mobile theme if I included mobile.swc and mobilecomponents.swc in the library path
So the issue seems to only occur for mobile projects created as mobile project from 4.12 onwards On Wed, Jul 6, 2016 at 2:22 PM, Fréderic Cox <coxfrede...@gmail.com> wrote: > I have now swapped the custom skin to a new custom skin by using Create > MXML Skin -> Host component Button and copy skin from ButtonSkin. If I add > a textinput in there it is also not responding to mouse events. > > Easy to reproduce now: > > <s:Button skinClass="components.order.CustomHeaderExperimental" width="300" > /> > > CustomHeaderExperimental I only added > > <s:TextInput width="80" right="10" /> > > to the default sparkbuttonskin I created in Flash Builder > > > > On Wed, Jul 6, 2016 at 2:04 PM, Fréderic Cox <coxfrede...@gmail.com> > wrote: > >> The custom skin is a skin with hostComponent is >> >> fr.washmatique.spark.components.navigators.AccordionElementHeader and >> that is defined as >> >> public class AccordionElementHeader extends Button >> >> So it is a custom skin (skinClass set to the Button) which contains >> children. The children of this button skin can not be clicked since 4.12 >> >> On Wed, Jul 6, 2016 at 1:50 PM, Fréderic Cox <coxfrede...@gmail.com> >> wrote: >> >>> Alex, >>> >>> I've investigated some more (and will continue in the coming hours, >>> hopefully not too long ;-)) but it seems the issue is *NOT* related to >>> spark textinput (as the title of this thread now incorrectly states). I >>> have added a button next to the textinput and I'm not able to click that >>> button either. >>> So I am now going to investigate why the mouse events are not triggered >>> on these components inside the custom skin >>> >>> Also a mouseDown handler on the skin itself: >>> >>> <?xml version="1.0" encoding="utf-8"?> >>> >>> <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" >>> >>> xmlns:s="library://ns.adobe.com/flex/spark" >>> creationComplete="skin_creationCompleteHandler(event)" >>> >>> mouseChildren="true" mouseDown="skin1_mouseDownHandler(event)" >>> >>> Is not triggering the event handler .. >>> >>> Any pointers are greatly appreciated. I'll let you know what I find more >>> >>> On Wed, Jul 6, 2016 at 9:34 AM, Fréderic Cox <coxfrede...@gmail.com> >>> wrote: >>> >>>> Clicking into it does not work. Not able to input any text after >>>> clicking into it because no focus is assigned after clicking >>>> >>>> Verstuurd vanaf mijn iPhone >>>> >>>> > Op 6 jul. 2016 om 07:02 heeft Alex Harui <aha...@adobe.com> het >>>> volgende geschreven: >>>> > >>>> > >>>> > >>>> >> On 7/5/16, 2:14 PM, "Fréderic Cox" <coxfrede...@gmail.com> wrote: >>>> >> >>>> >> Hi, >>>> >> >>>> >> I have an existing application (mobile+desktop) that was using Flex >>>> 4.10 >>>> >> with AIR 3.8. I decided to upgrade it to 4.15 and AIR20 but noticed >>>> a bug >>>> >> now. I have a custom skin that contains a TextInput, I am not able to >>>> >> focus >>>> >> into the textinput anymore. >>>> > >>>> > Do you mean that clicking into it doesn't work, or programattically >>>> > assigning focus doesn't work or both or something else? >>>> > >>>> > Thanks, >>>> > -Alex >>>> > >>>> >>> >>> >> >