# XML menu to call functions?

**URL:** <https://forum.kirupa.com/t/xml-menu-to-call-functions/197954>\
**Category:** flash\
**Created:** [August 21, 2006, 7:16am UTC](https://forum.kirupa.com/t/xml-menu-to-call-functions/197954 "2006-08-21T07:16:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyg3r](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tyg3r/32/1341_2.png) [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Post date:** [August 21, 2006, 7:16am UTC](https://forum.kirupa.com/t/xml-menu-to-call-functions/197954/1 "2006-08-21T07:16:56Z")

</div>

Hi

I’m looking to create an XML menu, but **not** one that just links to URL’s, like [**THIS**](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu7.htm).

Its a great menu, but I wanted to know if an XML menu can be made to communicate with a swf by giving it a function to execute e.g. “function DoSomething() {”

I’ve looked everywhere, and the closest function the XML will do internally is write a little message.

Can it be done?

Mark
