This can help you understand creating and editing. There are many more 
resources out there.

http://www.kirupa.com/web/xml/XMLmanageData3.htm



John R. Sweeney Jr.
Senior Interactive Multimedia Developer
OnDemand Interactive Inc
Hoffman Estates, IL 60169    




On Feb 12, 2014, at 1:01 PM, natalia Vikhtinskaya <natavi.m...@gmail.com> wrote:

> Yes, I see that no good solution. I use textField for editing node after
> selection. But I have problem with deleting node. Maybe you can give me
> advice.
> I select this is
> <title titleName="First Words 1">set1</title>
> 
> //var node:XMLList;
> trace(node.childIndex())
> //0
> 
> trace(node)
> set1
> 
> trace(node.parent())
> <topic topicName="Reading">
>  <title titleName="First Words 1">set1</title>
>  <title titleName="Second Words 1">set2</title>
> </topic>
> 
> I can not find way to delete this line that has "set1"
> <title titleName="First Words 1">set1</title>
> 
> when I use
> trace(node.parent().children()[ node.childIndex() ])
> that delete "set1"

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to