flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlos.rov...@codeoscopic.com>
Subject Re: SimpleBinding changes make createjs sample stop working
Date Thu, 02 May 2013 21:35:38 GMT
Hi Alex,

I commit a solution that fixes the problem, but I don't know if is
compliant with the motivation you make this change (minified version).

I think binding should work even if we don't have a getter/setter setup,
but I'm to new to this new framework that maybe this is not what you have
in mind.

So it's up to you to change if you see some problem with this fix.


2013/5/2 Alex Harui <aharui@adobe.com>

>
>
>
> On 5/1/13 3:40 PM, "Carlos Rovira" <carlos.rovira@codeoscopic.com> wrote:
>
> > Hi Alex
> >
> > this latest change in SimpleBinding:
> >
> > -    this.source = this.document[this.sourceID];
> > +    this.source = this.document['get_' + this.sourceID]();
> >
> >
> > Makes the createjs sample to not generate controls far beyond a
> > SimpleBinding.
> >
> > I need to change the sample code or it's a bug?
> Well, using getters is correct.  Are you binding to something that isn't a
> getter in AS?  Maybe the JS version of that property should have been a
> get/set pair.
>
> But if you want, you can also try to make SimpleBinding tolerant and find
> things that aren't getters.
> >
> > Thanks
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>


-- 
Carlos Rovira
Director de TecnologĂ­a
M: +34 607 22 60 05
F:  +34 912 94 80 80
http://www.codeoscopic.com
http://www.directwriter.es
http://www.avant2.es

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