Welcome, Guest
  • Author Topic: menubar customisation issue  (Read 3450 times)

    Paul Abad

    • Server what's that
    • *
    • Posts: 13
      • View Profile
      • Paul Abad Website
      • Email
    menubar customisation issue
    « on: 04/26/04, 08:55 »
    hi guys

    i'm building an app with mx2004, and i'm using the menubar component.  i'm trying to customise it as much as possible, i've managed to achieve this for the menu bar itself, using styles mainly and some changing of the skins too, but i can't seem to be able to change the menus that appear when the bar is clicked - i'm trying to change the colour or alpha of the menu that appears when the bar is clicked, but i can't find this anywhere in the styles of the menubar component, or in the menubar skin assets.  any suggestions?

    thanks :)
    paul  

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re:menubar customisation issue
    « Reply #1 on: 04/26/04, 14:51 »
    Hi Paul, welcome to the Boards!

    You have borderColors, highlightColor, etc. Download Using_components.pdf from http://www.macromedia.com/support/documentation/en/flash/index.html and check "Customizing the Menu Bar component" in the Menu Bar item from the Components Dictionary.

    Jorge

    Paul Abad

    • Server what's that
    • *
    • Posts: 13
      • View Profile
      • Paul Abad Website
      • Email
    Re:menubar customisation issue
    « Reply #2 on: 04/26/04, 20:16 »
    thanks for your reply jorge, gave that a try but it seems to have no effect.

    i'm using the following code ..

    _root.myMenuBar.setStyle("borderColor", 0x000000);

    or

    _root.myMenuBar.setStyle("highlightColor", 0x000000);

    with no results - still fully white menus pop up.

    is that the correct implementation of that component style?  other styles i'm implementing like font family and font size seem to work with that syntax.

    i also tried applying the style to the specific menus that appear within the menu bar - also no result.  mmmmm. ??? :)

    any thoughts?

    Dirk Watkins

    • Server what's that
    • *
    • Posts: 13
      • View Profile
      • Dirk Watkins
    Re:menubar customisation issue
    « Reply #3 on: 05/04/04, 09:41 »
    Code: [Select]

    //background blue
    _root.myMenuBar.setStyle("backgroundColor", "0x0000FF");

    Paul Abad

    • Server what's that
    • *
    • Posts: 13
      • View Profile
      • Paul Abad Website
      • Email
    Re:menubar customisation issue
    « Reply #4 on: 05/05/04, 02:52 »
    wwwwwwwwwwwwwwwwikid

    thanks!