Xml menu DONE :)

so i read the whol etread again and again… V2 WORKS with getUrl…but V3 does not… help!!! please

anyone tried to have both _self and _blank for the option
like adding another urlType???!
since we only have the _blank option

trace(targetType);//you can delete this line!
if (targetType == “url”)
{
getURL( url, “_blank”);

anyone got idea how to make it work?

============================================

function executeAction(action,targetType,urlType)
{
trace(action);
trace(targetType);
if (targetType == url)
{
trace(urlType);
{
if (urlType = “b”)
{
getURL( action , “_blank”);
}
else if(urlType = “s”)
{
getURL( action , “_self”);
}
}
}
else if(targetType == “non_url”)
{
loadMovie( action , _parent.content)
}
}

seem to having problem! :frowning:

HELP!!!

Is it possible for you guys to have a look at www.onemanagement.com website. I seek to make a similar menu system:: sliding up… I have not got anything so far…

I am dumber that most in flash

[quote=hga77;2103288]I might look into extending this menu to v4.

Let me know if you think its worth it and what you would like added. Im thinking:

**AS2 **
should’ve done this ages ago

isURL
true or false.
Attribute within the xml.
Was targetType.

target
"_blank","_self","_parent","_top"
only applied to links that have isURL set to true.
Attribute within the xml.

flashVars
Passing values to the menu via queryStrings. EXAMPLE: menu.swf?item=2&sub=3
On entereing a page with the menu, the menu will auto open to the current item for that page.
For people that use flashObject or swfObject, I’m sure you know how to pass variables to flash when embedding the swf.

Its been some time since I contributed to this thread :)[/quote]

I must say this thread has been kicking for quite a long time because the information within is sooooo helpful. Love the menu of course. Would love to see a v4. I’m using this menu for a content module and would like to know how to initialize the first menu item when the menu loads. In other words I want the action for the first menu item to load without having to manually loadMovie like

_level0.content.loadMovie("overview.swf");

Any ideas?