A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Drag 'n Drop with Action Scripting

  1. #1
    Senior Member kusco's Avatar
    Join Date
    Nov 2001
    Posts
    681
    Hello,

    I have a movie where I have two items that can be moved by drag 'n drop methods. For both items there are Action Scripts attached to the On Drop.

    My problem is that you move the items and drop them on top of each other the Action Script is not always executed. The reason is that the last item in a movie will 'sit' in front of an item listed before it (higher up the list of elements) and this will have its code exec'd. Items the appear to move behind another will not have the code exec'd even when you release the mouse button.

    (I really hope this is making sense to someone)

    So I no the cause but I cannot think of a solution. Is this normal behaviour? Or an undocumented feature (a bug)?

    Any ideas are warmly welcomed.

    Cheers!

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    Dragging

    I've not really used dragging as I've had problems with this feature. More often than not at least one item that I select dragging for I have to mousedown on some secret spot outside of it to drag it, not within the object. This happens even when I'm careful to reset the center of a drawn object.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center