Re: [flexcoders] unable to bind to property

2010-08-02 Thread Alex Harui
If you have binding expressions in the renderers and the data types are object you will get this warning. Use [Bindable] classes instead of plain Objects. On 8/2/10 3:43 PM, "luvfotography" wrote: Hi, I'm getting this message, I know it's not much to go on, but what could be the cause? I

[flexcoders] unable to bind to property

2010-08-02 Thread luvfotography
Hi, I'm getting this message, I know it's not much to go on, but what could be the cause? I have an array of objects of type 'myclass' and create an arraycollection for a datagrid. The warning just pops up in the console multiple times. warning: unable to bind to property 'name' on class 'Obje

[flexcoders] unable to bind to property 'width' on class 'Object'

2008-11-04 Thread Juan Carlos M.
Hi... may this is weird I´ve extended a Canvas component using mxml. When I use that component inside a titlewindow it works... but it doesn´t work inside other components and flex's console shows this error: warning: unable to bind to property 'width' on class 'Object' (class is not an IEven

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-21 Thread Richard Rodseth
vents.EventDispatcher; >> >> > >> >> > public class TestBindings extends EventDispatcher >> >> > { >> >> > >> >> > private var myNumber : Number = 10; >> >> > >> >> > public fun

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Josh McDonald
> > >> > myNumber++; > >> > dispatchEvent(new Event("numberUpdated")); > >> > } > >> > > >> > [Bindable(event="numberUpdated")] > >> > public function get publicNumber() : Number { return myNumber; } > >

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
> > [Bindable(event="numberUpdated")] >> > public function get publicNumber() : Number { return myNumber; } >> > } >> > } >> > ------- >> > >> > This works as you'd expect it to, so it is possible to bind to read-on

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Josh McDonald
t it to, so it is possible to bind to read-only > > (and therefore also to immutable, if that really floats your boat) so > long > > as it's an IEventDispatcher. > > > > -J > > > > On Wed, May 21, 2008 at 2:34 PM, Alex Harui <[EMAIL > > PROTECTED]&

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
x27;s why it is a warning. Sometimes you can ignore it. >> >> >> >> >> >> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On >> Behalf Of Richard Rodseth >> Sent: Tuesday, May 20, 2008 9:11 PM >>

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Josh McDonald
t; Behalf Of *Richard Rodseth > *Sent:* Tuesday, May 20, 2008 9:11 PM > > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] "unable to bind to property" warnings binding > to read-only properties > > > > Message delivery failed. Trying again, this t

RE: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Alex Harui
; From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On >> Behalf Of Richard Rodseth >> Sent: Tuesday, May 20, 2008 2:53 PM >> To: flexcoders@yahoogroups.com <mailto:flexco

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
>> >> >> >> >> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On >> Behalf Of Richard Rodseth >> Sent: Tuesday, May 20, 2008 2:53 PM >> To: flexcoders@yahoogroups.com >> Subject: Re: [flexcoders]

RE: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Alex Harui
I think it will detect changes where it can. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Tuesday, May 20, 2008 5:10 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] "unable to bind to pro

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Josh McDonald
> see changes to it. > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Richard Rodseth > *Sent:* Tuesday, May 20, 2008 2:53 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] "unable to bind to property&qu

RE: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Alex Harui
ubject: Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties Just when I think I understand binding I believe I have the same issue described below. I have an immutable class DateRange. Surely, if I have [Bindable] public var range:DateRange; I sh

Re: [flexcoders] "unable to bind to property" warnings binding to read-only properties

2008-05-20 Thread Richard Rodseth
Just when I think I understand binding I believe I have the same issue described below. I have an immutable class DateRange. Surely, if I have [Bindable] public var range:DateRange; I should be able to have a binding expression "{model.range.start}" ? Thanks! On Thu, Jul 19, 2007 at 8:06 A

[flexcoders] unable to bind to property on class....

2007-04-10 Thread scott_flex
I'm not the first person to run into this and after searching some previous threads i don't see any good explanations. Any help is appreciated. When i build my app, i get these warning messages and not sure how to fix them. I don't get any errors when i bind a label's text property like thi

[flexcoders] unable to bind to property

2006-06-06 Thread Brendan Meutzner
So I think I'm in need of some "Paint by Numbers" help here... this one's just confusing me... I've got an array that I'm populating with plain old Objects. I then use that array as a dataProvider for a Repeater (or what have you) and bind some labels within that repeater to properties of my Obje