Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

dragging movie clips????

dragging movie clips????

dragging movie clips????

I'm trying to drag and drop movie clips (interactive)  in a swf..  I tried several different ways but the mouse will not grab the movie clip.  I'm sure it's something simple but I can't figure it out.  Please help thanks.

RE: dragging movie clips????

create a button (clear hit) within the movie clip, then on the actions tab, go to drag movie clip and type

'on press' '_level0/yourtargetname'

'on release' 'stop drrag'


RE: dragging movie clips????

First of all you need to make sure that you are naming your instance. Double click the movie clip to open the Properties. Now in the Definition tab, enter an INSTANCE NAME (for example DRAGMOVIE). This name identifies the instance in the timeline.

If you don't have already a button in your movie clip, create one. Right Click on the movie clip and select EDIT (IN PLACE if you want), now you are inside the movie. Now, this depends on what you are doing but you can create a button in a new layer, you can change the alpha to make it transparent (make sure you edit the button and add the HIT frame so people won't see the button but they can click on it) or you can make a regular button.

Once you have the button, double click on it and in the Properties / Actions, add a DRAG MOVIE CLIP action. In the target write / and the movie clip's name (/DRAGMOVIE). You can constrain the dragging to the dimensions of the movie or just skip it. You can also drag the object grabbing it with the mouse always in the middle of the movie clip. Now select the ON RELEASE line in the left box and you will see the options in the right, uncheck Release, check Press. Anyways, your actions look like:

On (Press)
      Start Drag ("/DRAGMOVIE"[,...])
End On

Now select the End On line and ADD a new DRAG MOVIE CLIP action, this time just select the bottom option, STOP DRAG OPERATION.

That is it, you are all set. Your actions look like this:

On (Press)
      Start Drag ("/DRAGMOVIE",[...])
End On
On (Release)
      Stop Drag
End On

Good luck my friend.

Fernando Regueiro

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close