I've created a menubar that displays menus and their menuitems from an XML
I did this by importing the XML schema and binding it to the menubar.

What I need to know, is how I can create an action similar to "getURL"
whenever an menuitem is triggered/clicked on. So far, all my menubar does
is display items but doesn't redirect the user to a url.

If my XML file contains the following tag, I want the url attribute
asscoated with an action that would redirect the user to the url

<menu-item label="Macromedia" url="http://www.macromedia.com" />

How would I do this?