Xml > flash menu > edit menu > xml?

Hi there, i want to make a menu populated by XML which i can then edit and save back to the xml file. So basicly i need a editable xml tree structure. I found lotst of examples on how to make a XML based menu, but nothing on how to edit the XML visually (dragging) in flash, and saving it back (guess via php)… can someone point me to a tutorial on this ?