Nested Menus Not Appearing in a Custom Panel Fly-out Menu

I tried to create a menu for a custom panel, using the example which David Clark graciously pointed out to me:
http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/programmers_guide/cus tomizing_the_ui.htm
However, the nested menu items do not appear. I only see Item 1 and Item 2 (and the separator and Item 3), but not Item 2-1. I was expecting to see Item 2-1 nested under Item 2.
I used the menu structure provided in the example (note that there is an error in the example - one of the closing tags is incorrectly specified as "<MenuItem/>" instead of "</MenuItem>"). Below is the corrected XML and my code:
protected function createMenu():void
   var xmlMenu:XML =
    <Menu>
      <MenuItem Id="item_1" Label="Item 1"/>
      <MenuItem Label="Item 2">
        <MenuItem Label="Item 2-1"/>
      </MenuItem>
      <MenuItem Label="---"/>
      <MenuItem Label="Item 3"/>
     </Menu>;
    CSXSInterface.instance.addEventListener(MenuClickEvent.FLYOUT_MENU_CLICK, menuClickHandler);
    var menuAdded:SyncRequestResult = CSXSInterface.getInstance().setPanelMenu(xmlMenu);
    if (SyncRequestResult.COMPLETE != menuAdded.status)
     trace("Unable to add menu");
   public function menuClickHandler(event:MenuClickEvent):void
       switch (event.menuName) //you can also use the menuId
    case "Item 1":
    trace("Item 1 has been clicked");
    break;
    default:
    trace("clicked " + event.menuName);
I'd appreciate it if somebody could tell me what I'm doing wrong.
TIA,
mlavie

Hi Bob,
Any news? BTW - the example should be corrected - there is a tag incorrectly closed.
Regards,
mlavie

