Problem with website menu !! Help needed

3 replies
  • WEB DESIGN
  • |
Hello warriors !!

I'm facing a problem with menu, actually the menu is created in flash with submenus..! Using actionscript each and every menu have been linked properly and the final "swf" works fine..!!
BUT, when i embed the same swf into the header part of my website, not even a single menu is working tried a lot but no use !!! Please do help me

Thanks in advance
#menu #needed #problem #website
  • Profile picture of the author aeroturner
    Have Used more action Script depending upon the menu style
    Here is the main script which is given in the button

    on (release) {
    if (_root.link<>1) {
    _root.main_menu["item"+_root.link].gotoAndPlay("s2");
    _root.link = 1;
    _root.xkoord1 = 343;
    _root.prev_koord = 343;
    _root.clip._xscale = _xscale+0;
    getURL("index.html");
    }
    }
    on (rollOver) {
    if (_root.link<>1) {
    main_menu.item1.gotoAndPlay("s1");
    _root.xkoord1 = 343;
    _root.clip._xscale = _xscale+0;
    }
    }
    on (releaseOutside, rollOut) {
    if (_root.link<>1) {
    main_menu.item1.gotoAndPlay("s2");
    _root.xkoord1 = _root.prev_koord;
    if (_root.prev_koord == 343) {
    _root.clip._xscale = _xscale+0;
    }
    if (_root.prev_koord == 445) {
    _root.clip._xscale = _xscale+20;
    }
    if (_root.prev_koord == 565) {
    _root.clip._xscale = _xscale+10;
    }
    if (_root.prev_koord == 675) {
    _root.clip._xscale =_xscale+12;
    }
    if (_root.prev_koord == 787) {
    _root.clip._xscale = _xscale+24;
    }
    }
    }

    on (rollOver) {
    if (_root.link<>num) {
    gotoAndPlay("s1");
    _root.per = num;
    if (_root.per == 1) {
    _root.xkoord1 = 343;
    _root.clip._xscale = _parent._xscale+2;
    }
    if (_root.per == 2) {
    _root.xkoord1 = 445;
    _root.clip._xscale = _parent._xscale+20;
    }
    if (_root.per == 3) {
    _root.xkoord1 = 565;
    _root.clip._xscale = _parent._xscale+10;
    }
    if (_root.per == 4) {
    _root.xkoord1 = 675;
    _root.clip._xscale = _parent._xscale+12;
    }
    if (_root.per == 5) {
    _root.xkoord1 = 787;
    _root.clip._xscale = _parent._xscale+24;
    }
    }
    }
    on (releaseOutside, rollOut) {
    if (_root.link<>num) {
    gotoAndPlay("s2");
    _root.xkoord1 = _root.prev_koord;
    if (_root.prev_koord == 343) {
    _root.clip._xscale = _parent._xscale+2;
    }
    if (_root.prev_koord == 445) {
    _root.clip._xscale = _parent._xscale+20;
    }
    if (_root.prev_koord == 565) {
    _root.clip._xscale = _parent._xscale+10;
    }
    if (_root.prev_koord == 675) {
    _root.clip._xscale = _parent._xscale+12;
    }
    if (_root.prev_koord == 787) {
    _root.clip._xscale = _parent._xscale+24;
    }
    }
    }
    on (release) {
    if (_root.link<>num) {
    _parent["item"+_root.link].gotoAndPlay("s2");
    _root.all_sub_button["item"+_root.link].gotoAndPlay("s2");
    _root.link = num;
    _root.all_sub_button["item"+_root.link].gotoAndPlay("s1");
    getURL(link);
    if (_root.per == 1) {
    _root.prev_koord = 343;
    }
    if (_root.per == 2) {
    _root.prev_koord = 445;
    }
    if (_root.per == 3) {
    _root.prev_koord = 565;
    }
    if (_root.per == 4) {
    _root.prev_koord = 675;
    }
    if (_root.per == 5) {
    _root.prev_koord = 787;
    }

    }
    }

    These scripts are working fine as a swf !! but not in browsers
    Signature
    {{ DiscussionBoard.errors[5195854].message }}
  • Profile picture of the author aeroturner
    waiting for your help !!
    Signature
    {{ DiscussionBoard.errors[5196595].message }}
  • Profile picture of the author aeroturner
    cool !! no probs kyle !! only a small code is missing i think so and that is making me to get tensed!! will wait for someone's help. Thank you
    Signature
    {{ DiscussionBoard.errors[5196913].message }}

Trending Topics