13 Replies Latest reply on May 25, 2011 11:23 PM by relaxatraja

    Flash menu: labels correct but links dont work

    maineguy72

      i have this website template that uses flash in it. the flash works great but when you goto click on a button nothing happens

       

      here is the link to it

      http://www.mainelypet.com/bbc

       

      here is the menu.as code

       

      var feed_xml:XML = new XML();
      feed_xml.ignoreWhite = true;
      xml_loader._xscale = 0;
      feed_xml.load("menu.xml");
      feed_xml.onLoad = function(success) {
          import mx.xpath.XPathAPI;
          _global.menu_array = XPathAPI.selectNodeList(feed_xml.firstChild, "/menu/entry");
          for (i=0; i<menu_array.length; i++) {
              _global.menu_array[i].label = menu_array[i].attributes.label;
              _global.menu_array[i].url = menu_array[i].attributes.url;
          }
          _root.movie_loading();
      };

       

      here is the menu.xml

       

      <menu>
          <entry label="About Us" url="http://www.bbcreptiles.com/about-us.html" />
          <entry label="Contact Us" url="http://www.bbcreptiles.com/contact-us.html" />
          <entry label="Ball Pythons" url="http://www.bbcreptiles.com/ball-pythons.html" />
          <entry label="Boas" url="http://www.bbcreptiles.com//boas.html" />
          <entry label="Corn Snakes" url="http://www.bbcreptiles.com/corn-snakes.html" />
          <entry label="Western Hognose" url="http://www.bbcreptiles.com/western-hognose.html" />
      </menu>

       

      like i said the labels show up but nothing when you click on the button. please help i have been pulling my hair out for hours and hours