And that's what I am basically doing. But I also need to do something in a
view when gets on screen. CreationComplete is not working because it only
fires once.

On Fri, Feb 17, 2017 at 2:01 AM OK <[email protected]> wrote:

> mark goldin wrote
> > I have two views in it. By changing selectedIndex I can show one or
> > another. I am having some problems with this solution because I am using
> > createComplete event which only fires once per view. Is there another
> > event
> > that I could use in my view to know when it gets on screen?
> >
> > Thanks
>
> You could listen to the ViewStacks change event and determine the displayed
> view by the selected index.
>
> HTH,
> Olaf
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/ViewStack-tp14695p14696.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to