2 Replies Latest reply on Nov 3, 2008 7:20 AM by clbeech

    Using forward Slash "/" as text in an array

    Win@12Irene
      I need to have a "divider" in my menu array title(label). I'm trying to get a forward slash "/" to display in the menu label and can't figure out what code to use.

      Thanks

      Code:

      menu_item_group.menu_item._visible = false;
      var menu_label:Array = new Array("Home", "About Us", "Models/Talent", "Services", "Login", "News & Events", "Contact");
      var total:Number = menu_label.length;
      var distance:Number = 111;
      var i:Number = 0;
      var tween_duration:Number = 1.2;