0 Replies Latest reply: Nov 12, 2013 1:50 AM by anshuVersatile RSS

    I want to change Property( Call Function ) Of Custom Component Popup From Main.mxml (Main Applicatio

    anshuVersatile

      I want to change Property( Call Function ) Of Custom Component Popup From Main.mxml (Main Application) My Custom Component is ->

      public class PropertyPanel extends Panel
      .....

      in it I have

      public function minimisePanel(e:MouseEvent):void{
                  effResize
      .heightTo = previousHeight;
                  effResize
      .widthTo = 200;
                 
      this.x = parentApplication.width - 320;
                  effResize
      .play([this]);
             
      }

      In Main Application I Called Popup As -->

      private function AddPropertiesPanel():void{
         
      var PropWindow:IFlexDisplayObject;
         
      PropWindow =    PopUpManager.createPopUp(this, Property_Panel, false);
         
      /*Property_Panel is Property_Panel.mxml*/
      }

      And In Main Application I Want to -->

      public function setCurrObj(event:TransformEvent):void{
      /*Some Magical Stuff Required Here*/
      }