Flash commands in XML

Hi,

Does anyone know whether its possible to have Flash commands in XML? I want the text “continued” in an XML file to have the following command:

_root.dealWithPages(_root.menu_xml.firstChild,_root.menu_xml.firstChild.childNodes[0],“noclick”);

but this needs to be in the XML file because the text could appear anywhere in Flash. So something similar to href possibly?

Cheers

Chris