4 Replies Latest reply on Jun 19, 2009 6:28 AM by kglad

    load different sub menu for different pages

    North ABC

      I had a flash template with nav button menu and sub button menu, in flash player the menu and sub menu works for different pages, but sub menu do not work in web page, whatever page goes, it always load sub menu for home. i am new for flash,please help.

       

      The button as is like:

      on (rollOver) {    if (_root.link<>num) {this.gotoAndPlay("s1");}}
      on (releaseOutside, rollOut) {if (_root.link<>num) {this.gotoAndPlay("s2");    }}
      on (release) {
          if (_root.link<>num and _root.animation==1) {
              _root.animation=0;
              _parent["item"+_root.link].gotoAndPlay("s4");
              _root.menu_2["b"+_root.link].gotoAndPlay("s2");
              _root.link_prev = _root.link;
             
              _root.link = num;
              _root.menu_2["b"+_root.link].gotoAndPlay("s1");
              this.gotoAndPlay("s3");
              _root.line_.gotoAndPlay("s1")
              getURL("index-1.html");
          }
      }

       

      The attach file is the flash file: please rename the file type from.txt to .rar,since i can not upload the rar file!