I had to rewrite my mxml component as an actionscript component...
although there are some "warning: unable to bind to property 'width'
on class 'Object' (class is not an IEventDispatcher)" the component is
shown on the screen...

but there is a new issue...
this piece of code that worked in the mxml version:
_legendWindow = ThemesControl(
                PopUpManager.createPopUp(this,ThemesControl, false));


now throws the following error:
TypeError: Error #1009: No se puede acceder a una propiedad o a un
método de una referencia a un objeto nulo.
        at _ThemesControlWatcherSetupUtil/setup()
        at ThemesControl/initialize()[ThemesControl.mxml:0]


--- In [email protected], "florian.salihovic"
<[EMAIL PROTECTED]> wrote:
>
> Code?
> 
> --- In [email protected], "Juan Carlos M." <colombia@> wrote:
> >
> > but the problem is that component doesn´t appear on screen...
> > ...it seems that it is unable to add it's child components... (measure
> > method is called in an infinite loop)
> > 
> > 
> > 
> > --- In [email protected], "Vijay Anand Mareddy" <vam2@>
wrote:
> > >
> > > 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." <colombia@>
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... )
> > > >
> > >
> >
>


Reply via email to