3 Replies Latest reply on Oct 21, 2010 10:59 AM by learner_doug

    Pass properties from clickHandler into a TitleWindow that uses the popUpManager

    learner_doug Level 1

      If there a way to pass parameters from a clickHandler that loads a titlewindow via the

      popUpManager into the TitleWindow?  To begin with, I'd like to change the title based on the ow!_clickHandler.

       

       

      SCRIPT

      // Custom PopUp:ow1 //

       

       

       

      private var popup:ow1PopUp = new ow1PopUp();            //ow1PopUp is a TitleWindow component//

       

       

      protected function ow1_clickHandler(event:MouseEvent):void

      {

      PopUpManager.addPopUp(popup,

       

      this, true);

      popup.x=110;

      popup.y=110;

      }

       

       

      CLICK_HANDLER
      click="ow1_clickHandler(event)"  // I'd like to be able to stuff a variable as an argument here to pass to the TitleWindow's title property.