Here is singleton definition:
[Bindable]
public class ModelLocator extends EventDispatcher implements IModelLocator

All properties on that class are public vars.

On Thu, Nov 13, 2014 at 12:00 PM, Alex Harui <[email protected]> wrote:

>
>
> On 11/13/14, 9:16 AM, "mark goldin" <[email protected]> wrote:
>
> >Seems like I am having problems binding to a class that is a member of a
> >singleton.
> >Any pointers?
>
> Depends on what kind of Singleton it is.  Are you getting warnings at
> compile or runtime?  A singleton with static members can’t implement
> IEventDispatcher and there might be limitations on how well the binding
> system will work in that case.  Flex SDK singletons share a single
> instance of an IEventDispatcher and binding should work there.
>
> -Alex
>
>

Reply via email to