Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6097729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:04:37+00:00 2026-05-23T13:04:37+00:00

I succeed to display the menu (ContextMenu AS3 class) but associated events (ContextMenuEvent.MENU_SELECT and

  • 0

I succeed to display the menu (ContextMenu AS3 class) but associated events (ContextMenuEvent.MENU_SELECT and ContextMenuEvent.MENU_ITEM_SELECT) don’t work with IE >= 8 and Chrome >= 12:

AS file :

package
{
    import flash.display.*;
    import flash.ui.*;
    import flash.events.*;

    public class TestContextMenu extends MovieClip
    {
        private var _contextMenu : ContextMenu;

        public function TestContextMenu()
        {
            _contextMenu = new ContextMenu();

            _contextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, function (event : ContextMenuEvent) : void {
                trace('Menu displayed');
            });

            var menuItem : ContextMenuItem = new ContextMenuItem('Item 1');

            menuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, function (event: ContextMenuEvent) : void {
                trace('Menu item selected');
            });

            _contextMenu.customItems.push(menuItem);

            contextMenu = _contextMenu;
        }
    }
}

Embed code :

<object style="height: 390px; width: 640px">
    <param name="movie" value="menu.swf">
    <param name="allowFullScreen" value="true">
    <param name="allowScriptAccess" value="always">
    <embed src="menu.swf" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390">
</object>

Anyone knows why ? And how can I solve it ?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T13:04:37+00:00Added an answer on May 23, 2026 at 1:04 pm

    I finally found the issue :

    There was 2 different versions of Flash player embedded with Chrome. I just disabled one of them (chrome://plugins). I kept the ‘/Library/Internet Plug-Ins/’ one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create an object of Console class, but could not succeed.
I am trying to implement nested quotes in my BBcode class. But havent succeed
I was trying to find a solution but did not succeed even if it
i succeed in using this code in a new project, but, when copying it
In fact, all is in the title, i succeed to display Google Maps based
I use highcharts to display a chart in my page. It works fine, but
i tried to fix an issue with apostrophes but did not succeed. Please have
Publish succeed appears in the status bar... I execute IE8 , the home page
I know I succeed in writing my code to that address using int 13h
After long searches, I succeed to delete a row in a jqgrid with form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.