puremvc
|
|
« Reply #1 on: March 10, 2009, 04:22:38 » |
|
It sounds like yor model does need to track the layout metrics. That doesn't mean it should actually know about the view components that use those metrics for laying themselves out. Not that it is an specific guide for your implementation, but check out the AIR demos that use the DesktopCitizen utility, which persists the window metrics for your app. Also check out the HelloFlash demo which has some dynamically created mediators for self-directed sprites.
Also search these forums for the topic 'Document-based app' where I responded with thoughts about the pairing of dynamically generated mediators and proxies that represent and manage documents.
-=Cliff>
|