You might need to add the "releaseOutside" hack for AS3, since there
is no releaseOutside anymore:

http://www.kirupa.com/forum/showthread.php?p=1948182#post1948182


On Wed, Sep 24, 2008 at 2:43 PM, Lord, Susan, CTR, DSS
<[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am having problems with my event listener for my drag and drop.
> Sometimes it detects the mouse up event and sometimes it doesn't and
> won't let go of the object (stopDrag). Have any of you ever run into
> this? If so, is there a fix?
>
> Basically I have this coding...
>
> function stopDragging(event:MouseEvent):void {
>        trace("mouse up")
>            // There is more function code I just didn't want to paste
> it all in.
> }
>
> Triggered by:
>
> for (i= 0; i < aButtons.length; i++) {
>        aButtons[i].mouseChildren = false;
>        aButtons[i].addEventListener(MouseEvent.MOUSE_DOWN,
> startDragging);
>        aButtons[i].addEventListener(MouseEvent.MOUSE_UP, stopDragging);
>
> }
>
> Any ideas?
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to