Drag and drop the cause of action symbol! Help!

Hello

I am building a risk radar and am looking for an object changes state when put in the middle of a target. And once removed from the middle of the target, to return to its original state, I have up to now copy the following code:

Enter the code to run when the symbol is created here

yepnope ({nope: ['jquery-ui - 1.10.0.custom.min.js ',' jquery.ui.touch - punch.min.js'], complete: init});

function init() {}

Use the code! Draggable! Droppable!

SYM.$('risk1'). Draggable();

SYM.$('risk2'). Draggable();

SYM.$('risk3_orange'). Draggable();

SYM.$('risk4'). Draggable();

SYM.$('risk5'). Draggable();

SYM.$('risk6'). Draggable();

SYM.$('risk7'). Draggable();

SYM.$('risk8'). Draggable();

SYM.$('risk9'). Draggable();

SYM.$('risk10'). Draggable();

Droppable... on target!

SYM. $('Target') .droppable ({drop: function() {sym.getSymbol("risk3_orange").play () ;}});})

}

However, when I remove the object from the middle of the target ('Target') it doesn't change back and then goes backwards when moved from then on.

Can you help me?

One thing is certain, thanks loads and have a great weekend!

Tags: Edge Animate

Similar Questions

  • I've lost the ability to copy files on my CD player. When I drag and drop, the only authorized action is 'move' and it does not work.

    I've lost the ability to copy files on my CD player.  When I drag and drop, the only authorized action is 'move' and it does not work.   I tried press and hold the CTRL key while dragging, and when I do that all the other disks show "copy" as the default action, but when I hover over the action CD player available only changes to 'pass '.   I ran the Microsoft Troubleshooting tool for CD/DVD players and he said that the media were not writable, but there is a blank CD in the drive.  Any ideas on how to solve this problem?

    Thanks, but the cd/dvd drive works well - I can burn a cd with windows media player for example.  the problem is that I can't copy files to it.   I can play CDs (haven't checked the DVD).  I can not do and could do before, is doing drag and drop files on it.  The only authorized action is "move".   This happens even when I click CTRL + do drag.   I can copy it to any other player, but the CD player, and when I hover over the "exemplary" drive CD goes to 'move '.

    have you tried using a different suite of cd/dvd burning?

    Imageburn is free and easy to use: http://download.imgburn.com/SetupImgBurn_2.5.7.0.exe

    There may be something to play with your access keys if you have a (ie., wirekeys)

  • Why creates shortcuts for Moving files when drag and drop the folder or file in another folder?

    I am using Windows XP SP3, just before I drag and drop the file into another folder in my windows explore. Suddenly, he is creating shortcuts for moving file. I'm not able to move the file by drag / move the mouse, it is possible that by cutting and Paste(Ctrl+X) using the keyboard. Why?

    Maybe your 'Alt' key is stuck.
    See exchanging the keyboard with another makes all the difference.

    HTH,
    JW

  • Drag and drop the game - add your comments

    Hello

    I created drag and drop the game:

    If the player, drag the object to the correct target - snapping to the target, else it returns to the original location.

    My question:

    I want to add sound (such as feedback) when hanging to the right target.

    What should I write in the code?

    Help, please

    Thank you (-):

    (I added the code and the printscreen)

    star.addEventListener (MouseEvent.MOUSE_DOWN, fl_ClickToDrag);

    function fl_ClickToDrag(event:MouseEvent):void

    {

    star.startDrag ();

    }

    stage.addEventListener (MouseEvent.MOUSE_UP, fl_ReleaseToDrop);

    function fl_ReleaseToDrop(event:MouseEvent):void

    {

    If (star.hitTestPoint (targetstar.x, targetstar.y))

    {

    Star.x = targetstar.x;

    Star.y = targetstar.y;

    }

    else {}

    Star.x = 692;

    Star.y = 232;

    }

    star.stopDrag ();

    }

    square.addEventListener (MouseEvent.MOUSE_DOWN, fl_ClickToDrag_2);

    function fl_ClickToDrag_2(event:MouseEvent):void

    {

    square.startDrag ();

    }

    stage.addEventListener (MouseEvent.MOUSE_UP, fl_ReleaseToDrop_2);

    function fl_ReleaseToDrop_2(event:MouseEvent):void

    {

    If (square.hitTestPoint (targetsquare.x, targetsquare.y))

    {

    Square.x = targetsquare.x;

    Square.y = targetsquare.y;

    }

    else {}

    Square.x = 122;

    Square.y = 266;

    }

    square.stopDrag ();

    }

    create your sound (using the new construction), then apply the play() method to make the sound when your hitTestPoint is real.

  • codesnippent createjs equivalent of flash as3 drag and drop the code snippet

    AS3 deafult code snippent for drag and drop

    circle.addEventListener (MouseEvent.MOUSE_DOWN, fl_ClickToDrag_3);

    function fl_ClickToDrag_3(event:MouseEvent):void

    {

    circle.startDrag ();

    }

    stage.addEventListener (MouseEvent.MOUSE_UP, fl_ReleaseToDrop_3);

    function fl_ReleaseToDrop_3(event:MouseEvent):void

    {

    circle.stopDrag ();

    }

    I just tried to convert this code createjs. but my code does not

    / * js

    var t1 = this;

    {circle.addEventListener ('mousedown', function (e)}

    {stage.addEventListener ('stagemousemove', function (e)}

    T1.x = stage.mouseX;

    T2.y = stage.mouseY;

    });

    {stage.addEventListener ('stagemouseup', function (e)}

    e.target.removeAllEventListeners ();

    });

    });

    */

    are you trying to drag and drop the circle?  If so,.

    var tl = this;

    tl.circle.addEventListener ("mousedown", downF)

    function downF (e) {}

    stage.addEventListener ('stagemousemove', moveF);

    stage.addEventListener ('stagemouseup', upF);

    };

    function upF (e) {}

    stage.removeAllEventListeners ();

    }

    function moveF (e) {}

    TL. Circle.x = stage.mouseX;

    TL. Circle.y = stage.mouseY;

    }

  • Drag and drop the confrontation with OCD on iPad

    I have a drag and drop exercise created in Captivate 7.0.1.237 the wizard drag / move.

    When I publish the project and display it on an iPad superimposed TOC pops out when I drag the movable elements on the screen with my finger.

    Does anyone know if there is a way to avoid this?

    Thanks in advance.

    In the slide Action Properties Panel, set the command to enter to run JavaScript.  Click the Script_Window button to open an input box.

  • Drag and drop the multipul opportunities

    I had this idea to do an activity for fractions using drag and drop with interaction, and even though I know that it is possible to go, it'll take awhile, especially if I'm going to several questions in the same vein.  I hope there is an easier way to do what I think...

    So here is my idea.  I have a picture of a pizza on the screen (cut into 8 sections) established and little gray so they drop targets.  I also have the targets of all 8 drag slices around the screen so that users can drag the pizza (each slice corresponds to the full pizza and will be recognized by their corresponding section).  anyway... that part is fine.  The problem comes when the question is "drag slices on the pizza to create 5/8.  Now, there are a LOT of possibilities for this... and I can configure each of these possibilities in the window 'Good answers' - but as you can imagine, that would take forever!  Is it possible that I can configure the drop than the 1 article area, and still have the slices of pizza to fall into the correct zones (if we don't get slices placed in odd places) so that I can use the function 'account' to specify how many constitute a correct answer?  OR if anyone has any other ideas, I'm willing to try anything to avoid having to take account of all possible combinations for the correct answers.

    Thank you!

    Wanda

    Oh my god!!! I thought about it!  This is my first time using variables, but I created a variable called pizzacounter and set it to 1.  Then I put the advanced actions that whenever a slice of pizza dropped it would add 1 to the varriable of pizza.  Then I added a "check" button, and put in the statement conditional action advanced to check if it the pizzacounter is equal to 5, and then he would show that he is STRAIGHT!  Wow - this will make my life so much easier!

  • Drag and drop the CS6

    For some reason any I can't drag and drop files in decayed CS6 requests from Windows Explorer.  Not even a bridge.

    I get the circle with a line through it when dragging to open Photoshop, first, After Effects.

    Is the only way to get the elements file > open...

    Is drag / move, tapped, other?

    It works fine for me on Windows 7 Home and Pro, so maybe there is something on your system that is the cause?

  • I would like to be able to drag and drop the names of folders to categorize.

    With Thunderbird, folders currently appear in the order they are created. I'd like to be able to drag and drop to a new location so my frequently used address is near the beginning and those less-used at the end. Tyty

    No problem. Add on even made records and accounts.

  • I want out emails in folders of ordinary files, but when I drag-and-drop, the "modification date" gets changed. How I can still see the date?

    To archive my e-mail files until I decided to switch to Thunderbird, I create regular folders in windows and drag and drop emails to outlook express in the appropriate folders. The "update" column displays the original date of the email... which is what I want to do with Thunderbird. In my view, that he treats it as a new file created today... that is not good for my archiving system of these professional work files that I need to find often in approximate date.

    I understand the forum that it is by default in Thunderbird. There is an add-on that can do what I'm doing?

    Thank you in advance,
    Netwon

    I think the reason what OE is the original date because each message is stored in a single file, while TB stores all messages in a folder in a file, an mbox file. Thus, when you save a message as a single eml file, its 'modification date' corresponds to the eml file date was written in the mbox file.

    You can find the ImportExportTools add-on useful because it allows you to add the date of the e-mail eml file name when enamel is exported ("Save selected messages" of the message right-click menu).

  • Cannot drag and drop the eamils in Hotmail.

    Hello

    I opened Hotmail today but cannot drag and drop emails as usual. I am still able to open and read them, but I cannot move them to other folders unless I have use the checkboxes and ' move to ' drop-down menu.

    Hotmail is truncated normally works with Internet Explorer, so it must be a matter of Hotmail. I tried to delete the cache and cookies of Hotmail (as least I think they were witnesses of Hotmail).

    Any help would be greatly appreciated!

    It seems to work in Firefox. I think it was on the side of Microsoft.

  • How can I make use of TC partitions and make sure that the file analysis is on the right partition?  I do not see the partitions that I have done in the Finder, but I can drag and drop the files in the folder 'Data' unique under Finder/Shared/TC.

    MacBook Air, OSX 10.10.3, 128 GB; 2 TB Time Capsule ME177LL/A.

    Final objective: use Time Capsule as a Time Machine for my MacBook Air and as a storage solution for large files that I don't want permanently on my MacBook Air.

    So far, I've implemented the TC and set up Time Machine on the TC.  I was able to create 2 partitions on the TC using disk utility then that TM was a backup and the disk was recognizable in disk utility.

    Under Finder/shared, I see the TimeCapsule 'airport', and when I click on it it is a file called "Data".  I was expecting to see my two partitions here.  Under 'Features' is a ' Zissou31 MacBook Air (3)"sparsebundle file and I can also create folders here and drag and drop files on the TC here.  I can see the partitions in disk utility, but how do I see/use the partitions I created in the Finder?

    I fear that this may not be set up correctly and I'm either losing on an entire partition I created or these files dragged/dropped may be at risk of overwriting of TimeMachine.  How can I make sure that the file analysis is on the appropriate partition?

    I disabled TimeMachine and go back to see if I could 'point' to one of the partitions, but the "Data" folder is the only thing that TimeMachine seen.  How do I point time Machine for one of the partitions?

    Thank you!

    In addition, in disk utility, I can see one of the partitions TC is related to the time Machine, indicated by the icon Time Machine green bottom left, but two partitions seem to fall under "Zissou31 of the MacBook Air (3) .sparsebundle.

  • Drag and drop the models of the range of functions

    I really like how can I drag and drop a States JKI Machine in range of my service on a block diagram.  Instead of placing a Subvi on black chart, the code in the template is placed on the block diagram.  How can I get my own templates for this?

    I have just learned about this and put in place with a few VI.

    This should happen to you. TST is pointed out that, in the first post, he called VI merge, but got renamed to pour into VI, LV 8.5

  • Drag and drop the element of the array of Clusters

    I have a project that includes an array of 'tests', each of which is a cluster that contains an array of 'numbers', a matching the regular expression string and an array of "tasks" (all of them, is in turn, a group of elements).

    It is:

    • Tests (table of):
      • Cluster:
        • Reference numbers (an array of strings)
        • Regex (string)
        • Tasks (table of):
          • Cluster:
            • Task type
            • Basic channel,
            • Measuring channel
            • Other channels

    I wish I could drag and drop to rearrange the task table in an individual event.  (It is a nice-to-have rather than a urgent request - more for my own learning that no matter what).  For now, I've implemented "Move up" and "Move down" buttons

    Examples are fine for a single cluster that includes a table or an array of objects.  As soon as we have an array of clusters, it is difficult to access individual items within a specific cluster.

    Who that it be completed can drag and drop into such a facility?

    Curiously,.

    Geoff

    Hello GeoffF,

    It's certainly doable and you can even use the standard start drag and drop methods/events, the trickiest part is to determine the table of the elements that are selected on the mouse towards the top/mouse downwards and the swap of manual handling.  Fortunately, there are a few decent examples of how do this out there already, I suggest you take a look at this one:

    Example of community: determine the Index of the clicked element Array in LabVIEW

    https://decibel.NI.com/content/docs/doc-22434

    That should give you the selected table indexes, and then all you have to do is to move the elements around around the drop event.  I have attached a very basic demonstrative example that uses this code I just linked (you need to download that as well) and the events referred to swap two elements of the array.   The attached code is just thrown together, you'll want to design something more robust and scalable to any sort of actual use.

    Kind regards

  • Drag and drop the image in 2d image

    Hi all

    I am trying to apply a little magic "MS paint" for dialogue of the customer. I want to be able to drag and drop into a 2d image control. Ideally, I wish I could it move and resize once it is there, but let's start with the first part - how to do drag and drop of for example the Office on the 2d image control. The rest is nice-to-have but not necessary.

    I saw a smart example on here by using a transparent control of path, but will not cut here (I have other events related to this area of the image, for example right now, I have a double-click event, add text to the image).

    Thanks for all the ideas... I looked briefly using the API (i.e. nodes Builder) windows but it having the dragons.

    It is not terribly difficult to get these events with the picturebox. You just register for events like I did with the dragdrop event, can it treat appropriately in the structure of your event.

Maybe you are looking for

  • Understanding keychain

    Hey,. I'm having a hard time understand how Keychain works, what is the default setting for her as long as I don't touch anything? and what happens if I don't remember my first password? Can someone explain to me? Thank you

  • Why isn't the Satellite Pro L100 124 on the Web from Toshiba site?

    HelloIn Israel, we have this model:Toshiba Satellite Pro L100-124 PSLA1E - 00500DG 3I tried to look it up in the computers.Toshiba - Europe.com, but found nothing? Why? is it a fake?

  • What totally frustrates me about Apple products.

    In some ways, Apple products are very elegant with features that are all just great. And then, that I meet the simpler user only extremely needed feature and completely absent or it runs as if a hacker had developed. The feature of specific user that

  • Update of security causing problem

    July 15 security updates caused my computer does not recognize is not the secondary hard drive, which is the cd-rom drive, ideas on how to fix? I am running XP.

  • Error 1303 installation Adobe Reader 10

    Adobe said to load the Microsoft Support?