Drag and Drop Error1010 of the time?

I have a drag and drop game that uses arrays for targets.  I have a property on the table of "permitted" so that I can have 4 zones "targets".

However, I had a problem in the sense that I kept getting an error 1010 due to the use of the authorized property (if I dropped the mc outside the target, it was likely that I would see an error 1010).

I realized that I had to add my property 'allowed' to all my other movieclips, and it works most of the time.  However, it seems that if I drop my clips on the border of an another movieclip, I get error 1010.

I applied my property 'allowed' to everything that I could find, event 'root' (due to some images that were also causing the error 1010) and this continues to be.

Any ideas?

so each target has a permitted ownership which is the array of authorized interrupted movieclips?  If so, which should cause no problems.  in your drop listener function:

function dropF(e:MouseEvent):void {}

{if (MovieClip (e.currentTarget). DropTarget.Allowed)}

{if (MovieClip (e.currentTarget). {(DropTarget.allowed.IndexOf (e.currentTarget) >-1)}

This is allowed dropped target

} else {}

wrong target

} else {}

fell not on any target

}

}

Tags: Adobe Animate

Similar Questions

  • I can't drag and drop files in the trash, error code-43 is detected, what should I do?

    I can't drag and drop files in the trash, error code-43 is detected, what should I do? What is an error code - 43?

    You can't empty the trash or move a file to the trash

    If the above does not help, then see below:

    Visit The FAQ XLab and read the FAQ on the waste problems. You can also try using Trash it! 5.1 to solve the problem. Or you can try this:

    Open the Terminal in the Utilities folder, and paste the following at the command prompt:

    sudo rm - Rf ~ /. Trash

    Press RETURN. Enter your administrator password when prompted. It will not echo to screen. Press RETURN again.

    (Someone should tell you that it is dangerous or useless, please disregard the comment.)

  • Drag and drop files to the icon of the EXE

    I was wondering if there is a way for the user to drag and drop files on the .exe icon and it would launch the program to do something with these files automatically?

    For example: Some PDF convertor programs allow you to drag and drop documents, images, etc. directly on your desktop PDF Converter icon and it will automatically convert to PDF format, without the user even having to open the program.

    This same kind of functionality is possible with a file EXE of Labview?

    If you look at the Arguments of the command line of the Application class property, the first element must match the name of the EXE, the following elements will be the path or paths that were dropped on the icon of the EXE.

  • Impossible to drag and drop songs to the playlist in Windows media player

    Original title: drag and drop the songs into playlists in windows media player__

    I can't drag and drop songs into playlists in windows media player. I can select the album and drag it, but it will not fall into the playlist.

    Hi PatsJames,

    1 when was the last time it was working fine?

    2. what happens when you drag and drop songs in Windows media player?

    3. this happens with all types of songs?

    This problem occurs if the Windows Media Player database is corrupted.

    To resolve this problem, delete the Windows Media Player database. To do this, follow these steps:

    (a) click Start , click run , type %LOCALAPPDATA%\Microsoft\Media Player , and then click OK.

    (b), select all the files in the folder, and then click delete on the file menu.

    Note  You don't have to remove the folders that are in this folder.

    (c) restart Windows Media Player.

    Note  Windows Media Player automatically rebuilds the database.

    Windows Media Player playlist: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/Windows-Media-Player-playlist-frequently-asked-questions

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I can't drag and drop files into the "cloud".

    When I click the icon "Download files", I can do but I need to download one at a time (I can't select multiple files using shift or control).  There are THOUSANDS of files, I want to spend.  I watched the video tutorial and I see the very simple way, he explains to drag and drop a folder on my computer to the 'cloud' which I think is a fancy way of saying that it is hard to Adobe and not mine.

    If I'm trying to drag and drop a PDF file, it only that opens the file in internet explorer, in the same window, on the same tab, then I click on the return button and I must return to my files, but the new file is not there.

    I just purchased the subscription, I was using this within half an hour, and I'm already frustrated of not being able to do the simplest tasks.  Help, please!  SID.  928 718-7777 Y there a number of technical support, or you can call me?

    Internet Explorer does not support "drag and drop" or the download of multiple files. These limitations are functions of security by Microsoft.

    Please try using Firefox or Chrome browsers.

  • With Firefox 12 I'm impossible to drag-and-drop text in the text boxes or search bars. Is there a way to activate this feature?

    Firefox 11 allowed drag-and - drop text and the other two programs inside the browser itself. in FF12, I can do neither. How to restore this function?

    I had this problem too and couldn't add or move bookmarks either. If you have torbutton add-on installed, try disabling the addon. Perhaps it is caused by another addon

  • Drag and drop any of the touchpad buttons

    Hello, my company gave me a laptop Pavilion Win8.1 running, it has no buttons on the touchpad.  How you draw around an object when you use the cutting tool, or how you drag and drop a file?  Is a required external mouse?  Thank you.

    I think Microsoft is yet to come up with a fix for this point 8.1 OS.

  • Drag and drop, order of the sequences broken?

    Hello

    I somehow changed something, I could swear I could drag and drop the order of my sequences as they appear in the window "sequences" of a movie file.  Now, I can't, she is forced to display in alphabetical order and I can't change it.  I can't change the order of the sequences in the process either template, there seems to be an overall effect.  I had arranged them as the most frequently changed sequences were at the top, now that they were self organized and I can't change it.  Anyone know what could have happened?  The file is certainly possible to write.  I use TS 2012.  Thank you

    Click on the column header in list until the sort order is not sorted.

  • Drag and drop files on the icons from executables

    I have links to executable files (such as Word) icons on my desktop. When I drag a file (xxx.doc) from the Explorer on this icon, I can't drop it here. On other machines with XP that works, also on my Vista PC. I suppose, that a registry entry is false. The only icons that work with drag - move are the wastebasket and a link to a .bat file. I can start Word by double clicking on this icon, and then drag and drop the file .doc in Word began, but drop the file on the icon does not work.

    BINGO!  Under HKEY_CLASSES_ROOT\. EXE, I had no shellex\Drophandler. When I copied from HKEY_CLASSES_ROOT\exefile it worked. He now works with every icon of executable programs.
    I don't know why this entry in my registry is lost.
    Thank you!

  • Cannot drag and drop songs into the playlist in windows media player.

    We just got a new laptop with windows 7 and I guess windows media player the windows media player 12. I tried to add songs on my mp3 player. After I rip the songs on the cd, I can't drag and drop them in my playlist. When I drag a song it shows a picture of the cover of the cd, with the words "a track" on this subject and a red circle with a slash but it. He didn't let me down. I've never had a problem with media player before on our other computer. I'm doing something wrong or something is wrong with my drive? I tried different CD 2 and 2 separate mp3 players.

    Thank you
    Amber

    It seems OK, can I have solved the problem. Still not sure what was going on. Thank you

  • Can someone please tell me how to drag and drop images of the pictures Mac (using Yosemite OS) program to 5.7 Lightroom?  Thank you.

    I just got a new computer and uses pictures instead of iPhoto for cataloging my images.  I would like to use Lightroom 5.7 for an editing tool, but I'm frustrated that I can't drag and drop the images I want to change?  Any ideas?

    Hi tamia82374570,

    Greetings.

    In my view, it is not possible that you are trying to import images from one application to another.

    • You will need to first export of photo images in a folder on the desktop or any other location
    • Then open LR, click Import and navigate to this location in the source Panel and import the images in LR.

    Concerning

    Rohit

  • Drag and drop support with the VM mountain lion

    Hi all

    I recently got a new macbook pro (with retina display and the 16 GB and of course the SSD - very soft). I created a machine virtual windows 7 for my windows applications and I also wanted a separate VM to develop on with Mountain Lion, so I downloaded the Cougar from the app store and created an image of mountain lion. My only problem is that it doesn't seem to be any support for drag and drop between my host mountain lion and my mountain lion guest VM. If I try to drag and drop with my windows 7 VM, it works well, but not mountain Lion mountain lion.

    Does anyone know if there are a few settings that I can turn it on or if it is supposed to work? Furthermore, I am under Fusion 5.0.3 and am on MacOS 10.8.3 (on my host and the guest operating system).

    Thank you

    -Jeff

    Hi Jeff,

    Yes it is a limitation having Mac OS X as a guest operating system. There are some other limitations as well as

    • SVGA only.  No chart 2D or 3D accelerated.
    • No unit.
    • No fullscreen multimon support.
    • No USB 3.0 support.

    You can make a feature request or via this link: http://www.vmware.com/contact/contactus.html?department=prod_request

    Thank you

  • How to drag and drop items in the Muse...

    Hello: Im attemping to create some drag and drop elements in muse. Can someone help me with this? Thank you

    You cannot create drag and then drop items using the off the features of the mailbox Muse. You may need to use some third-party JS library and integrate code using InsertHTML or HTML foroptions of Muse.

    Thank you

    Vikas

  • Drag and drop - moved outside the target object

    Hello

    It's my first drag and drop object.  It went pretty well except for nitpicking a few things.  I'm hoping to get help on one of these.

    A sample of my screen is below.  The basic idea is that you drag one of the words in the dotted box, and I'll give you a sound feedback, whether good or bad.  I'm tiling the answers and this is my question.  Sometimes, if I already have one correct answer in the box and drag each other directly on the existing answer, he'll put it on the side and it seems that it is in the next box.  An example is below.  This happens very rarely, but I still want to go to the bottom of it.  I resized the boxes, made the smaller font and I reduce the size of the response when he goes inside the box.  But it still exists.  If they hang out below the existing response response then it works fine.  Does anyone know what is the answer?  I have the screen below, as well as the settings of the target in the example below that.  any help would be greatly appreciated.  Thank you!

    dnd question.gif

    target settings.gif

    That's the problem with tiling. You can reduce the size of drop even more (90%), try one of the other options in the second row of tiles. Or choose absolute, which means that it has no real alignment, control, but text will stay where the user puts.

  • I lost the ability to drag-and - drop files from the finder to dreamweaver

    I've recently updated to OSX Maverick and I lost the ability to drag and drop files into dreamweaver.

    Is there a setting that I know that restores this functionality?

    Thank you

    Hello joyridebs & Mike,

    This seems to be due to changes in the Mavericks. A bug was noted for the workflow broken in Dreamweaver.

    Please follow the workaround by inserting objects from the panel insert until the bug is fixed.

    Kind regards

    Yalpi Shiva Prasad

Maybe you are looking for