ActiveDen

myScrollMenu - Horizontal (XML)

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

Features:

  • XML BASED MENU
  • AUTO SCROLL FOR WIDTH MORE THAN DEFAULT WIDTH
  • 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):


mySectionedMenu (xml)

AATW - added along the way

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

by
by
by
by
by