Closing a SkinnablePopUpContainer in actionscript
I have a SkinnablePopUpContainer as follows:
<fx:Component className="AlertMsg">
<s:SkinnablePopUpContainer x="70" y="300">
<s:TitleWindow fontSize="16" title="MyTitle" horizontalCenter="0" close="close()">
<s:VGroup horizontalAlign="center" paddingTop="8" paddingBottom="8" paddingLeft="8" paddingRight="8" gap="5" width="100%">
<s:Label textAlign="center" fontSize="16"
text="MyText"/>
<s:Button label="OK" click="close()"/>
</s:VGroup>
</s:TitleWindow>
</s:SkinnablePopUpContainer>
</fx:Component>
This is for a mobile app. When I swipe and navigator.pushView to another view, the Alert remains on the screen.
Any one know how to close the Alert in the actionscript code?
Seems a silly question, but I just cannot refernce the object to clode it:-(
TIA,
Phil.
