Copy link to clipboard
Copied
Hi
I am creating a app using Flash builder 4.6. can any one tell me how to show dynamic content in a pop box. I want to display person details in a pop up?
Copy link to clipboard
Copied
If the properties in the popup are public you can set them from the parent application
eg
mypopup.prop = 4;
Copy link to clipboard
Copied
can you send any sample code for this?
Copy link to clipboard
Copied
sure
public function showPopup (item: MainApplicationDataType) : void {
var win:EditItemPopup = new EditItemPopup();
// set properties |
win.editingItem = item;
context.viewManager.addViewRoot(win);
PopUpManager.addPopUp(win,this,true);
win.x = 10;
}