Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: getting stage dims from within anywhere  (Read 6799 times)
landed
Full Member
***
Posts: 37


View Profile Email
« on: July 28, 2009, 07:53:10 »

I cant work out why I get null for the following , ultimately i want to get a stage width

stageMed = ApplicationFacade.getInstance().retrieveMediator(StageMediator.NAME) as StageMediator;


its null so far

Logged
philipSe
Sr. Member
****
Posts: 139


View Profile Email
« Reply #1 on: July 29, 2009, 02:25:12 »

Has StageMediator been registered? - must be registered before it can  be retrieved.
----Philip
Logged
Pages: [1]
Print