flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Binding and singleton
Date Thu, 13 Nov 2014 18:00:53 GMT


On 11/13/14, 9:16 AM, "mark goldin" <markzolotoy@gmail.com> 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

Mime
View raw message