2 Replies Latest reply on Jul 15, 2008 2:54 PM by Gregory Lafrance

    Popup Help

    jmf5123
      I'm using the pop up manager to create my own custom pop up. I want to use an event that was called in the parent state of the pop up in the actual pop up. I tried copying and pasting the function that created the event in the original state and that didn't work.
        • 1. Re: Popup Help
          EDendramis Level 1
          did you try this.parentApplication in your code?

          Anything that is in an application, no matter how far down in the DOM or if it gets added at runtime, can access any function on the parent app by doing this.parentApplication.
          • 2. Re: Popup Help
            Gregory Lafrance Level 6
            And if you are having problems with parentApplication, try Application.application (not that you would, its just that I have used Application.application more).

            I've also used parent. in some cases.