I had to reformat my question because I realized I was using incorrect flex method. But still a similar issue occurs:
private function passForm():void {
PopUpManager.addPopUp(passTitleWindow, this, true);
PopUpManager.centerPopUp(passTitleWindow);
}
<s:Button includeIn="Detail" x="10" y="329"
id= "btn1"
label="Pass"
click="passForm()"
visible="{hasScreen}" />
I click and popup does not display.
You can’t instantiate an item based on it’s
id. Make your TitleWindow into another class and instantiate that.PassTitleWindow.mxml
SampleApp.mxml
Hope that helps,
Lance