dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [MX04] Snap to mouse

Hybrid View

  1. #1
    Member
    Join Date
    Dec 2005
    Posts
    30

    [MX04] Snap to mouse

    hi,
    sorry this is a simple thing to do but i just cant remember. How do i go about snapping a movie clip to the mouse so it can be dragged?

    cheers

  2. #2
    apply this action to the MC

    onClipEvent (load) {
    startDrag ("_root.yourMC", true);
    }

    and ofocurse there are other options included like lock mouse to center, or constrain to rectangle.

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