I have an AS3 standalone class (does not inherit from any other class).

I want to show a popup window from inside that class using PopupManager 
addPopup (or 
createPopup). Problem is that both methods require an iDisplayContainer class 
to indicate 
where to append the popup to.

Is there any static property/function that would give me my application 
container (any 
container on the stage will do).

Something like Application.application would be perfect, but unfortunately 
Application.application is not available for that class (at least not with 
2.0.1).

I've browsed thru all classes but could not find anything to help.

For now I'm passing (this or Application.application) as an argument to the 
class constructor 
so it can be used later to instantiate the Popup.

Any help or pointer is mostly appreciated.
TIA
julio


Reply via email to