# Drag enter event problem

**URL:** <https://forum.kirupa.com/t/drag-enter-event-problem/299835>\
**Category:** flash\
**Created:** [November 11, 2009, 5:28pm UTC](https://forum.kirupa.com/t/drag-enter-event-problem/299835 "2009-11-11T17:28:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![livingdeadbeat](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@livingdeadbeat](https://forum.kirupa.com/u/livingdeadbeat)\
**Post date:** [November 11, 2009, 5:28pm UTC](https://forum.kirupa.com/t/drag-enter-event-problem/299835/1 "2009-11-11T17:28:47Z")

</div>

Hi forum,

I think this might be a problem with the way events bubble or something but i’m not sure.

i have a canvas which has a drag enter and drag drop event attached to it. On drop it creates a Box inside it, which i create in AS3 as so:

```auto
var newField:Box = new Box;
          
newField.width = 500;
newField.height = 50;

newField.addEventListener(DragEvent.DRAG_ENTER, dragEnter);

```

As shown i add a drag enter on this new box. Problem is when i go to drag another proxy over the canvas and over this new created box it just continously fires the drag enter event that i attached to the “newField”. It doesn’t just fire it once when my mouse enters the newly created Box as i would expect.

Is this a problem with the drag enter event on the parent conflicting with the drag enter event on its child?

Thanks for any help

Tom
