MouseListener for mousedown function in sub-menu buttons

Hello people, sorry to ask this as i am quite new to using AS
in flash, im using AS2.
Basically i have a menu which appears on a mouseover on a
button, on this menu i have some buttons. These buttons need to
have the function that when the user clicks and holds down the
mouse button it moves through an animation frame by frame.
i understand the basica principal of:
var mouseListener:object = newObject ();
then calling it
mouseListener.onMouseDown = function() {
imgBar.prevFrame();
if you see my attached code you will see this is basically
it, i will attach the code that i have on the top level of my flash
file, the onPress functions currently work but i need them replaced
with onMouseDown.
As i said i am quite new to this so i appologise if this is a
noobish error.
Thanks for you time and help.

I'm not sure what "i-apps" is. Could you let me know?
iPhoto, iTunes, iDVD, iMovie, etc.
I tried to do the two suggestions at the link from Glo H. First, I dragged out the song and then the background music that was in there. When I clicked on the black audio icon, no sound waves appeared.
I think it is just this sub-menu in this one particular theme that is having a problem.
Drag the music of your choice to the audio well, and look at the slider for menu volume. Is it to the far left, for "minimum"? If it is, move it to the middle.
If the problem persists, give this basic remedy a try. Quit iDVD and delete your iDVD preferences. To do this, go to your username> library> preferences> com.apple.idvd.plist. Delete this file. Then reopen iDVD; it will create a new preference file with all of the default settings.

Similar Messages

  • IDVD Sub Menu Button Thumbnails Not 'Sticking'

    I've searched on here and there seems to be lots of people having lots of problems but not the problem I'm having.
    I have been using iDVD for a number of years and have generally been pretty happy with it. This is the first time I have used iDVD '08 and it has been problem after problem. I have finally almost finished my project and now I'm stuck. I have tried to changed the images on some sub menu buttons but as soon as I go to a different sub menu or view the buttons change back to a generic sub menu icon or folder icon. This has really got me stumped now.
    Any ideas?

    Have you tried a drag and drop of iDvd's pref file to the trash and restarting your laptop?
    com.apple.iDvd.plist
    Use the finder to look for this item/s and then drag it to the trash. It often helps to simply restart your computer and try again.
    Good luck.

  • Sub menu buttons not working on mobiles

    Why are my sub menu buttons not working on mobile phones but working fine on computers?
    Sub menu buttons come under these buttons, Our funerals services, Advice and information.
    http://www.vanessaroberts.co.uk/

    You are using a Spry menubar widget. Spry was created pre-touch-screen systems and hence not designed for touch screens.
    There are a number of solutions available to you
    1. Don't have an active link on the main menu item
    2. Place submenus in the page that is opened by the main menu item, e.g. as a vertical menu
    3. Use Spry Menu Bar ver 2.0
    3. Use a different menu system that is geared to accommodate touch screens
    Because of the demise of Spry, see here http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l, option 3 looks like the best option.
    There are a number of free-of-charge jQuery menubars, you could also opt for one of the commercial menubars such as PVII, WebAssist or DMXZone

  • Menu Buttons Change Image instead of Highlighting?

    Does anyone know how to/or if it's possible to make a DVD menu in Photoshop for Encore where, when the menu button is highlighted it actually changes image instead of making it a solid highlighted colour?
    For example...
    In a DVD i'm making, I have Cartoon images that are the menu buttons. I would like to make it so that when you select it on your dvd player it makes the eyes open up wider and mouths of the characters open up. I have made the duplicate layers and changed one to have the open eyes and mouth and placed it directly ontop of the other and put both layers in the one group with the (+) to allow Encore to recognize it. But all I get is the top layer of the two turning to a top colour. I know that using prefixes like (=1) makes it highlighted and that is why it's highlighting but I don't know what else to suggest. I've looked at the prefixes on the Encore help on this site and tried to work it out but no luck
    I know this is due to my lack of knowledge and really need some help to fix it, or know if it's even possible (I assume tht using such great products as Adobe it will be)
    Thanx

    Welcome to the forum.
    This is easily done by doing dupe Menus for each Button. The Button on the original Menu will be set to Auto-Activate, and be linked to the dupe Menu with the different graphic. I would probably turn OFF Sub-picture Highlights.
    The trick is to do a layout, and also name your Menus (especially the dupes), to reflect exactly what they do. I use Illustrator for my layout, but pencil and paper work well too.
    Note: if run on a computer, the user will need to Dbl-click the Button, as Auto-Activate only works seamlessly from a DVD set-top player.
    There are several other posts on this forum (a few very recent), where I go into much more detail. Also, Jeff Bellune's excellent book, The Focal Easy Guide to Adobe EncoreDVD 2.0, by Focal Press, has excellent, easy to follow steps for doing this. Though written for EncoreDVD 2.0, 100% of the book will apply to CS3 & CS4.
    Good luck,
    Hunt

  • Menu - Submenu - and Sub Sub Menu

    on my site, for some reason, the "sub sub" menu buttons called "deal 2, and deal 3 to the right of the business cards button, only work (turning green for the rollover) when the "sub sub" menu buttons in the "business flyers" menu are not there. If I was to delete the "business flyers" "sub sub" or "tri level" pages, therefore removing the buttons also, then the business card buttons all work as they should.
    In other words the "business cards" button should work exactly the same as the "business flyers" button currently does.
    Have a look here:
    http://dctest002.businesscatalyst.com
    any ideas why?

    Hello,
    This is a known issue after Muse 3.0 release.
    Pelase refer to post : http://forums.adobe.com/message/4928808
    "We're planning to have an update to Muse 3.0 out this week. It will contain a fix for this bug(menus containing submenus blocking clicks) and a few others."
    Regards,
    Sachin

  • Menu button image

    Hi,
    I'm creating a menu using an Apple template as a starting point. When I drag my track (with markers) to a menu button and choose "create chapter index & make connections" the sub-menu buttons do not show the entire image of the frame where the markers are. Is there a way to re-size the image without re-sizing the whole button?
    Thanks in advance,
    Ray

    Hey Genius'!!!
    Hardly that. 
    I would like to be able to set up drop down menu on certain menu images. thanks so much for your help!!!!
    How good are you with CSS and HTML code?
    http://alt-web.com/DEMOS/CSS-Horiz-menu-3.shtml
    If you don't like working with code, use the Spry Menus that come with Dreamweaver.
    Insert > Spry > Spry Menu > select horizontal or vertical menu...
    If you want to customize your Spry Menu code, see below
    http://foundationphp.com/tutorials/sprymenu/customize1.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • The menu button on the click wheel does not work!!!

    I just got my I pod nano Black(2gb) and for some weird reason the 'menu' button on the wheel just does not respond. So i cannot go back to the previous menu or reset. What do i do????

    See this.
    How to reset the iPod if the buttons appear frozen.
    It may take quite a few attempts and is best done connected to power.

  • Wallpaper, kbfx menu buttons, color scheme

    Over time I've been dabbling a bit with my arch install and recently started playing with apearence. Thought I would share a few of my graphics for kde. Although, my tastes might be a little weird compared to most!
    Here is my wallpaper, basically I just modified it from an old arch wallpaper...
    http://my.opera.com/allisonleigh/albums … re=3262852
    here is a color scheme and preview for kde, and some kbfx menu buttons I made using the arch logo, although one set of buttons uses the Chinese version of the word start, but you could easily modify them. The color scheme along with smi-transparency on menus, I think looks totally awsome over the wallpaper..
    http://my.opera.com/allisonleigh/blog/2 … n-computer
    I have a bunch of icons I made, but im too far away from having a full set, and they're kind of geared twards a Chinese system.
    I thought about sharing some of my helper scripts I made, but even though they make my life easier, I decided they're too weird for sharing...
    Last edited by Leigh (2007-03-10 20:23:03)

    The icons on top of your screenshot (except the firefox one) are made by you?
    I like them, kinda clean... Why not release them on kde-look? There are a lot of "unfinished" icon themes available (just in the spirit of ESR) on this site.
    Well, the color scheme is indeed a little bit weird reminds me of my old commodore times somehow, but you could also share your kbfx buttons on kde-look, i bet there will be some chinese archers who like them...

  • MENU button on DVD Controller does not work.

    I want to make it so that when the user presses MENU on the controller it will go back to the MAIN MENU. Right now nothing happens when I click. Thanks!

    Did you set the functionality of the Menu Button on the controller to the correct destination?
    MtD

  • On Windows 8, some widgets, such as the menu button near the upper right, stop working after some time, and functionality is restored by rebooting the PC.

    I use the latest releases of Firefox as they become available on a Windows 8 PC. Firefox works properly, usually for a few hours, before annoying problems manifest. The problem I'm addressing here is some widgets, including some Firefox widgets and isolated widgets (such as buttons and pull-down selectors) in some websites stop working. In Firefox, the Menu button (the three stacked dashes icon) stops working. And the Download arrow sometimes stops working also. Sometimes, sub-items such as Print stop working. For some pull-downs, the up and down arrow keys might still work even though I might now be able to select with the mouse. Closing and reopening Firefox usually restores some functionality. However, I usually have to reboot the PC to restore all functions which stopped working. Then I am good for usually a few hours again. Another annoyance, which others have addressed, is the eventual appearance of Chinese-looking characters on the tab labels bar across the top. Restarting Firefox gets rid of these for the time being. Thanks for investigating.

    hello, maybe that's an issue with hardware acceleration - please try [[Upgrade your graphics drivers to use hardware acceleration and WebGL|updating your graphics driver]], or in case this doesn't solve the issue or there is no new version available at the moment, disable hardware acceleration in the firefox ''menu ≡ > options > advanced > general'' (that setting will take a restart of the browser to take effect).
    the oriental characters are a displaying flaw caused by the mcafee site advisor extension - please try to disable or remove that in case you have it present until there is an update by mcafee that can fix the problem.
    http://service.mcafee.com/faqdocument.aspx?id=TS100162
    https://community.mcafee.com/thread/76071

  • Menu Button in ALV toolbar (multiple choices for a button)

    Hi abapers,
    I would like to have a button with multiple choices in the toolbar;
    at the moment I have created a menu button with just one function.
    Here is my code:
    CLASS lcl_event_receiver (Definition)
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
        handle_toolbar
            FOR EVENT toolbar OF cl_gui_alv_grid
                IMPORTING e_object e_interactive.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    CLASS lcl_event_receiver (Implementation)
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_toolbar.
        DATA: ls_toolbar  TYPE stb_button.
    *Separator
        CLEAR ls_toolbar.
        MOVE 3 TO ls_toolbar-butn_type.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    *Button
        CLEAR ls_toolbar.
        MOVE 1 TO ls_toolbar-butn_type.
        MOVE 'EDIT' TO ls_toolbar-function.
        MOVE icon_change TO ls_toolbar-icon.
        MOVE ' Modifica'(l02) TO ls_toolbar-text.
        MOVE ' ' TO ls_toolbar-disabled.
        MOVE 'Modifica' TO ls_toolbar-quickinfo.
        APPEND ls_toolbar TO e_object->mt_toolbar.
      ENDMETHOD.                    "handle_toolbar
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION

    hi,
    check this code and reward me if it helps you..
    TYPE-POOLS : slis,icon.
    *Structure declaration for tcodes
    TYPES : BEGIN OF ty_table,
            tcode TYPE tcode,
            pgmna TYPE progname,
            END OF ty_table.
    *Structure for tocde text
    TYPES : BEGIN OF ty_itext,
            tcode TYPE tcode,
            ttext TYPE ttext_stct,
            sprsl TYPE sprsl,
            END OF ty_itext.
    *Structure for output display
    TYPES : BEGIN OF ty_output,
            tcode TYPE tcode,
            pgmna TYPE progname,
            ttext TYPE ttext_stct,
           END OF ty_output.
    *internal table and work area declarations
    DATA : it_table TYPE STANDARD TABLE OF ty_table INITIAL SIZE 0,
           it_output TYPE STANDARD TABLE OF ty_output INITIAL SIZE 0,
           it_ittext TYPE STANDARD TABLE OF ty_itext INITIAL SIZE 0,
           wa_table TYPE ty_table,
           wa_output TYPE ty_output,
           wa_ittext TYPE ty_itext.
    *Class definition for ALV toolbar
    CLASS:      lcl_alv_toolbar   DEFINITION DEFERRED.
    *Declaration for toolbar buttons
    DATA : ty_toolbar TYPE stb_button.
    Data declarations for ALV
    DATA: c_ccont TYPE REF TO cl_gui_custom_container,   "Custom container object
          c_alvgd         TYPE REF TO cl_gui_alv_grid,   "ALV grid object
          it_fcat            TYPE lvc_t_fcat,            "Field catalogue
          it_layout          TYPE lvc_s_layo,            "Layout
          c_alv_toolbar    TYPE REF TO lcl_alv_toolbar,           "Alv toolbar
          c_alv_toolbarmanager TYPE REF TO cl_alv_grid_toolbar_manager.  "Toolbar manager
    *Initialization event
    INITIALIZATION.
    *Start of selection event
    START-OF-SELECTION.
    *Subroutine to get values from tstc table
      PERFORM fetch_data.
    *subroutine for alv display
      PERFORM alv_output.
          CLASS lcl_alv_toolbar DEFINITION
          ALV event handler
    CLASS lcl_alv_toolbar DEFINITION.
      PUBLIC SECTION.
    *Constructor
        METHODS: constructor
                   IMPORTING
                     io_alv_grid TYPE REF TO cl_gui_alv_grid,
    *Event for toolbar
        on_toolbar
           FOR EVENT toolbar
           OF  cl_gui_alv_grid
           IMPORTING
             e_object.
    ENDCLASS.                    "lcl_alv_toolbar DEFINITION
          CLASS lcl_alv_toolbar IMPLEMENTATION
          ALV event handler
    CLASS lcl_alv_toolbar IMPLEMENTATION.
      METHOD constructor.
      Create ALV toolbar manager instance
        CREATE OBJECT c_alv_toolbarmanager
          EXPORTING
            io_alv_grid      = io_alv_grid.
       ENDMETHOD.                    "constructor
      METHOD on_toolbar.
      Add customized toolbar buttons.
      variable for Toolbar Button
          ty_toolbar-icon      =  icon_generate.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button1'.
          APPEND ty_toolbar TO e_object->mt_toolbar.
          ty_toolbar-icon      =  icon_voice_output.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button2'.
           APPEND ty_toolbar TO e_object->mt_toolbar.
         ty_toolbar-icon      =  icon_phone.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button3'.
           APPEND ty_toolbar TO e_object->mt_toolbar.
         ty_toolbar-icon      =  icon_mail.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button4'.
           APPEND ty_toolbar TO e_object->mt_toolbar.
       ty_toolbar-icon      =  icon_voice_input.
        ty_toolbar-butn_type = 0.
        ty_toolbar-text = 'Button5'.
         APPEND ty_toolbar TO e_object->mt_toolbar.
      Call reorganize method of toolbar manager to
      display the toolbar
         CALL METHOD c_alv_toolbarmanager->reorganize
          EXPORTING
            io_alv_toolbar = e_object.
       ENDMETHOD.                    "on_toolbar
    ENDCLASS.                    "lcl_alv_toolbar IMPLEMENTATION
    *&      Form  fetch_data
          text
    -->  p1        text
    <--  p2        text
    FORM fetch_data .
    Select the tcodes upto 200 rows from TSTC
       SELECT   tcode
               pgmna
               FROM tstc
               INTO CORRESPONDING FIELDS OF TABLE it_table
               UP TO 200 ROWS
               WHERE dypno NE '0000'.
    *Select the tcode textx
       IF it_table[] IS NOT INITIAL.
         SELECT ttext
               tcode
               sprsl
               FROM tstct
               INTO CORRESPONDING FIELDS OF TABLE it_ittext
               FOR ALL ENTRIES IN it_table
               WHERE tcode = it_table-tcode
               AND sprsl = 'E'.
       ENDIF.
    Apppending the data to the internal table of ALV output
       LOOP AT it_table INTO wa_table.
        wa_output-tcode = wa_table-tcode.
        wa_output-pgmna = wa_table-pgmna.
       For texts
        READ TABLE it_ittext INTO wa_ittext WITH KEY tcode = wa_table-tcode.
        wa_output-ttext = wa_ittext-ttext.
         APPEND wa_output TO it_output.
        CLEAR wa_output.
       ENDLOOP.
       ENDFORM.                    " fetch_data
    *&      Form  alv_output
          text
    -->  p1        text
    <--  p2        text
    FORM alv_output .
    *Calling the ALV
      CALL SCREEN 0600.
      ENDFORM.                    " alv_output
    Calling the ALV screen with custom container
    On this statement double click  it takes you to the screen painter SE51.Enter the attributes
    *Create a Custom container and name it CC_CONT and OK code as OK_CODE.
    *Save check and Activate the screen painter.
    Now a normal screen with number 600 is created which holds the ALV grid. PBO of the actual screen , Here we can give a title and *customized menus
    *&      Module  STATUS_0600  OUTPUT
          text
    MODULE status_0600 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0600  OUTPUT
    calling the PBO module ALV_GRID.
    *&      Module  ALV_GRID  OUTPUT
          text
    MODULE alv_grid OUTPUT.
    *create object for custom container
      CREATE OBJECT c_ccont
           EXPORTING
              container_name = 'CC_CONT'.
    *create object of alv grid
      CREATE OBJECT c_alvgd
          EXPORTING
              i_parent = c_ccont.
    create ALV event handler
      CREATE OBJECT c_alv_toolbar
        EXPORTING
          io_alv_grid = c_alvgd.
    Register event handler
      SET HANDLER c_alv_toolbar->on_toolbar FOR c_alvgd.
    Fieldcatalogue for ALV
       PERFORM alv_build_fieldcat.
    ALV attributes FOR LAYOUT
      PERFORM alv_report_layout.
       CHECK NOT c_alvgd IS INITIAL.
    Call ALV GRID
       CALL METHOD c_alvgd->set_table_for_first_display
        EXPORTING
          is_layout                     = it_layout
        CHANGING
          it_outtab                     = it_output
          it_fieldcatalog               = it_fcat
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDMODULE.                 " ALV_GRID  OUTPUT
    *&      Form  alv_build_fieldcat
          text
         <--P_IT_FCAT  text
    FORM alv_build_fieldcat.
       DATA lv_fldcat TYPE lvc_s_fcat.
      CLEAR lv_fldcat.
      lv_fldcat-row_pos   = '1'.
      lv_fldcat-col_pos   = '1'.
      lv_fldcat-fieldname = 'TCODE'.
      lv_fldcat-tabname   = 'IT_OUTPUT'.
      lv_fldcat-outputlen = 8.
      lv_fldcat-scrtext_m = 'TCODE'.
      APPEND lv_fldcat TO it_fcat.
      CLEAR lv_fldcat.
       lv_fldcat-row_pos   = '1'.
      lv_fldcat-col_pos   = '2'.
      lv_fldcat-fieldname = 'PGMNA'.
      lv_fldcat-tabname   = 'IT_OUTPUT'.
      lv_fldcat-outputlen = 15.
      lv_fldcat-scrtext_m = 'PROGNAME'.
      APPEND lv_fldcat TO it_fcat.
      CLEAR lv_fldcat.
      lv_fldcat-row_pos   = '1'.
      lv_fldcat-col_pos   = '3'.
      lv_fldcat-fieldname = 'TTEXT'.
      lv_fldcat-tabname   = 'IT_OUTPUT'.
      lv_fldcat-outputlen = 60.
      lv_fldcat-scrtext_m = 'Description'.
      APPEND lv_fldcat TO it_fcat.
      CLEAR lv_fldcat.
    ENDFORM.                    " alv_build_fieldcat
    *&      Form  alv_report_layout
          text
         <--P_IT_LAYOUT  text
    FORM alv_report_layout.
       it_layout-cwidth_opt = 'X'.
       it_layout-zebra = 'X'.
    ENDFORM.                    " alv_report_layout
    PAI module of the screen created. In case we use an interactive ALV or
    *for additional functionalities we can create OK codes
    *and based on the user command we can do the coding.
    *&      Module  USER_COMMAND_0600  INPUT
          text
    MODULE user_command_0600 INPUT.
    ENDMODULE.                 " USER_COMMAND_0600  INPUT
    thanks,
    gupta

  • Cluster (sub menu) submit button grayed out

    hello all
    as of today my compressor has stopped allowing me to submit the batch i set up.
    having sent an item from FCP to compressor, i get to set the options for settings and destination and then when i hit the submit button a second menu pops down regarding cluster options of which i have none. i add a name to this box yet no mater what other options i change the *submit button in this sub menu remains grayed out!*
    http://twitpic.com/jj7n2
    i have tried reinstalling compressor, and eventually the whole suit. i have removed the various prefs and qmaster stuff. i have used the fix compressor utility from digital rebel, repaired permissions and cleared out cache, but still *grayed out submit*.
    what thoughts cloud genii?

    I'm having the same problem.
    This comes after suffering persistent crashing of Compressor 3.5 on launch and finally having to reinstall to at least fix the crashing problem. But now I can't submit any processes - the button is greyed out.
    Can't remember setting this up originally, but it use to say "This Computer" for processing - do I need to add my computer to a list of available processors?
    Any help hugely appreciated,
    Simon

  • How do you set the menu button for a playlist?

    I have a "Play All" playlist that I want to return to the main menu (when the menu button on a DVD remote is pressed). Right now, it's going to one of my sub menus. I can't figure out why this is happening. Any help would be greatly appreciated.

    Thanks for the responses.
    My "Play All" playlist is not a button on a menu. It is actually the "First Play" of my DVD. I want the user to be able to hit the menu on their remote and then go to the main menu. What's happening is the menu button is going to a sub menu. I find it frustrating that you cannot set the remote button options for a playlist. If this can't be done, is there at least a way to set my main menu screen as my "top menu"? I don't want to set all of my timelines to the main menu. If I were to set it that way, all of the clips from the sub menus would go back to the main menu (when the menu remote button is pressed).

  • Error ! No field defined for function Code in MENU EXIT

    Hello All,
    I've created a project in CMOD for the MENU EXIT for handling one menu item in the SAP Standard Menu Bar .
    i.e  under the HELP MENU Item I've included one more sub menu item.
    I've activated the project and I'm able to se the newly added Sub-Menu Item in the activated mode.
    But when I press the newly created Sub Menu Item I'm getting a Message in the Status Bar saying :
    No field defined for the function code
    The Help of it says :
    Message no. 00125
    Diagnosis
    The function code field (OK code field) has not been defined on this screen. If the user selects an application function (not a system function), the system usually provides it in the function code field (OK code field) as well as in SY-UCOMM. This is no longer possible.
    System Response
    The system is unable to inform the application of the current function code. The application should not use field SY_COMM. This field always contains the code of the last function chosen, which is not always identical to the application-relevant code.
    Procedure
    You should always define a field for the function code on every screen. The Screen Painter always proposes such a field (OK category), you only need to assign a name and include the definition in the ABAP program.
    Please let me know what shud be done ?
    Regards,
    Deepu.K

    Don't use this scanrio ! Instead got Access Key and chamged the Std. Program.

  • Menubar load modules for each sub-menu

    I am creating an application using the MENUBAR but cannot get a module to open when a sub-menu is clicked. I have stripped my app down to bare bones to eliminate other factors. The menubar has several main options, such as, Button1, Button2, Button3 and then each has a sub-menu dropdown. If Button1 has Button1Sub1 and Button1Sub2 dropdowns I want to have a different module launch when either of the sub-menus are clicked.
    I have been successful in using ModuleManager to open a particular module referencing the creationComplete="moduleLoadHandler()" but not by selecting a menu item from the menubar. My application needs to be as user-friendly and Windows-like as possible. There are many different modules which need to be loaded and unloaded.
    I have attached a screenshot image of my project tree and circled the ActionModule.swf file to show its location.
    I have attached my code below:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="creationHandler();" >
        <mx:Script>
            <![CDATA[
                import mx.controls.menuClasses.IMenuBarItemRenderer;
                import mx.controls.MenuBar;
                import mx.controls.menuClasses.MenuBarItem;
                import mx.controls.Alert;
    import mx.modules.Module;
    import mx.events.ModuleEvent;
    import mx.modules.ModuleManager;
    import mx.modules.IModuleInfo;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    import mx.events.FlexEvent;
    import mx.events.MenuEvent;
                import mx.collections.*;
                public var _moduleInfo:IModuleInfo;
                [Bindable]
                public var menuBarCollection:XMLListCollection;
                private var menubarXML:XMLList =
                    <>
                        <menuitem label="Menu1" data="top">
                            <menuitem label="MenuItem 1-A" data="1A" itemClick="moduleLoadHandler()"/>
                            <menuitem label="MenuItem 1-B" data="1B"/>
                        </menuitem>
                        <menuitem label="Menu2" data="top">
                            <menuitem label="MenuItem 2-A" type="check"  data="2A"/>
                            <menuitem type="separator"/>
                            <menuitem label="MenuItem 2-B" >
                                <menuitem label="SubMenuItem 3-A" type="radio"
                                    groupName="one" data="3A"/>
                                <menuitem label="SubMenuItem 3-B" type="radio"
                                    groupName="one" data="3B"/>
                            </menuitem>
                        </menuitem>
                        <menuitem label="Menu3" data="top">
                            <menuitem label="MenuItem 3-A" data="3A"/>
                            <menuitem label="MenuItem 3-B" data="3B"/>
                        </menuitem>
                        <menuitem label="Menu4" data="top">
                            <menuitem label="MenuItem 4-A" data="4A"/>
                            <menuitem label="MenuItem 4-B" data="4B"/>
                        </menuitem>                                       
                    </>;
                private function creationHandler():void{
    menuBarCollection = new XMLListCollection(menubarXML);
    private function moduleLoadHandler(event:ModuleEvent ):void{
    canvas.addChild( _moduleInfo.factory.create() as Module );
    _moduleInfo = ModuleManager.getModule('ActionModule.swf');
    _moduleInfo.addEventListener(ModuleEvent.READY, moduleLoadHandler);
    _moduleInfo.load();
                // Event handler for the MenuBar control's itemClick event.
                private function menuHandler(event:MenuEvent):void  {
                    // Don't open the Alert for a menu bar item that
                    // opens a popup submenu.
                    //if (event.item.@data != "top") {
                    //    Alert.show("Label: " + event.item.@label + "\n" +
                    //        "Data: " + event.item.@data, "Clicked menu item");
                private function onTopSelection(event:MenuEvent):void{
                    var mb:MenuBar=event.target as MenuBar;
                    var selectedIndex:int=mb.selectedIndex;
                    for (var i:int=0;i<mb.menuBarItems.length;i++){
                        if(i==selectedIndex){
                            (mb.menuBarItems[i] as MenuBarItem).setStyle("fontWeight","bold");                   
                        else{
                            (mb.menuBarItems[i] as MenuBarItem).setStyle("fontWeight","normal");                           
             ]]>
        </mx:Script>
        <mx:Canvas id="canvas" height="75%" width="75%"
            paddingTop="10" paddingLeft="10">
            <mx:MenuBar labelField="@label" itemClick="menuHandler(event);" dataProvider="{menuBarCollection}" change="onTopSelection(event)" />
        </mx:Canvas>
    </mx:Application>

    Hi,
       I am also doing the same way, but ended up with some issues.
    I have a Main Application with a menu Bar on Top and Rest of the area occupied by a ModuleLoader.
    First I set the URL to login module, on successful login I initialize my menu Bar based on User role and load a new module, it contains only a SuperTabNavigator.
    On click of an item in my Application Menu, I add a Custom Componenet built on Canvas (Named MyCanMod , this contains a Module loader and a progress bar in it , I have attached the code) as a tab to the tab navigator.
    On menu item click, I take the data of my menu item and set that as the URL of my Module Loader inside the Custom canvas. Then it is added as a tab to my tab navigator.
          private function openItem(event:MenuEvent):void
    var myModule:MyCanMod = new MyCanMod();                tabNav.addChild(myModule);
                    tabNav.selectedChild = myModule;
                    myModule.label = event.item.@label;
                    myModule.icon = document_icon;
                    myModule.urlParam = event.item.@module;
    urlParam is a bined to the module Loader url in my Custom componenet.
    All works fine.  I am not unloading any modules and all the module loader are set to current domain.
    When the user logs out and logs back with out refreshing the browser I get Type Error or some time null Object error and it is random. If I refresh the browser and login back, every thing is fine.
    I do have reference for IDragManager,HistoryManager,PopUpManager,RemoteObject in main application.
    I am not concerned about unloading modules now, but then on Tab close event I unloaded the module, and that did not solve the problem.
    I get an error like
    TypeError: Error #1034: Type Coercion failed: cannot convert flexlib.controls::PromptingTextInput@6152a851 to flexlib.controls.PromptingTextInput.
                at mx.core::UIComponent/createReferenceOnParentDocument()
                at mx.core::Container/createComponentFromDescriptor()
                at mx.core::Container/createComponentsFromDescriptors()
                at mx.core::Container/createChildren()
                at mx.core::UIComponent/initialize()
                at mx.core::Container/initialize()
                at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
                at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
                at mx.core::Container/addChildAt()
                at mx.core::Container/addChild()
    Any help is appreciated; I am really struck with it, please help.

Maybe you are looking for