Flex popup Query

0 views
Skip to first unread message

abhishekchess1

unread,
Oct 10, 2008, 4:54:26 AM10/10/08
to Chennai Flex User Group
hello frnd,
i'm showing 1 popup form , then i'm showing anather popup form
from it but it not comming at center of the screen , it is going to
left side of the screen,
this is my code
this i write in 1st popup form

public function compForumTopicFunc(evt:ListEvent):void {
var pop_comp_forum_discussion:comp_discussion =
comp_discussion(

PopUpManager.createPopUp(UIComponent(this.parentApplication.parentApplication),
comp_discussion, true));

PopUpManager.centerPopUp(pop_comp_forum_discussion);


}

could u tell me how to show it at center ?
thx you

Jeethu Karthik

unread,
Oct 10, 2008, 5:47:43 AM10/10/08
to chennai-fle...@googlegroups.com
 public function compForumTopicFunc(evt:ListEvent):void {
       var pop_comp_forum_discussion:comp_discussion = new comp_discussion();
       PopUpManager.addPopUp(pop_comp_forum_discussion, this, false, null);
       PopUpManager.centerPopUp(pop_comp_forum_discussion);
}


Try this...


-- Jeethu Karthik J
  http://jeethukarthik.com

Lenny Bruce  - "Communism is like one big phone company."
Reply all
Reply to author
Forward
0 new messages