Show/hide on a child does not fire when the parent's visible property is changed. The stage property does not change either.
It is possible to add a capture phase listener to a parent, but it will also see show/hide in the siblings. On 1/21/14 11:05 AM, "jude" <[email protected]> wrote: >does this work when a parent element is shown or hidden? I think if show >event doesn't do what you want you can listen for add or added event and >then check if the stage property is null or not. If it's not null then >it's >on the display list or "visible". > >On Monday, January 20, 2014, Jagan Langa Sami Durai <[email protected]> >wrote: > >> Hi Mark >> >> show event will trigger only when a component/container's visible >>property >> is set to true from false. >> >> >> >> >> >> *Regards,S. Jagan Langa* >> >> >> 2014/1/16 mark goldin <[email protected] <javascript:;>> >> >> > How would I access show event? I am extenidng skinablecontainer to >>use it >> > as a base class for my screens. I added this to it: >> > addEventListener(FlexEvent.SHOW, onFocusIn); >> > >> > But dont see onFocusIn being called. >> > >> > >> > On Thu, Jan 16, 2014 at 12:43 AM, Jagan Langa Sami Durai < >> > [email protected] <javascript:;>> wrote: >> > >> > > try using "show" event. it will fire when ever a "screen"'s visible >> > > property is set to true from false. >> > > >> > > >> > > >> > > >> > > >> > > *Regards,S. Jagan Langa* *|* *Team Lead* >> > > *Sybrant Technologies Pvt Ltd* >> > > >> > > *--------------------------------* >> > > Mobile: +91 98430 50897 >> > > Skype: seesamjagan >> > > >> > > >> > >> >>------------------------------------------------------------------------- >>------------------------- >> > > >> > > In The Media: >> > > >> > > >> > >> >>http://www.pr-inside.com/motorola-solutions-showcases-sybrant-s-mobile-r3 >>745747.htm >> > > >> > > >> > > >> > > *About Sybrant:* >> > > >> > > *³Sybrant is a premier web/mobile/UIUX expert. Most admirable IT >>firms >> in >> > > India too, leverage Sybrant¹s expertise for their Web & UIUX needs. >>We >> > are >> > > recognized for working with our clients right from the product >> > > conceptualization till the execution stage offering end-to-end >> solutions >> > > that sets us apart from other firms in this space. Right from >> developing >> > a >> > > learning management system for a French company to helping a >>Non-Profit >> > > with a Mobile application till developing UX for a IT firm, Sybrant >>is >> > > known for delighting Customers²* >> > > >> > > >> > > >> > >> >>------------------------------------------------------------------------- >>------------------------- >> > > >> > > >> > > 2014/1/16 Alex Harui <[email protected] <javascript:;>> >> > > >> > > > Screens don't have focus. Only individual input components do. >> > > > >> > > > There is no event fired when a display object is occluded by >>another >> > one. >> > > > >> > > > On 1/15/14 11:51 AM, "mark goldin" >><[email protected]<javascript:;>> >> wrote: >> > > > >> > > > >By screen I mean a screen that currently has a focus. Then that >> screen >> > > > >goes >> > > > >away by for example switching to another Tab in a Tab Navigator. >> But I >> > > > >dont >> > > > >want to use Tab Navigator events. I want something very generic. >> > > > > >> > > > > >> > > > >On Wed, Jan 15, 2014 at 1:44 PM, Alex Harui >><[email protected]<javascript:;>> >> wrote: >> > > > > >> > > > >> What do you mean by "screen"? >> > > > >> >> > > > >> On 1/15/14 10:36 AM, "mark goldin" >><[email protected]<javascript:;>> >> wrote: >> > > > >> >> > > > >> >Is there an universal event that always fires when a screen is >> > shown >> > > or >> > > > >> >hidden by any means? >> > > > >> > >> > > > >> >Thanks >> > > > >> >> > > > >> >> > > > >> > > > >> > > >> > >>
