flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Re: Singleton question
Date Thu, 13 Nov 2014 20:30:45 GMT
The way I know that the object is different is I am checking its internal
name in the Debugger every time I get an instance.

On Thu, Nov 13, 2014 at 2:07 PM, Alex Harui <aharui@adobe.com> wrote:

>
>
> On 11/13/14, 11:33 AM, "mark goldin" <markzolotoy@gmail.com> wrote:
>
>
> >When I am debugging I see that _instance is always different object when I
> >get an instance of my singleton. Is that right?
>
> How do you know it is a different object?
>
> It could be that the code generator for [Bindable] is messing things up.
> You might try switching to [Bindable(“someEvent”)] and manually write the
> getters and setters and have the setters dispatchEvent(new
> Event(“someEvent”);
>
> -Alex
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message