Search  

MYSCROLLMENU-VERTICAL (XML)

HomeBrowse CategoriesFlashMenus & ButtonsVertical MenusmyScrollMenu-vertical (xml)

An easy to manage, xml-based, vertical scrolling menu

Features:

  • XML BASED MENU
  • AUTO SCROLL FOR HEIGHT MORE THAN DEFAULT HEIGHT
  • CHOOSE TO RUN A FUNCTION OR LAUNCH AN EXTERNAL LINK *
  • ADJUST WIDTH /HEIGHT/UPPERCASE/MAX CHARACTER ETC *
  • ALL STORED WITHIN ONE MAIN MOVIECLIP FOR EASY IMPORTING
  • EDIT ONE ASSET TO CHANGE WHOLE LOOK AND FEEL

* CONFIGURABLE IN XML

sorry about the text in all caps ;p

Related file(s):



AATW - added along the way

  • Add easing – 26 Mac 08 – in the function called ‘mv’
    change this:
    
    levh._y = -(Math.ceil(stagecur/100*leng));
    
    to this:
    
    dest = -Math.ceil((stagecur/100*leng));
    speed = 5;
    if(stagecur < 50){
        levh._y += Math.ceil((dest-levh._y)/speed);
    }else{
        levh._y += Math.floor((dest-levh._y)/speed);
    }
    
  • Bug fix – 03 Dec 07 – Uppercase = “false” messes things up. To fix this, get into ‘myScrollMenu’ movieClip from library on frame 21 line 89:
    Change:
    }
    
    To:
    }else{
        var dtxt:String = menu[i][0];
    }
    

Posted 10 months ago

@stratus
pls email me with your files, ill try to help you out.

Posted 3 months ago

@encryptme

Hi, thanks for asking. I’ve made some progress. Some help to share for those who can use it: a) to activate a function without argument but returning variables, i needed to initialise the variables needed at root level and not only into the menu //my Functions. Example: 1)You want to call a function named play_movie from the XML of the menu 2) You want to call a variable into this function, named targetfilm which is the filename of the movie and the content path of the FLVPlayer component: on the root write: var targetfilm:String = “init”; on frame 1 FLVPlayer.contentPath = targetfilm; where you have your player and into the //my functions of the Encryptme menu write: play_movie = function () { _root.targetfilm = “name_of_my_movie.flv”; }

b) Now, encryptme, what would be super cool for an upgrade is the capability to add arguments to the function you can call with your menu: So handling arguments here:

releaseIt = function () { // if (menuthis.no != “link”;) { var f:Function = root[menuthis.no]; trace(“RUN FUNCTION : “+menuthis.no); f(); _root.tracer.text = “RUN FUNCTION
--
“+_root.tracer.text; } and into the xml: calling “function(parameter,parameter,…)” rather than “function”

I will be happy to buy a new flavour of you menu if it can handle function with arguments! Keep up the good work Stratus

Posted 3 months ago

Hi there,

I just bought this and it’s looking good so far. I am feeding it a dynamic XML file and have discovered it needs more than 1 menu item to display.

Eg:

<?xml version=”1.0” encoding=”iso-8859-1”?>

This will render no menu items.

Any advice for fixing this?

Cheers!

PS: Also what would you say to wrapping the two XML settings and navigation tags in another (like ‘menu’?) to make it valid XML ?

Posted 16 days ago

Sorry, the comments seemed to have eaten my XML snippet. This is the xml that’ll break the menu:

@ <?xml version=”1.0” encoding=”UTF-8”?> @ Posted 16 days ago

Argh!! Need a comment preview button BAD !

Try this: http://pastie.org/251805

Posted 16 days ago

@supagroova
im sorry im not understanding your question. About the valid xml, for flash use it really isn’t necessary but a good practice for sure.

Posted 14 days ago