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

  • SEARCH
  • Home
  • 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 succeed installing Box2D into my project. But how can I render a body?
In fact, all is in the title, i succeed to display Google Maps based
I installed both Zend Debugger and XDebug in Eclipse PDT but did not succeed
I read many articles to understand Java servlet but I did not succeed. Can
Publish succeed appears in the status bar... I execute IE8 , the home page
I tried using Exist and IN. Not only did I not succeed, it didn't
I'm creating an actionscript project in Flex Builder. I succeed to export from Flash
Can someone explain this result to me. The first test succeeds but the second
I use templated helpers in an ASP.NET MVC 3 project. One display template had
I don't like the built in Html.ValidationSummary helper because I want a single message

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.