Similar Messages

  • CS3 action script 2.0: compiled clip components do not appear in the component panel

    Hi,
    I have a FLA file containing 3 compiled clip components.
    I use a MXP file to copy this file to the components panel,
    this works fine when using Macromedia Flash 8 or Macromedia MX
    2004, but when using CS# the components do not appear in the
    components panel, only if a use regular component or SWC component
    it appears in the panel, any reason why?any ideas?
    Thanks
    Maya

    I can use this code from html. I'm able to say where the swf
    and xml file are. I just don't know how to do this using action
    script.
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    width="768" height="576" id="tech" align="middle">
    <param name="movie"
    value="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    />
    <param name="quality" value="high" />
    <embed
    src="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
    quality="high" width="768" height="576" name="tech" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>.

  • Ipod restore failed  can see on the screen is the cable connection symbom and the ipod does not appear in the LH panel of itunes is there an easy solution to this

    ipod restore failed  can see on the screen is the cable connection symbom and the ipod does not appear in the LH panel of itunes is there an easy solution to this

    To get iTunes to see your iPod try:
    - Placing the iPod in recovery mode.  See:
    iPhone and iPod touch: Unable to update or restore
    - Placing it in recovery DFU mode:
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Sometimes this program will get th iPod in recovery mode:
    RecBoot iPod-1.0.2-Mac-Jaxov.zip - File Shared from Box.net - Free Online File Storage

  • Logitech camera does not appear in sound control panel

    I have a Logitech webcam. Both audio and sound worked well until yesterday. Now the audio does not work (Video is fine) ando does not appear in sound control panel. I've tried the webcam in other mac and works fine.
    I'm running Lion 10.7.5 on a Mac Pro mid 2007.
    Any idea?
    TIA
    Antonio

    HI,
    Restart the Mac.
    If that does not work  I would also try a PRAM reset.
    Shut down the computer.
    Restart it holding down Apple/CMD ( or ⌘)+ALT( ⌥)+P+R Keys until you have heard three Start Up Bongs.
    8:36 PM      Wednesday; November 28, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Why does my new saved swatch not appear in the Swatches panel when I open a new document?? Thanks :)

    I can create a new swatch and save it. It appears in the Swatches panel. But when I close (or save and close) the document, then open a new one/existing old one, my new swatch is no longer in the Swatches panel!?
    I have tried finding the answer on forums/Adobe books etc but to no avail - it is driving me mad!!!
    Thanks

    That's because a new file defaults to the "default template". You can save a file as a custom template, then open your template to use the custom swatches.
    I'm not saying I like this. It's just the way it is.
    Any file can be opened as a "swatch library", as well. If you've created files with custom swatches and want access to them, go to: Swatch panel flyout menu>Open Swatch Library>Other Library, then find the file containing the swatches. It will open as a "Library" and you can click swatches to add them to the current Swatch panel. You can also set the Library to be "Persistant" by going to "Library Panel flyout menu>Persistant". Then that Library will open anytime you open Illustrator.

  • CD DVD option does not appear in Sys Prefs panel "sharing"

    Want to use CD sharing on my MacBook Air. In System Panel "sharing" the option CD/DVD is not listed, so can't activate the option.
    How to get this option in "sharing"?

    Your MBA has no optical drive to share. The Sharing option you are looking for will appear in another computer - one that has an optical drive to share.
    The shared drive will appear in a Finder window's sidebar under "devices".

  • ViewMenuItem do not appear when applying custom skin on ViewNavigatorApplication

    ViewMenuItems works fine when I don't apply skinClass fo ViewNavigatorApplication, but when I apply custom skin to ViewNavigator, ViewMenuItems doesn't appear.
    Here is my main file
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.DriveSafeHomeView" applicationDPI="160"
                                 initialize="applyRuntimeStyleSheet()" skinClass="skins.CustomApplicationSkin" >
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                public function applyRuntimeStyleSheet():void {
                    styleManager.loadStyleDeclarations("css/Styles.swf")
                        // skinClass="skins.CustomApplicationSkin"
            ]]>
        </fx:Script>  
    </s:ViewNavigatorApplication>
    Code for CustomApplicationSkin.mxml is
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin name="CustomApplicationSkin"
                    xmlns:fx="http://ns.adobe.com/mxml/2009"
                             xmlns:s="library://ns.adobe.com/flex/spark"
                                       >
            <fx:Metadata>
                        <![CDATA[
                        [HostComponent("DriveSafe")]
                        ]]>
                    </fx:Metadata>
            <s:states>
                        <s:State name="normal" />
                         <s:State name="disabled" />
                     </s:states>
            <s:BitmapImage width="100%" height="100%" source="@Embed('/assets/background.jpg')"/>
            <s:Group id="contentGroup" width="100%" height="100%" minWidth="0" minHeight="0" />
            <s:ViewNavigator id="navigator" width="100%" height="100%" />
    </s:Skin>

    If you create a new custom field you have to wait for the analytics refresh before you can use it in reporting & analytics. The frequency of the refresh differs per environment. You can put VALUEOF(LAST_REFRESH_DT) in a column formula to see when the last refresh has been performed.
    Regards, Tim

  • Settings/Show menus not appearing when shared computer selected.

    My daugher and have PCs and share our iTune libraries with each other.  I'm not quite sure when this happened, but there are no longer any menus available when we select each other's computer under SHARED.  We can't select "Items not in my library" to import new music.  Additionally, we can't set iTunes to automatically transfer new purchases from the other's library. 
    How can we get our menus back?

    It should work, is the pre-script set in the story or the track?
    Actually stepping back a second, how is the project set-up? It looked like it was stories between tracks?
    Also take a look here
    http://discussions.apple.com/message.jspa?messageID=2069686#2069686
    http://discussions.apple.com/thread.jspa?messageID=2065380&#2065380
    And as Hal noted here sometimes prescripts act strange so you could also try the same script as standalone
    http://discussions.apple.com/thread.jspa?messageID=5425873&#5425873

  • IPTC Extension fields do not appear in the Metadata panel (Bridge CS5)

    I can see and edit them from the file info (cmd-I) but I cannot get them to show up in Metadata panel. They are listed as a set and individually in the Metadata preferences but no amount of enabling/disabling with or without restarting Bridge will coax them to appear. This is a little disappointing as they are all available in the Lightroom 3 metadata panel.
    Is this a known problem/feature/bug????
    tks, louie

    I heard on another forum that it is just a mater of time before this is fixed.
    Times seems to fix everything. However the big question is: will you still
    be around when the result is there...

  • Ribbon sub-menus not appearing

    I have the following problem which is driving me up the wall. When im in word, sometimes, out of nowhere, word will deny me access to the "start" or "layout" part of the ribbon. The said tabs just won't open. I cannot find a consistency
    in this, it happens when i have text marked (and want to edit the font, cross it out, justify or something), or sometimes when im just in the text. The problem is usually solved by repeatedly clicking on the said tabs, minimising-maximizing the window and
    trying again, etc. The computer is new, i tried it with no background programs running, i tried to run other programs, just to exclude that the computer is just being slow. Please help. 

    Hi Charles,
    I know there's no exact "Start" or "Layout" tab in English version of Office, but if the user is using a non-English version of Office, the tab for "HOME" may actually be translated as "Start" in the other language,
    like in my Chinese version of Office.
    What concerns me is this:
    "The problem is usually solved by repeatedly clicking on the said tabs, minimising-maximizing the window and trying again, etc."
    If it can be solved by repeatedly clicking on the said tabs, is it by design or an unexpected issue? That's why I suggested Safe Mode.
    I just come up with one more consideration to help the customer, and I agree with your previous post as well, won't be surprised if the customer marks either of our replies as answer.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Photoshop CS6 Plug-ins not appearing when clicked under extension drop-down menu

    I noticed that for some reason, my default extensions that come with photoshop cs6 extended and also custom installed plug-ins won't appear when clicked on.  Usually you see a check mark by the plug-in if it is working and is visible on the photoshop layout as a panel.  I have tried uninstalling and reinstalling, which the Kuler extension worked, but only under the workspace that I opened it up for.  So for example, I opened it up on Essential workspace, but it wouldn't appear when changed to painting workspace.  When I close the panel from the workspace, it won't ever come back up again even when clicked on under the extension drop-down menu on any workspace.  This is occuring not just on my desktop, but also on my laptop.  Both are not Photoshop CC, but regular Photoshop CS6.
    I don't really mess around with the extensions much, but once I found out about the painterswheel plugin, I really wanted to try it out, hence now noticing this extension issue with my plug-in..
    All my plug-ins appear on the drop down menu for Windows > Extensions, so it shouldn't be a file placement problem.  I have also tried the Adobe troubleshoot for plugins by uninstalling my plug-ins to see if third party plug-ins were the problem, but still my default plug-ins won't even work.

    I'm a little confused with what you write. There is a difference between extensions and Plug-ins.  Plug-ins are installed using the plug-ins installer and extensions are installed by "Adobe Extension Manager (version)" where version is the Photoshop version and the extension package must be created for that particular Photoshop version.  A CS5 package will not work in CS6 etc.   Installed extensions will be listed in Photoshop under menu Windows>Extensions>List of them.  Plug-in may install in the Filters menu or a place like menu File>Automate>Names.  Installed Extensions that you installed should also show in the  "Adobe Extension Manager (version)" window. Adobe installed extensions like Kuler and Mini Bridge do not show in the "Adobe Extension Manager (version)" window.

  • Boris Title 3D does not appear in FCE 3.5 viewer generators menu

    Hello. I've recently installed FCE HD 3.5 (all the options with LiveType, SoundTrack, etc.), and now I'm learning it.
    But now I cannot find the Boris 3D text generator under viewer generetors pop up menu. I'm pretty sure that 3D title is installed. Please, any help on how to get Boris under generators menu would be greatly appreciated.
    Regards,
    Dmitriy.

    Have you completely uninstalled FCE and all its
    components, including all folders, documents, files
    and other items containing any of its affiliated
    applications, including, but not limited to, folders,
    files and documents containing the words Boris,
    BorisFX, Boris FX, Title 3D, or Title Crawl, as well
    as all folders, documents, files, and other items
    related to or containing, but not limited to, the
    words Final Cut, Final Cut Express, FCE, LiveType, or
    Soundtrack.
    I've done all of that last night: completely deleted all the items (files, folders, plists, prefs, etc) as described on Apple's site. Then reinstalled FCE with all the related components. Still NO BORIS!
    I think there is no point to bother people anymore on this forum. I really appreciate your efforts to help. This must be some kind of unfortunate "hidden bug" on my system that I'm going to have to live with.
    As a last resort I might try to stop by the nearest Apple store and try to find someone who knows FCE, etc. Or I might try to contact Apple, file the bug report, or something like that (can some one tell me how to go about it?).
    If all else fails, I'll just use LiveType for my titling needs. Would this be a viable option?
    Regards,
    Dmitriy.

  • Options does not appear when I pull down the Tools menu.

    Cannot find Options option. Trying to manage my downloads. Found suggestion online but cannot find "Options" in "General" as described.

    Hello,
    The Mac interface is slightly different than Windows. You can find your Preferences (as it is called on Mac and Linux) under the "Edit" menu, or by clicking:
    * Firefox Menu [[Image: New Fx Menu]]
    From there the steps should be the same as in Windows (Download options can be found under the General Tab).
    * For more information please see [[Startup, home page and download settings]]

  • Device Synch Menus does not appear in iTunes 11 on Windows 8 PC

    My 3rd generation iPod Nano connected to Windows-8 PC and iTunes 11 - Device "Summary" menu does not appear.  If you select the <File> menu in iTunes there is an option to "Synch Nano".  My iTunes is set to manually manage music on the Nano - because the "Summary" menu does not appear in iTunes it is impossible to select albums to Synch with the Nano.
    On the upper right bar there is an eject button for the iPod Nano.  This does in fact eject the Nano device and re-appears in iTunes if you disconnect the device then reconnect the iPod Nano.
    No other device menus are present in iTunes 11 under Windows-8.  The iPod Nano music library also does not appear.
    Only the PC based iTunes music library is visible.
    Itunes software versions are both current on the Nano and Windows-8 PC.
    The computer was deauthorized and then authorized in iTunes.
    The Synch History was reset in iTunes Preferences - this did not re-establish the Nano as a device to synch with iTunes.  (Typically fixes similar problems)
    Resetting nano device by holding Menu after switching unit on/off (Apple Logo Appears then Reboots Nano) makes no difference.
    Nano shows as a drive in Windows-8 in "My Computer" and the operating system recognizes the device connection.
    No problem ejecting and reconnecting the Nano in Itunes but traditional device menus are gone with the exception of the eject button.
    Tested the same iTunes Nano on two other computers with iTunes 11 installed on Windows-7 and Windows XP - works fine.  This issue only occurs on Windows-8 computers.
    Any suggestions would be appreciated.

    I just updated iTunes today and this seems to be the cause
    If you're already at version 11.1.5.5, try the procedure in Cerbu's post:
    Re: sync problem
    ... or try section 5 from the following document:
    TS1538: iOS: Device not recognized in iTunes for Windows.

  • Installed HP Officejet 4100 All-in-one does not appear in Control Panel printer selection window.

    My HP Officejet 4100 Series 'All-in One' DOES NOT APPEAR in the Control Panel window even after several re-installs. The diagnostics indicate that the 4100 is not connected and dos NOT point to any path for a solution.
    Attempts to download a current Driver, ( or re-load the 4100 "software" ), WILL NOT work because the 'help' page states the driver already comes with the 4100 software and therefore does not provide for any download update, (driver or software) for the 4100 printer.
    I have reinstalled from the original Disk for the 4100 and also attemped install with Windows Update requested driver. Nothing works.

    Hi there @Past77 
    Welcome to the forums
    I read your message about your Officejet 4100 not showing that it's connected, and that you have attempted to run the Windows Update to see if that would help get the printer working again. You are correct that this model does not have a downloadable driver for Windows Vista, so your best bet would be to try running the Print and Scan Doctor tool, to see if it can kick the printer into gear and have it functioning again.
    If the tool does not work, I would then recommend looking in to a printer upgrade. Consider giving us a call to see what your options are with HP.
    Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Best wishes to you,
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

