• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How to Create Dynamic POP section

Guest
Dec 09, 2011 Dec 09, 2011

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?

Views

697

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 12, 2011 Dec 12, 2011

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;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 12, 2011 Dec 12, 2011

Copy link to clipboard

Copied

can you send any sample code for this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 12, 2011 Dec 12, 2011

Copy link to clipboard

Copied

LATEST

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;

            }

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines