Hey,
I want to read an Atom in Flex. I can see in the debugger that he can read the Atom and that there are entries, I can see each value. So far, so good.
But when I want to assign a value from the atom to a variable, he never gives any text. It's always this: "".
My code:
ch.Name = xml.title;
ch.Desc = xml.subtitle;
ch.Updated = xml.updated;
for each(var entry:XML in xml.entry)
{ var fee:Feed = new Feed();
fee.Name = entry.title;
fee.Url = entry.link.@href;
fee.Desc = entry.summary;
fee.Updated = entry.updated;
fee.Published = entry.published;
ch.Children.addItem(fee);
}
For example this is the value ch.Name gets
ch.Name = "";
But that's strange, because I can see in the debugger that it schould be "Tweakers.net". It becomes even more strange, because it works just fine with RSS.
Thanks a lot, Vincent
Sorry for my bad English.