2 Replies Latest reply on Sep 14, 2010 7:54 AM by learner_doug

    How can a titleWindow reposition itself within its parent using a click event?

    learner_doug Level 1

      How can I reposition a titleWindow utilizing a click event handler inside the titleWindow itself?


      I generate an instance of a titleWindow (a pre-established custom component) with the PopUpManager which has clickable text (as a child of the titleWindow) that loads an external SWF into the titleWindow.  I liked this because after the external SWF is loaded, I can unload the external SWF and close the window at the same time with the close handler of the titleWindow.  The problem is that when I load the SWF from the titleWindow, it loades exactly in the same place as the titleWindow.  The students can reposition the window, but I'd rather it loaded at the top left of the screen.