-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
List:
I am trying to populate a List component from a Remote Shared Object
that is stored within FMS. However the List is blank when I run the
application within FlexBuilder. My Code is as follows:
private function SyncUserList(event:SyncEvent):void {
for (var i in event.target.data) {
var tempList:Object = new Object();
tempList.UserName = event.target.data[i]['UserName'];
Alert.show(tempList.UserName, "Object tempList.UserName",
Alert.OK);
chatPeopleListDP.push(tempList);
}
}
When I run the application tempList.UserName is equal to gpearson and
my mx:List has a labelField of UserName
Any Ideas as to where I have gone wrong in this?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBRxYTtXnjLHMPlkANAQLW1wgAl4jgMHSpxgaTFLHvFGbpI/VhhPyc1Ppa
R9WLb2iIIvkBnCue/RjgQj23MJxWFDApXDMQKuFlzFaLC9wNgRHYBrO741gsPpfC
ocMRYN8GfA1FiaAynY5drZVXzbkUcNumKftHW7/gFDBy70stH9T37iorQ9GDJDNF
KxTaAxQFWH3GpDMoT08Hdj2NyxYa5R5aSqhk57y6xhpWKsCJ/bKrMqtqdu2+jLPy
VFHJ74GldUEhyfBj5WZO17ewjPirYUQ2ZW/v5bqFpFyGrtSqBe4GFDjZLeH/u22g
uLemCsUNO5NtbmRtPf383S3RYwtxlCBdtO70a4mtllm2JUFSngMYPg==
=ohBp
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.