4 Replies Latest reply on Jul 20, 2006 11:07 PM by howik

    Creating a function (to check windowlist)

    vooboo13
      I want to create a function (or handler) that when called will check to see if any popups exist (by checking windowList). If so, I want to see if any of those are set to invisible (meaning they closed the popup window) and have it close and forget the window.

      Now, when I create any function at all.. say:

      on testFunction
      return trace(_player.windowList)
      end

      and place it in the first frame.. and try to use it by putting it in a button:

      on mouseUp
      testFunction
      end

      it tells me that the handler doesn't exist. What am I doing wrong?