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 6201611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:35:11+00:00 2026-05-24T04:35:11+00:00

I have some MovieClip class that has eventListener , added from inside the constructor

  • 0

I have some MovieClip class that has eventListener, added from inside the constructor of the class (it’s MouseEvent.MOUSE_DOWN). Now, I want to add the same listener externally, from parent class, for other purposes. Will these two interfere with each other or it’s okay?

  • 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-24T04:35:12+00:00Added an answer on May 24, 2026 at 4:35 am

    It is absolutely legal to do this.

    You need to have in mind how mouse events work. The event dispatching system inspects the display hierarchy of the object that triggers the mouse event. There is then a very root element – usually the stage – and the very bottom element, the event target.

    Flash notifies now the entire hierachy about this event. If any of the elements in this hierarchy has a listener set to the mouse down event, it will get notified.

    The notification is a 3 step procedure starting with the very root element going down (1) to the target element, notifying that element (2) and again bubbling up to the root element (3).

    The top-down notification flow is called capture phase. To receive notification here you need to set the useCapture flag to true. The bottom-up notification flow is called bubblin phase. This is to what your parent is registered to by default if not set useCapture to true.

    The target phase of an event follows the caputure phase. Here the actual event target that has triggered the event is notified.

    Summary: Events are dispatched in a 3 phase procedure. Elements of a display hierarchy may listen to that event or not.

    Found a web link here: http://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html

    enter image description here

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

Sidebar

Related Questions

Have some text that needs to be replaced, searched around this website for all
I have some code that should remove the parent row of the clicked td
I have some Java code that takes an XML (SOAP) message and returns the
I have some code that when a user clicks on a link Add Comment,
I have some code that uses a form.submit() to open up another window when
I have 2 SWF, one of them (let's call it Resources.swf ), that contains
I have a developed a application that allows users to draw simple images on
i am currently making a flash pond with fishes in it, and i have
I am working on a game in which I want a movie clip to
i searched for something similar here, but didn't found a clue about what's going

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.