Skip navigation
anshuVersatile
Currently Being Moderated

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

Nov 12, 2013 1:50 AM

Tags: #actionscript #flex_4.6

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*/
}

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points