3 Replies Latest reply on Jun 21, 2007 9:59 AM by fuzzarooO

    Figuring out how to trigger an event when a component is visible on screen?

    fuzzarooO Level 1
      Hey guys, I got this arraycollection i'm setting on TAB 1 of my tab navigator. I'm using this array collection as a dataprovider for my grid on TAB 2. I dynamically add rows with an AS function and that seems to work fine when i click on a button on tab 2.

      However, I want my function to get called everytime i switch from tab 1 to tab 2.

      It seems simple enough but some events seem to run the function more than once and that probably isn't the most efficient way like the render event or updateComplete.