A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: dragging movie clips?

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Can someone please give me an example on how to create a drag and drop movie clip. I can't seem to get the ON press command to work. The only way this option become available is when I create a button. I've been trying to knock this out all day could someone Please help? THANX....

  2. #2
    Join Date
    May 2000
    Hi myghtimax! First off you have to create a button. Once that is done, you can insert it into your movie clip. Then with the movie clip editor window still open, double click your button and select the actions tab. Here's where you specify the drag.
    on (press)
    start drag (instance name)
    end on
    on (release)
    stop drag
    end on

    Then when you put the movie slip on the screen, double click it, and name the instance. Actually, it's probably best if you put the movie clip on the screen first and then name the instance, then go to the movie clip editor window and do the scripting on the button. Hope this helps!

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