|
Hi,
As you can see below, I solved the problem.
private function addChildAtTree
():void { var foo:XMLList = capitalColl.children
(); var foo_0 :XMLList = foo[0].children(); var
fooColl :XMLListCollection = new XMLListCollection ( foo_0
); fooColl.addItem ( new XML ( "<capital label='ME'
value='Augusta'/>" )
); Tree2.invalidateList(); }
But I wanna know if you have any idea other.
Let me know it.
Thank you,
Bryan.
----- Original Message -----
Sent: Tuesday, May 23, 2006 12:02 PM
Subject: [flexcoders] [BETA3] I am still
having a problem.
var foo:XMLList = capitalColl.children
(); foo.appendChild(new XML ( "<capital label='ME'
value='Augusta'/>"));
================================================
I tried to execute it.
I can see that it show me follow message.
-------------------
TypeError: Error #1086: The appendChild method only works on
lists containing one item.
-------------------
Have you Any idea other?
Thank you,
Bryan.
--
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: [flexcoders] [BETA3] I am still having a problem. Bryan Choi
-