All,

I was troubleshooting this binding warning the other day myself and ran
across this blog - that at least in my case - addressed the issue,
complete with a detailed explanation and code examples.  The key is
using an ObjectProxy.

http://blog.wheelerstreet.com/?p=16
<http://blog.wheelerstreet.com/?p=16>

I hope that helps.

-Jun

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Correction, the warnings do show up in FB after all.
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of Tracy Spratt
> Sent: Tuesday, March 06, 2007 1:11 PM
> To: [email protected]
> Subject: RE: [flexcoders] Another data binding question - "on class
> 'XML' (class is not an IEventDispatcher)"
>
>
>
> Hey, Julien, did you figure this out yet?  I just noticed it in my
trace
> log.  And oddly, I do not get the warnings in FlexBuilder.
>
>
>
> Perhaps it is a spurious warning? The archives don't show any
definitive
> solution.  I'm still looking.
>
>
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of julien castelain
> Sent: Friday, March 02, 2007 1:20 AM
> To: [email protected]
> Subject: [flexcoders] Another data binding question
>
>
>
> Hi list,
>
> I have a DataGrid in my application that gets populated from an XML
> file. Displaying the data in the grid 'as text' works fine, but I
> wanted to use an item renderer, as soon as I do this I get this
warning
> :
>
> "warning: unable to bind to property 'icon' on class 'XML' (class is
> not an IEventDispatcher)"
>
> How can I get rid of that warning? Do I have to cast the XML to some
> other class, and how could I do this?
>
> Thanks for your help.
>
> Julien
>

Reply via email to