dont worry its only a warning.
You can get ride of it by typecasting your Object into an XML like this:
{ XML(object).width }
--- In [email protected], "Juan Carlos M." <[EMAIL PROTECTED]> wrote:
>
> 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 IEventDispatcher)
>
> (it seems that measure method is in an infinite loop... )
>