Make it appear at the top of the menu button - no background

Not sure whether or not this belongs to the ActionScript forum.  Sorry if it is misplaced.

I am creating a menu for a Flash project: the submenu below the Menu button - I would like it to appear above the Menu button when you click on the Menu button.   Tried everything I could think - here's the code:

_Global.style.SetStyle ("themeColor", "haloBlue");

to import mx.controls.Menu;

var cmMainMenu:Menu = Menu.createMenu ();

cmMainMenu.addMenuItem ({label: "Glossary", instanceName: "miGlossary"});

cmMainMenu.addMenuItem ({label: "Powerpoint", instanceName: "miPowerpoint"});

var changeListener = new Object();
changeListener.change = {function (evt_obj:Object)}

var item_obj:Object = evt_obj.menuItem;


If {(item_obj.attributes.label=="Glossary)"}

getURL ("Glossary.html", "emptyClip");
}
Else if (item_obj.attributes.label == "Powerpoint") {}
getURL ("Powerpoint", "emptyClip");

}
}

cmMainMenu.addEventListener ('change', changeListener);

Add a button that displays the menu when you click on the button
listener var = new Object();
Listener.Click = {function (evtObj)}
var button = evtObj.target;
refer to the button
The menu at the bottom of the button
_root.cmMainMenu.Show (button.x, button.y + button.height);

}
MainMenu_btn.addEventListener ("click", listener);
exit.onPress = function() {}
fscommand ("QUIT");
//}

Stop();

Any help would be appreciated.   Thank you

Change the settings in your show() method.

Tags: Adobe Animate

