|
Hmm, nope. This is what I tried import
mx.collections.ArrayCollection; [Bindable] public var arrMdta:Array = new Array(); private function init():void { for(var
i:Number = 1; i < 100; i++) { var
filePath:String = "assets/image"; if(i.toString().length
== 1) filePath += "00"; if(i.toString().length
== 2) filePath += "0"; filePath
+= i.toString() + ".jpg"; arrMdta.push(new
Mdta(filePath)); } } And in mxml <mx:ArrayCollection
id="acGallery" source="{arrMdta}" /> Repeater: <mx:Repeater id="rptGallery"
dataProvider="{acGallery}"> <ui:thumb
imagePath="{rptGallery.currentItem.fileName}" /> </mx:Repeater> No luck, now I don’t have any items. From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shannon Hicks Close... that's the point of binding to an
ArrayCollection. Shan From:
[EMAIL PROTECTED] Hi, <ui:thumb
imagePath="{ </mx:Repeater>
public var
arrMdta:Array = [new Mdta("assets/ { for(var
i:Number = 1; i < 100; i++)
{ var
filePath:String = "assets/image"
if(i.toString(
if(i.toString(
filePath += i.toString() + ".jpg";
arrMdta.push( } } Jonas
-- --
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [Junk E-Mail - MED] [flexcoders] Binding array to repe... Jonas Windey
- Re: [Junk E-Mail - MED] [flexcoders] Binding array to... Clint Tredway
- RE: [Junk E-Mail - MED] [flexcoders] Binding arra... Jonas Windey
- Re: [Junk E-Mail - MED] [flexcoders] Binding array to... Renaun Erickson

