Getting started with PureMVC/AS3 and confused about the scope and declaration of facade. Where is there a global instance named facade declared? Couldn't find it in PureMVC.
Specifically I would like to add utility methods to the concrete app-specific subclass of Facade and have the facade instance (global scope? package scope?) be of type MyAppFacade rather than the base Facade.
I see the static instance: Facade declaration in Facade.as, and that makes sense. But I don't see any global/static declaration of facade: Facade. How is everything able to refer to facade.registerProxy(...) etc? Don't tell me it's all one giant closure?!
Thanks,
k.