it seems I can't access the child elements of a bindable Object.
2007/8/24, Matthias Dittgen <[EMAIL PROTECTED]>:
> Hello Chris,
>
> i tried with Collection, but I don't get into this.
>
> this is in a seperate .mxml class called Template:
> <mx:Script>
> <![CDATA[
> import mx.collections.XMLListCollection;
> [Bindable] public var _xml:XMLListCollection;
> ]]>
> </mx:Script>
> <mx:Tile width="1120" height="700">
> <mx:Repeater id="itemRepeater" dataProvider="{_xml.list}" count="4">
> <mx:Label text="{itemRepeater.currentItem.src}" />
> </mx:Repeater>
> </mx:Tile>
>
> this way, I try to acces Template:
> var t:Template = new Template()
> t._xml = XMLCollection(myXmlList);
> addChild(t);
>
> The error in my console is still the same. :(
> Matthias
>
> 2007/8/24, Chris Velevitch <[EMAIL PROTECTED]>:
> > It's because XMLList is like Array, you'll use XMLListCollection like
> > have to use ArrayCollection to fully utilise binding.
> >
> >
> > Chris
> > --
> > Chris Velevitch
> > Manager - Sydney Flash Platform Developers Group
> > m: 0415 469 095
> > www.flashdev.org.au
> >
> > _______________________________________________
> > osflash mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org