A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Drag issue...

  1. #1
    Senior Member
    Join Date
    Sep 2006
    Posts
    248

    Drag issue...

    I have a dragable stage...
    over this stage i have a menu with a dragable handler... everytime i move (drag it) the handler, the stage also moves...
    how to stop this anoying thing?

    Kind regards,
    Leo.

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Senior Member
    Join Date
    Sep 2006
    Posts
    248
    So it is the event.stopPropagation ();
    that i need when the handler of the menu is dragged?

  4. #4
    Senior Member
    Join Date
    Sep 2006
    Posts
    248
    Thanks for the reply, by the way.

  5. #5
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Quote Originally Posted by Leo75 View Post
    So it is the event.stopPropagation ();
    that i need when the handler of the menu is dragged?
    Yes, because you have to stop bubbling up.
    - The right of the People to create Flash movies shall not be infringed. -

  6. #6
    Senior Member
    Join Date
    Sep 2006
    Posts
    248
    Cool...
    thanks...
    gonna try it right away!

  7. #7
    Senior Member
    Join Date
    Sep 2006
    Posts
    248
    Thanks Cancerinform,
    I also would like to share this link:
    http://www.learningactionscript3.com...t-propagation/
    that talks about event propagation...
    Cheers.
    Leo.

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