Popup Window issue with PureMVC


hi

 

i trying have popup screen appear using puremvc. problem having popup appearing, component want contained withint popup window blank.

 

i not sure why is. using reference

http://cookbooks.adobe.com/post_creating_a_popup_with_flex_4_and_puremvc-17596.html

 

where in component go inside titlewindow create panel, give id , within panel visual elements want.

 

eg:

 


private function showprojectwizard():void {





var theapp:applicationmanager;

 

 




titlewindow = titlewindow.show(projwizard.content, "title window22", titlewindow.ok_cancel_buttons, true, null,closehandler)







popupmanager.centerpopup(projwizard);


}

 

 

this projectwizard component

 

<?xml version="1.0" encoding="utf-8"?>

<s:hbox  xmlns:sas="http://www.sas.com/flex/mxml" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:s="library://ns.adobe.com/flex/spark" height="400" width="400">

          <s:panel id="content" height="100%" width="100%">

 

                              <s:label id="name_id" x="10" y="0" text="name:"/>

                              <s:label id="location_id" x="10" y="20" text="location"/>

                              <s:label x="10" y="56" />

                              <s:label id="source_id" x="10" y="88" text="document source:"/>

 

                              <s:textinput x="70" y="0"/>

                              <s:textinput x="70" y="30"/>

                              <s:vscrollbar x="284" y="56"/>

                              <mx:hrule x="98" y="127"/>

 

          </sas:panel>

 

 

</s:hbox>

 

 

any thoughts on why small titlewindow 2 buttons nothing in middle appearing?

any reason you're opening <s:panel> closing </sas:panel> in different namespace?



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support