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
That probably means that some child object isn't created yet, although Binding
usually ignores such errors. Might you be calling initialize() out of order?
There is a recipe for creating components that we recommend you follow. It
is written up in the documentation, but also recently in Flex
finally it worked using BindingUtils.bindProperty and rewriting some
code related to [Bindable] get/set methods.
It seems that the main error its due to this kind of binding:
text={iMap.map.selectedLayer.label}
In that case databinding is not handling gracefully the case when iMap
is null.
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 flexcoders@yahoogroups.com, Vijay Anand Mareddy [EMAIL PROTECTED]
wrote:
dont worry its only a warning.
You can
Code?
--- In flexcoders@yahoogroups.com, Juan Carlos M. [EMAIL PROTECTED] 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 flexcoders@yahoogroups.com,
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 flexcoders@yahoogroups.com, Juan Carlos M. [EMAIL PROTECTED] wrote:
Hi... may this is weird
I´ve extended a Canvas component using mxml. When I use that
6 matches
Mail list logo