Zoom, drag and drop in a movie clip

if zoom a movie clip...i want drag and drop the mc...and also don't go the mc outside the screen..pls help me...:(

To drag within a limited area you use the startDrag() method, defining a rectangle to limit how far the object can be moved in any direction.  The startDrag is normally executed when a MOUSE_DOWN event occurs for the object that is to be dragged.  A MOUSE_UP event is what is used to trigger a call to the stopDRag() method, whereby the listener for that is usually assigned to the stage.
Search Google for a tutorial using terms like "AS3 drag drop tutorial" if you need detailed coding help to get started.

Similar Messages

  • Can't drag and drop or import movie clips or ver. 8 projects into iMovie 9

    Hello:
    I just installed Leopard (OS X) with iLife and iWork (although I didn't actually install iWork). I can't drag and drop .mov or .dv files into a project. If I "File-->Import-->Movies", all the types I want to import (.mov & .dv) are grayed-out. I created and saved a project with the older version of iMovie (8) and then tried to import it into iMovie 9. The result is a message in the clips panel that says "No matching video. Choose a different options from the Show pop-up menu at the lower left corner." So far, everything I wanted to do is bust. Can somebody help?
    Thanks.
    Etude.

    annadex wrote:
    I have tuns of .mp4 clips, converted them to .mov clips... .
    How?
    easy way:
    • double-click mp4 to open it in QuicktimePlayer.app
    (does it play the video?)
    • File/Export/choose 720p (if optional, if not 480p)
    • import THAT into iMovie using iMovies import routine, proceed …

  • HT1364 Before I downloaded the latest version of itunes I could drag and drop to store movies, music and tv to an external hard drive. With the new version I can not do this anymore. Any advice.

    Same as the question in the header.

    Hello petenyce405,
    Thanks for using Apple Support Communities.
    To troubleshoot this error code, please follow the article below:
    Error 3194, Error 17, or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Take care,
    Alex H.

  • Drag and drop simple ".mov" files, into 2 dif. browsers, no longer working

    -
    Did something, that caused my main drag and drop, of simple ".mov" files, into 2 different browsers - "Safari", Version 3.0.4, and "Camino", Version 1.6.8, .. to stop working.
    To be clear, this is regarding, just some simply ".mov" files which I have generated. (Individual hourly, weather images - like; in sequence. Generated, in / with, QuickTime - itself.)
    At this point, where dropped from a folder, into "Camino", .. it routes these back to my main desktop. - (Before the problem, .. played them, in browser.)
    "Safari", only brings up the folder that the main file is in — within a separate folder window.
    (As with "Camino", played these in browser, previously.)
    (Have gone into "preferences", either browser, .. and can't figure things from there.)
    Problem occurred follow two different downloads / installations
    "DjVu Browser Plug-in"
    http://www.caminova.net/en/downloads/download.aspx?id=1
    and, ..
    "Flash Player" (.. for Mac OS 10.4 - 10.5)
    http://get.adobe.com/flashplayer/otherversions/
    Have tried, either "uninstalling", .. or "trashing" these.
    (Uninstalled, "Flash Played" - with specific "Uninstalled" app.. / "Trashed" "DjVu Browser Plug-in".)
    Any help, certainly appreciated.
    Rm(richard583a)

    -
    It, .. or they, don't within either browser that I have installed - and am using, ..
    .. they had previously, ... don't know what I did exactly to caused this circumstance.
    .. is my question. (.. if not fully clear.)
    Just looking to try to find out what I can do, either whether to "back-off" from what I've done - more recently, regarding the two different downloads that I've pointed to above, .. apparently - only, having, superseded a more simply configuration .. previously working.
    This, or either, adjust the settings - broader / somewhere (more generally) - otherwise, .. in order to have these files, play, .. in browser.
    Rm(richard583)

  • Drag and Drop iPod Movies. Why Not?

    You know, I have been wondering something for a very long time and I am amazed that I cannot find any threads anywhere by folks with the same thought process...
    Why are there not commercially-available, pre-encoded, drag and drop files of movies and DVDs for iPod?
    They make the PSP movies. Wouldnt this be a natural, with the sucess of the iPod and iTunes??
    One goes to their neighborhood DVD retailer, buys an iPod-ready CD or DVD, takes it home and drag and drops the files into the iPod. Instead of wasting hours converting the DVD....
    Food for thought during this commercially exploited holiday season....

    This can happen if you don't have write access to the source folder, or if the source and destination are on different drives. Select the folder you're trying to move files from in the Finder and choose Get Info from the File menu; you can check and change the permissions in the Ownership & Permissions section.
    (19396)

  • Desktop drag and drop icon for my "other" computer

    i really need an icon for my MacBookPro desktop to reside on my Mac Pro desktop (and vice versa) so that I can just drag and drop copy (or move) data from one volume to another. sort of like what I have with my dropbox icon in the sense that I can just keep this on my desktop and in the View Pane of Finder and drag and drop items or open the volume etc.
    is this possible and i am just not getting it to work because i don't have things set to mount automatically or is there a restriction that does not allow this that I don't understand?
    i am on snow leopard and the connection is via wi, but I could plug in via ethernet when i know i will need to do this sort of moving of data a lot.
    thanks for clearing any of this up for me.
    - jon

    if as3, create a sprite or movieclip and use:
    image1.addEventListener(MouseEvent.MOUSE_DOWN,downF);
    image1.addEventListener(MouseEvent.MOUSE_UP,upF);
    function downF(e:MouseEvent):void{
    Sprite(e.currentTarget).startDrag();
    function upF(e:MouseEvent):void{
    Sprite(e.currentTarget).stopDrag();

  • Drag and drop does not work in Exported release build

    I am using the built in DragManager class to handle some drag and drop functionality in an application.  When running from flex builder, It runs exactly as expected, but when I export the project to a release build, Dragging only works in the vertical direction.  How is this possible?  What might be causing such strange behavior.
    Any help would be much appreciated.

    Sorry, I will try to be more clear.  I am using drag and drop simply to move items around on a Canvas.  This works perfectly when running from flex builder, but when i export a release build it starts behaving strangely.
    I can drag items up or down on the canvas no problem, but as soon as I try to drag items left or right, there is no response.  On a windows machine, it gives me the black circle with a slash through it icon, implying that the drag is not accepted.  On Mac, there is no icon, it simply will not drag. 
    Hope that clarifies it, I could really use some help figuring this issue out.
    Update:
    I can confirm that the call to DragManager.acceptDragDrop is being reached in both cases, but the DragEvent.DRAG_DROP event is not being handled in the release build, (it is reached when run from flex builder)

  • SharePoint Online Drag and Drop to Quick Launch Links

    Hello,
    We're using a SharePoint document library to store invoices and an approval workflow to manage the approvals for payment. Once an invoice is approved and paid, they move the invoice into a Paid subfolder. Because there are a lot of invoices, the view
    stretches across multiple pages. When they're not on the first page of the invoice list, they can't use the drag and drop functionality to move the invoice into the Paid folder because the Paid folder only shows up on the first page of the list.
    I would like to be able to add a link to the Paid folder to the links on the left side of the window. I can add the link, and it works in that if you click the link it takes you to
    Shared Documents\Paid. But if you try and drag a document to that link, it wants to place it in the root Shared Documents, giving you an error message that the file already exists in that location.
    How can I create a quick link to a subfolder of Shared Documents that also allows drag and drop functionality?
    Thanks,
    Adam

    Hi Adam, here are a few solutions:
    1. Use "Open with Explorer."
    2. Use the Content Organizer to automatically move the documents.
    3. Create a workflow to automatically move the documents.
    4. Create another view or library on the same page with the Paid folder in it.
    5. DON'T USE FOLDERS!
    (sorry, they're a big pet peeve of mine because of all the problems they create. They're also completely unnecessary with only one exception.)
    cameron rautmann

  • Cannot drag and drop icons,

    I'm working on a Mac Power PC G4, OS X, version 10.2.8. About a week ago I started noticing a problem dragging and dropping items with the trackpad. I can click on a file to open it, but I cannot drag and drop files to move them. If I am in a Word document, I can no longer drag highlighted text around either, or drag songs to playlists in iTunes. However, if I open a window, I can drag the open window around, just not any of the files displayed in it. The same thing happens when I hook up a mouse. I've checked the Finder view options and have done a test to check that it is not a corrupted system preferences and have tried many of the things listed on discussions I have seen online. I'm hoping that I don't have to resort to reinstalling the operating system. Everything was working fine until about a week ago, and I am aware of no changes or damage to the computer that could have caused this problem. Any help?

    I created a new account with administrative privelages, but the new account still does the same thing. I also tried trashing com.apple.systemuiserver.plist as suggested to me by someone else, and it had no effect.
    Thanks for you idea.

  • Drag and drop operation resulted in files gone missing

    I would really appreciate some help as I have lost about 80 files. Here's what happened: I had a big folder of several hundred files and I was moving those files– photographs – into subfolders.I selected the photo in bridge and then used a drag and drop method to move it. It all went well except in two instances. One group of photos I dragged it to the wrong folder but when I searched I found them. Another group has gone missing. I have searched the whole computer for names of some of the photos in the missing group.it is as if they vanished into thin air. What could have possibly happened?
    Thanks in advance!

    I selected the photo in bridge and then used a drag and drop method to move it. It all went well except in two instances.
    I always use the drag and drop method and if it goes wrong I usually are to fast and don't wait for Bridge to have completed or I did not point to the correct folder.
    Without knowing what system you are on and what version of bridge you are using I agree with Curt that the files must be somewhere on your system (also check the Bin) and you better use a dedicated system search for it.
    And what is "group.it"? If I do a google search it stops without result and group.it also has not understandable  or related results?

  • Stop drag and drop in end... and show the end

    Hi.
    I use the next code for drag and drop. I move item1 for bin1, item2 for bin2 but when i move the item3 for the correct bin3... the solution  everything disappears...
    How i can stop the end?
    item1.objName = "circle";
    item1.initX = item1.x;
    item1.initY = item1.y;
    item1.val = 0;
    item2.objName = "rectangle";
    item2.initX = item2.x;
    item2.initY = item2.y;
    item2.val = 0;
    item3.objName = "triangle";
    item3.initX = item3.x;
    item3.initY = item3.y;
    item3.val = 0;
    bin1.shape.alpha = 0;
    bin2.shape.alpha = 0;
    bin3.shape.alpha = 0;
    item1.buttonMode = true;
    item2.buttonMode = true;
    item3.buttonMode = true;
    item1.addEventListener(MouseEvent.MOUSE_DOWN, mousePress);
    item1.addEventListener(MouseEvent.MOUSE_UP, mouseRelease);
    item2.addEventListener(MouseEvent.MOUSE_DOWN, mousePress);
    item2.addEventListener(MouseEvent.MOUSE_UP, mouseRelease);
    item3.addEventListener(MouseEvent.MOUSE_DOWN, mousePress);
    item3.addEventListener(MouseEvent.MOUSE_UP, mouseRelease);
    //Mouse Events
    function mousePress(event:MouseEvent):void {
              var item:MovieClip = MovieClip(event.target);
              item.startDrag();
              item.scaleX = item.scaleY = .95;
              var topPos:uint = this.numChildren - 1;
              this.setChildIndex(item, topPos);
              ilabel.itemName_txt.text = item.objName;
    function mouseRelease(event:MouseEvent):void {
              var item:MovieClip = MovieClip(event.target);
              item.stopDrag();
              switch (item.objName) {
    case "circle" :
                        if (bin1.hitTestObject(item)){
                        updateShape(item, bin1);
                else{
                        ilabel.info_txt.text ="WRONG!";
                        item.scaleX = item.scaleY = 1
    break;
    case "rectangle" :
                        if (bin2.hitTestObject(item)) {
                        updateShape(item, bin2);
                        else{
                        ilabel.info_txt.text ="WRONG!";
                        item.scaleX = item.scaleY = 1
    break;
      case "triangle" :
    if (bin3.hitTestObject(item)){
                        updateShape(item, bin3);
                        else{
                        ilabel.info_txt.text ="WRONG!";
                        item.scaleX = item.scaleY = 1
    break;
      default :;
    function updateShape(item:MovieClip, bin:MovieClip):void {
              ilabel.itemName_txt.text = "";
              item.scaleX = item.scaleY = 1;
              item.visible = false;
              ilabel.info_txt.text ="CORRECT!";
              bin.shape.alpha = 1;
              item.val = 1;
              resetShapes();
    function resetShapes(){
              if((item1.val == 1)&& (item2.val == 1) && (item3.val == 1)){
                        item1.x = item1.initX;
                        item1.y = item1.initY;
                        item2.x = item2.initX;
                        item2.y = item2.initY;
                        item3.x = item3.initX;
                        item3.y = item3.initY;
                        bin1.shape.alpha = 0;
                        bin2.shape.alpha = 0;
                        bin3.shape.alpha = 0;
                        item1.visible = true;
                        item2.visible = true;
                        item3.visible = true;
                        item1.val = 0;
                        item2.val = 0;
                        item3.val = 0;

    i need
    bin1.shape.alpha = 0;
    bin2.shape.alpha = 0;
    bin3.shape.alpha = 0;
    for the start.
    properly when I put the first ... all OK.
    properly when I put the second ... all OK.
    the problem is when I correctly put the third ... everything back to start automatically but I do not want.
    someone can help me

  • [SOLVED] Thunderbird and 'drag and drop' problem

    Hi all,
    after an pacman (-Syu) upgrade, my thunderbird dont move message with "drag and drop". when i move mouse to left panel (one message), the cursor of the "drag and drop" disappears, but when i try to move two (or more) messages, works perfectly
    what happen?
    thanks!
    EDIT: after a gtk2 update, this problem disappears. thanks all!!!

    Yes, there is another thread on this, and a bug report. Also, about two hours ago, a gtk2 2.10.6-2 was submitted. We'll see if that fixes the issue, when the mirrors have synced

  • How to add a code so my drag and drop movie clip will not stick  once it is dragged to final place o

    Hello all and kglad, I have to use the old drag and drop code on my movie clips, but the problem is when I drag the movieclip to the area on my .swf file once i release it, it sticks to the hand mover.
    I am encloseing the action script I am using could someone or kglad tell me what is missing from the code so that once it is released it will not stick, see code below
    circle.onPress = function(){
    startDrag(this);
    circle.onRelease = function(){
    stopDrag();
    I am desparate for help on this must get project ready for this afternoon
    Seal55

    there's nothing wrong with that code but it would be better to use:
    circle.onPress = function(){
    this.startDrag();
    circle.onRelease = function(){
    this.stopDrag();
    but that won't solve your problem.  there must be something else going on like a depth issue.  you may need to use swapDepths() to bring your circle under the mouse when releasing.

  • Drag and Drop Movie Clips onto Plugin

    Hi All,
    We've built a plugin for Adobe Flash CS5.5, with a tree control in the plugin.
    We wish to be able to drag and drop movie clips from the canvas onto the plugin. Wondering if anyone could point me in the right direction?
    regards,
    -amit

    Hi,
    If you are developing the plugin in Flash, have you tried to listen to NativeDragEvent.NATIVE_DRAG_ENTER and NativeDragEvent.NATIVE_DRAG_DROP ?
    Once the plugin behaves like an AIR Application, you should have access to its API.
    I hope it helps !

  • How can i let a move clip complete his motion tween movement after dragging and dropping it

    hi how can i let a move clip complete his motion tween movement after dragging and dropping it
    i am using this code and there is a motion tween applies to the movie clip r_mc
    r_mc.addEventListener(MouseEvent.MOUSE_DOWN,fun); r_mc.addEventListener(MouseEvent.MOUSE_UP,fun2); function fun(event:MouseEvent):void { stop(); r_mc.startDrag();
    function fun2(event:MouseEvent):void {
    play(); r_mc.stopDrag();

    i have a simple .fla file wich contains MC that has
    a motion tween(its moving from the left to the right of the stage)
    this motion tween covers the whole time line (  there is only 50 frames in the time line)
    i mean in the frame 1 the MC appears in the left of the stage
    and in the frame 50 the MC appears in the right of the stage and there is a motion tween between them
    every thing till now working well
    i want to make that MC dragabble
    so when i drag the MC i will use stop()
    and when i drop it i will use play()
    but the problem is that the mc doesnt move and complete
    his motion tween movement when i drop it
    for example the MC will be in the middle of the stage in frame 25
    in this frame (25) i am draging the MC ,stoping the timeline,dropping the MC and resum playing the timeline again
    but the MC freezes in the middle of the stage and doesnt go to the right of the stageo until the flash loops and start from the frame 1 again
    here is the example wich i am worikng on
    http://www.mediafire.com/?ia47r4owha7sz8v
    thank u very much and sorry for my bad English

Maybe you are looking for

  • Best time to upgrade to Mountain Lion?

    With all of the problems being reported with the initial upgrade to Mountain Lion is it better to wait to download and install Mountain Lion?  Also, anyone have a guess as when new Mac machines will ship with factory installed Mountain Lion?

  • Printing From a PC Through AirPort Network?

    My daughter has a PC and I would like her to be able to print on our network printer. Our set up is an Airport Extreem with our LaserJet printer plugged into the Airport's USB port. The other Macs in the house we just click on the LaserJet and it pri

  • Using structure tag in a catalog search

    Hi there, I would like to select numbers on docs that have been scanned and OCR, and search for these numbers via a catalog. I tried to use the tag panel in the reading order panel, to create 1) a root tag, 2) then having selected the number, I try "

  • WinRM using a lot of memory on 2012R2 DC - is it SCOM-related

    Hi! WinRM uses 5GB of memory on my DC's who are running 2012R2 server. Does the SCOM agent use the WinRM service on clients where the agents are installed? Is there any known issues with SCOM and WinRM on 2012R2 Domain Controllers? When I stop and re

  • IFrame eventing help

    Valery, Thanks for your help with IFrame. This message is in continution to the message Web Dynpro Java I opened seperate thread as the clarification required is different. Now the clock is running okay. However, I need to capture the time that is di