Ask a Question related to Macromedia Flash Ad Development, Design and Development.

  1. #1

    Default AS for menu bar

    I have simple menu with menu bar component can someone tell me how to link to url
    [url]http://idchristian.org/menu_bar_component.html[/url]
    can anyone help me with this
    mailidr Guest

  2. Similar Questions and Discussions

    1. Context Menu menu items Language Independent names
      Hi everyone, Can somebody provide me the language independent names of menu items of the context menu(right click menu). I tried very hard to find...
    2. JavaScript for menu bars or side menu for an externalweb page
      I have designed some web pages with top menn bars and drop-down menu buttons for web page linkings. So far all the web pages I have coded showed...
    3. Help wiht converting this actionscript vertical menu to a horizontal menu?
      I've been fiddling around with this script and I think my ActionScript is a bit too rusty for accomplishing what I want to change. I've been...
    4. How do I build Drop Down menu using Menu magic with Database result
      Hi Every One. I resently purched Menu Magic Dropdown System. I would like to list my database content like news( few sentense with link ), Authers...
    5. ANNC: PVII Menu Magic II Multi-Level Menu Tutorial.
      Hello All, Menu Magic II by Project Seven is probably the coolest menu creation tool there is for Dreamweaver. While PVII chose to provide a...
  3. #2

    Default Re: AS for menu bar

    Hi if anyone has this problem using the menu bar component in flash mx 2004

    drag the menu bar component onto the work space and add in this code into the
    action script
    box on layer one of the timeline. Make sure the component has an instance name
    as myMenuBar. just add your own labels and change the URL to match yours.
    REMEMBER THIS IS TO CREATE A MENU BAR WITHOUT ANY SUBMENU's

    import mx.controls.MenuBar;

    myMenuBar.setStyle ("themeColor", "haloBlue")
    myMenuBar.setStyle ("fontFamily", "Verdana")
    myMenuBar.setStyle ("fontSize", "12")
    myMenuBar.setStyle ("fontWeight", "bold")

    homemenu = myMenuBar.addMenu("Home");
    homemenu.addEventListener( "menuShow", function(evt) { getURL("home.htm"); }
    );

    homemenu = myMenuBar.addMenu("About");
    homemenu.addEventListener( "menuShow", function(evt) { getURL("about.htm"); }
    );

    homemenu = myMenuBar.addMenu("Portfolio");
    homemenu.addEventListener( "menuShow", function(evt) {
    getURL("portfolio.htm"); } );

    homemenu = myMenuBar.addMenu("Support");
    homemenu.addEventListener( "menuShow", function(evt) { getURL("support.htm");
    } );

    homemenu = myMenuBar.addMenu("Contact");
    homemenu.addEventListener( "menuShow", function(evt) { getURL("contact.htm");
    } );



    scouser1984 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139