# \[Fx\] DragEvent on Sprite - not working

**URL:** <https://forum.kirupa.com/t/fx-dragevent-on-sprite-not-working/235721>\
**Category:** flash\
**Created:** [August 14, 2007, 8:54am UTC](https://forum.kirupa.com/t/fx-dragevent-on-sprite-not-working/235721 "2007-08-14T08:54:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete\_zahut](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pete\_zahut](https://forum.kirupa.com/u/pete_zahut)\
**Post date:** [August 14, 2007, 8:54am UTC](https://forum.kirupa.com/t/fx-dragevent-on-sprite-not-working/235721/1 "2007-08-14T08:54:03Z")

</div>

Is it possible to have the drag/drop area as a Sprite?

[AS]var spr:Sprite = this.rawChildren.getChildByName(cd.target) as Sprite;  
spr.addEventListener(DragEvent.DRAG\_DROP,doDragDrop);  
spr.addEventListener(DragEvent.DRAG\_ENTER,doDragEnter);  
spr.addEventListener(DragEvent.DRAG\_OVER,doDragOver);[/AS]

None of these events trigger, but if I try it as a canvas it works. So can I conclude that the DragManager doesn’t support rawChildren?

:pa:
