Hi, Rishikesh Shetty.
 
Thank you for your help.
 
I understand now how to do it.
 
I am very happy.
 
Have a good time.
----- Original Message -----
Sent: Friday, May 19, 2006 9:14 PM
Subject: Re: [flexcoders] [BETA3] How to use insert method of IViewCursor. (E4X format)

On 5/19/06, Bryan Choi <[EMAIL PROTECTED]> wrote:
myCursor.insert( new XML ( "<capital label='ME' value='Augusta'/>" ) );
 
I tried also above, but I cann't see that is well.
 

If you were meaning to add ME/Augusta to US State Capitals. The following code-snippet should work.

        var foo:XMLList = capitalColl.children ();
        foo[0].appendChild(new XML ( "<capital label='ME' value='Augusta'/>"));


-rishi

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to