Similar Questions

  • Impossible to make it appear in the volume icon notification area. Have you tried all the procedures of sugested suggested on Microsoft Help.

    Impossible to make it appear in the volume icon notification area.  Have you tried all the procedures of sugested suggested on Microsoft Help.

    Try this:

    In the run box type: regedit, click OK
    Navigate to:

    HKEY_CURRENT_USER
    \SOFTWARE
    \Microsoft
    \Windows
    \CurrentVersion
    \Explorer
    \TrayNotify

    Right-click on icon stream, click on remove, restart your computer.
    The icon stream all will return.
    This works on most of the configurations.
    You may need to do a few times.

  • I have music files in my playlists that I can't make it appear in the Windows Media Player library

    Original title: Player Windows medis library - Playlist trouble

    -J' have music files in my playlists that I can't make it appear in the library - how can I sync the two up - I tried the usual fall / drag...

    Hello

    1. is the specific issue of the reading list?

    2 are you able to add other songs in the Windows Media Player library?

    3 did you changes to the computer before the show?

    The Player library is the location in the player that lists all of the music, videos and photos on your computer.

    When you play a media file on your computer or a removable storage device, the file is automatically included in the Player library, so you can access it directly from the reader. And if you have access to remote media stored on other computers on your network, you can change the player settings to add those files remotely to the Player library when you play them. The reader does not automatically add a file that you play from removable media, such as a CD or DVD.

    Since you aren't able to add songs to the library, you can try the following and see if they help.

    Method 1: Open the troubleshooter in the Windows Media Player library

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-library-Troubleshooter

    Method 2:

    This problem may be due to database corruption.  You can delete the Windows Media Player database and check if the problem persists.
     
    Steps to clear the database of windows media player:
     
    a. exit Windows Media Player.
    b. Click Start, run, type %LOCALAPPDATA%\Microsoft\Media Player and then click OK.
    c. Select all files in the folder and then click on Delete on the file menu.
     
    Note You don't have to remove the folders that are in this folder.
     
    d. restart Windows Media Player.
     
    Note Windows Media Player automatically rebuilds the database.
     
    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:
     
    a. exit Windows Media Player.
    b. Click Start, click Run, type % LOCALAPPDATA%\Microsoft and then click OK.
     
    c. Select the Media Player folder, and then click on Delete on the file menu.
    d. restart Windows Media Player.
     
    Note Windows Media Player automatically rebuilds the database.


    For more information, see:

    Add items to the Windows Media Player library:

    http://Windows.Microsoft.com/en-us/Windows7/add-items-to-the-Windows-Media-Player-library

    The Windows Media Player library: frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/Windows-Media-Player-library-frequently-asked-questions

  • How paste an accordion MENU navigation on a mobile scrollbar page and make it work properly? Like I can't pin, I keep it at the top of the page with scroll effect 0. It collapse, shows the menu buttons but does not close back up once reached the

    How paste an accordion MENU navigation on a mobile scrollbar page and make it work properly?

    Like I can't pin, I keep it at the top of the page with scroll effect 0.

    It collapse, shows the menu buttons but does not close back once it reaches the anchorpoint.

    Appreciate your help. Thanks.Guess I need to find another solution. Am an artist and don't know anything about coding.

  • Animated GIF selection does not appear in the menu "output" first Pro cc?

    I watched an on-line tutorial of how to make GIFs using first Pro CC. When you select the exit, an animated gif choice appeared in the output drop-down list of the CC Pro first used in the tutorial. However, the menu of my CC out first place Pro does not have a selection of animated gif. How to make a selection of animated gif to appear in the menu of my CC Pro exit first?  I would like to create gifs with my CC Pro first.

    It is possible that the Media Encoder has allowed this earlier, but now, you have to use Photoshop to make it work. Simply, it worked for me. (I'm on a Mac 10.10.5.)

    1. Via Media Encoder, export your movie or animation of Premiere Pro (or After Effects). For Format, choose JPEG. For the preset, choose a corresponding sequence setting. Choose a folder to export the sequence in so it is easy to isolate later.
    2. Open Photoshop, then choose open. Navigate to the folder where you saved the sequence and select the first image in the sequence. Click on the sequence of images at the bottom of the dialog box, and then click OK.
    3. Choose a frequency of images in the next dialog box, and then click OK. In Photoshop, which will open the movie as a film with a visible timeline at the bottom.
    4. Choose file > export > save for Web (Legacy). At the top right, select GIF. Bottom right, replace the Options setting in a loop once in Forever. Click the small play button to watch the animation loop. Click Save.
    5. Load the GIF saved in your browser and it should loop. See picture posted here.

    Please post a reply if this procedure works for you. To avoid a few snags, that I met during an attempt to do this, I recommend having your game size and the duration of the film frame in Premiere Pro and not try to do any resizing later. When I resized it later, the loop never happened; He played only once.

  • ImageBrowser does not appear in the menu AutoPlay Windows8

    I use EX ImageBrowser (currently at 1.4.0.5 level) on my computer of Windows8.  After a few initial setting issued (SilverLight, etc.) last may he worked satifactorily - except that it does not appear in the menu Windows Autorun for camera memory cards.

    I have attempted to remedy this by going to Windows Control Panel - AutoPlay - memory cards to select this option, but it seems here either - so I can't make my choice.

    Any suggestions on how I can fix this because it is much easier to download my images if ImageBrowser appears puts whenever I insert a memry card?

    Yes, the level of ImageBrowser EX I serve since January (1.4.0.5) is the last level by Canon Support.

    But I decided to uninstall/reinstall anyway.

    After uninstalling/reinstalling I found myself with the same level - 1.4.0.5 - but the AutoPlay has been fixed.

    So I assume that there was a problem originally ImageBrowser EX (1.2.1.13), I installed way back in may 2013. which has carried through the 1.4.0.5 3 updates version that I used until today.

    If a full/new installation is sometimes very interesting!

  • My library 'Photos' of Mac does not appear in the menu of left iMovie.

    My library 'Photos' of Mac does not appear in the menu of left iMovie.

    What version of iMovie using you?  Only iMovie 10.x.x can view the photo library. Older versions of iMovie are incompatible.

    My library 'Photos' of Mac does not appear in the menu of left iMovie.

    The library never showed?  Check if your library currentPhotos is attached to the photo library of the system.

    Pictures of launch and open the preferences. The button "use as system library" must be grey, as shown in this screenshot. If the button is gray, click it, and then restart iMovie and Photos or restart your Mac.

    It may take some time after you set up your library of Photos, before it becomes visible in the media browser.  Photos needs to create previews, and's done it by background processes, let it run overnight.

    If the library does not appear, repair the photo library, as described here: https://help.apple.com/photos/mac/1.0/index.html#/pht6be18f93

    Is your photo library a library of iCloud? Fix library will be to download again to iCloud. Fix it only as a last resort.

  • Context menu (or click on the right button) does not appear in the menu window

    The context menu does not appear in certain sections of the browser.
    If I run the browser in safe mode, it works without problem.
    I tried to reinstall firefox, after uninstalling I also manually deleted everything hidden and visible files - did not help.
    Also I tried the restore mode by default - did not help.

    Here, I put screenshoot.
    Kind regards.

    Sorry for my eng

    Hello

    Try disabling graphics hardware acceleration. As this feature has been added to Firefox, it has gradually improved, but there are still some problems.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options (Preferences on Mac or Linux) as follows:

      • In Firefox 29,0 and above, click on the menu button

        then select Options Preferences on Mac or Linux, or Windows.

      • In 28.0 Firefox and earlier versions, click on the Firefox orange upper-left button, then select the 'Options' button or, if there is no button up Firefox, go to tools > Options.
    2. In the window of Firefox Options (or preferences), click on the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

  • Stop does not appear on the menu bar on the 29.0.1 Version. How can I install?

    Stop does not appear in the menu bar on the 29.0.1 Version and I can't find the icon in the Customize menu. Simply, he seems to have disappeared. I would also like the words under the menu icons. Also the icon charge cannot be moved or customized.

    I HATE IT WHEN SITES ARE COMING OUT WITH A NEW "STREAMLINED" APPEARANCE THIS MEANS LESS AND LESS FEATURES AND MORE DIFFICULT TO USE.

    Help!

    Have you tried classic restaurateur theme? https://addons.Mozilla.org/en-us/Firefox/addon/classicthemerestorer/

  • The apple tv icon does not appear in the menu bar

    The apple tv icon does not appear in the menu bar. I can't put my screen on my TV mirror.

    Required to use AirPlay

    If you go to the Apple menu > System Preferences, click on monitors and do not see the option to "See the mirroring of the options in the menu bar when it is available," your Mac does not meet these requirements.

    Minimum requirements if your Mac and Apple TV are on the same network:

    Minimum requirements for peer-to-peer AirPlay, which allows visitors to quickly and easily connect their Mac or an iOS device to your Apple TV without getting the passwords and connection to the network Wi - Fi:

  • When I add bookmarks in the bookmarks toolbar are supposed to appear in the menu as well?

    Hello

    When I add bookmarks to the toolbar bookmarks, they do not appear in the menu and vice versa when I add bookmarks in the bookmarks menu, they don't appear in the bookmarks toolbar?
    I thought that the bookmarks are supposed to appear in both places any bookmark that I insert under?

    Thank you
    bluifox

    Thank you for this! Somewhere else I read that it's their way of working? I'll have to be more careful when I add bookmarks I don't go looking in the wrong for something bookmark. Now, I think I'll keep most of my professional Favorites under the menu bar and the most visited bookmarks in the bookmarks toolbar.

    Much appreciated!
    bluifox

  • My bookmarks sidebar appears suddenly empty, showing a search panel and no bookmarks. All bookmarks always appear in the menu bar. Ideas?

    My bookmarks sidebar appears suddenly empty, showing a search panel and no bookmarks. All bookmarks always appear in the menu bar. Ideas?

    This may be a problem with the places.sqlite file that stores the bookmarks and history.

  • Windows Media Center will not download updates to the Guide. Netflix and Internet TV options do not appear on the menu screen.

    I tried to configure Media Center for Internet TV and Netflix. I have Setup several times and attempted to manually download the updates. So far, neither option appeared on the menu screen and I repeatedly received an error message when you try to download updates to the guide that directs me to check the update log. I find the event log, and that's what he said:

    * 10:44:58 - test of internet connection. 10:45:01 - established connection. 10:45:02 - directory of recovery. 10:45:03 - directory of recovery. 10:45:04 - directory of recovery. 10:45:05 - Directory of recovery.

    * 10:45:05 - cannot retrieve the directory (error: invalid security token.)

    * 10:45:05 - SportsSchedule the package is not available. 10:45:05 - SportsV2 the package is not available. 10:45:05 - ClientUpdate the package is not available. 10:45:05 - NetTV package is not available. 10:45:05 - MCESpotlight the package is not available. 10:45:05 - MCEClientUX the package is not available. 10:45:05 - broadband package is not available. 10:45:06 - errors during the last update. 10:45:06 - retries at 2009-10-25 04:54:37.

    Also, when I tried to contact support by email and has been asked to enter my product ID number to verify the activation, I was told it was not valid. I repeatedly entered it exactly as stated on the page of the system. I also activated the software certified on the same page of the system.

    Any help would be appreciated because I would really like to be able to use these features.

    Thank you.

    I had this same problem. That's what I did which appeared to fix (not sure if that fix or if it sets just itself). I ran the mcupdate.exe file located in the C:\windows\ehome\ directory (or some windows player is on). Yet once again, I'm not sure if this corrects the problem, or if it randomly determines.

  • InvokeActionItem unrecognized - does not appear in the menu

    Could not get InvokeActionItem to acknowledged or executed

    Copied documentation on codes ffrom (2 places, more or less identical) and added to my actions. My ActionItems always appeared in menu and run but the InvokeActionItem entries not included in the menu and when I have them forced the ActionBar I get the error below at run time

    QML Code

    at the end of the definition of the page

    actions:]

    {ActionItem}

    Title: qsTr ("Sound")

    ActionBar.placement: ActionBarPlacement.OnBar

    onTriggered: {}

    myClass.displaySettingsPage ("sound");

    }

    },

    {ActionItem}

    Title: qsTr ("BBM: display and update the profile" "")

    ActionBar.placement: ActionBarPlacement.OnBar

    onTriggered: {}

    myClass.displayProfilePage (); example

    }

    },

    Recompiled with Gold version and InvokeActionItems now appear in the menu. They are all grouped together after action items menu regardless of where they are placed in QML.

    Now just to figure 1) why I can no longer save app with BBM in gold and 2) how dynamically change the uri because there is no prompt

  • Point for the action Menu spacing: set an action item to appear in the menu of the action at the bottom?

    How do you define an action item to appear in the menu of the action at the bottom? As the point to delete shown here:

    https://developer.BlackBerry.com/Cascades/documentation/Getting_started/porting/mapping.html

    You would most likely want to start with https://developer.blackberry.com/cascades/reference/bb__cascades__deleteactionitem.html and discover the parent class.

    The text suggests that the title and icon appear in the standard only if you do not specify your own when you add the element, so there is hope, you can fake it.

Maybe you are looking for

  • iPhone 7 delivery date.

    Hello I ordered a 7 IPhone. the delivery times were "September." Is it confirmed that it is to come in September rather than November?

  • "Favorites" was deleated, I need to install it again

    My Favorites bar has been deleated and I can't find how to install again... Please help me...

  • Portege 3110 boot - hexadecimal error codes

    I have an old Portege 3110, does not start. Checked connection and power etc etc. Power light is green with hand connected, then press the button it goes off, nothing happens then it flashes orange with hexadecimal code 4A Does anyone know what 4A he

  • Upgrade to Win 7 from Vista

    I want to improve my laptop Win 7 Vista seven year old. Microsoft sells more than Win 7 and I would appreciate advice on what to buy from other dealers. Thank you.  Fred

  • E2000 Gigabit connection to the modem

    Hello I use an E2000 connected to a DSL modem through the internet port. My modem is able to connect at gigabit speed, but it doesn't seem to be the case with the E2000. All other ports are running at speed gigabit without problem. Y at - it all sett