Hi I saw someone who said it would be be better to start a new thread rather than reply to the older thread, so if anyone can help me modifying this XML menu I’d appreciate it.
I love this menu, anyone found a way to have a 3rd option besides URL and nonurl. Here was my bad attempt…
For instance, I tried to create another action called page which when clicked would open a link in an iframe I have beside my menu. I couldn’t set the target of a URL action to target that iframe, because most the links on my menu just launch a PDF which I want to be done in _blank. And I of course still need nonurl to not load any pages, and just continue on with the function of the menu.
Any help would be greatly appreciated. Thanks
onClipEvent (load)
{
function executeAction(action)
{
if (action == "nonurl")
{
}
else if (action == "page")
{
getURL(action , "iframecontent");
}
else
{
getURL(action , "_blank");
}
}
It doesn’t work because for my action “page” I have no way of sending the url for that page through XML, since i’ve used that variable to declare “page.”