Maybe you are looking for

  • I want to get an app for my macbook pro where I can buy sheet music.

    I want to get an app for my macbook pro where I can purchase sheet music such as Demi Lovato, Beyonce etc.

  • IPhone Programming: Action triggered by clicking on alert.

    Hey Guys, I have what I suspect should be a pretty easy question. I'm still working on a Blackjack program. Basically the player goes to hit or stand, and then the game automatically has the dealer deal itself (hit on 16, stand on 17). Once the deale

  • Error while building the DC and deploying it.

    Hi, I have done all the while Post Installation Steps of Usage Type DI. The SAP Link followed was : http://help.sap.com/saphelp_nw2004s/helpdata/en/45/68d64260752a78e10000000a155106/frameset.htm This is first time, I am configuring SAP NEWDI. The ser

  • MB51 Material Document list

    In MB51 i am seeing only the Material, plant, storage location, mvt type,material doc item, posting date, unit of entry, but i have to see the cusomer who have supplied that material, and also on behalf of customer which transport agent have supplied

  • Cannot import Finalize movie into iMovie

    I have a Sony DCR-DVD103 and when I go to File>Import Movies I do see my Finalized DVD, but all the files including the Import button are grayed out. How can I import the Finalized movie into iMovie? Upon connecting the Video Camera to my MacBook Pro