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

Show Posts

| * |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Bug Report / initialization in Facade on: January 19, 2009, 10:35:22
I understand that statics are not accessible when you extend a class, such as the Facade, but I am getting errors as soon as I compile, and I think that a small modification is needed:

:
// The Multiton Facade instanceMap.
private static var instanceMap : Hash<IFacade>;

Change to:

:
// The Multiton Facade instanceMap.
private static var instanceMap : Hash<IFacade> = new Hash();

I am just starting to use MC and I am trying to convert one of my projects.
Please correct me if I am wrong. It's seems strange that no one has reported the same problem.
Pages: [1]