How to make a Drag and Drop

Hi, I'm new to this Adobe Edge and tried to do a Drag & Drop, the examples I've seen have not worked.
I wonder if someone could share a file with  Drag & Drop with validation.
What I need to do and would like to learn is:
I have 4 buttons that I can drag and a box that I drag the right choice. If the option is correct stays, it is if it was incorrect is returned to its place of origin.
I hope I can help, I will be very grateful.
Thank you very much friends

Hi I´m having an strange issue I can´t understand with my drop accept.  I explain it :
- I have various scenes and in one of them a symbol i need to drag but this symbol must be draggable only if I click on a determinated position. I do this with a trigger and use this function at my stage.
sym.getSymbol("_escena5").getSymbol('_filtroEscena5').$('Ellipse').mousedown(function(){
sym.getSymbol("_escena5").$('_filtroEscena5').draggable();
Ok it works perfect I can drag my symbol only if I touch this trigger.
Then I need my droppable object responds to the same trigger so I use this:
sym.getSymbol("_escena5").$('btnFantasma').droppable({
                    accept:sym.getSymbol("_escena5").getSymbol('_filtroEscena5').$('Ellipse'),
                    drop: function () {alert('Dropeo');}});
But my dropable object does not responds. The curious thing is that if I use other object to the accept or just the "_filtroEscena5" where my Trigger is it´s works perfect. But it can responds to my Trigger. Any idea?
Thanks so much

Similar Messages

  • How to create a drag and drop video playlist Help please

    I would like to learn how to create a drag and drop video playlist.
    I think the most common example is youtube.
    I already have partial of the work but I am stuck with my preliminary knowledge of Flash.
    What I am saying is:
    I have a *.fla project that have the galleries for video and pictures.
    But this process is done from the back end.
    I would like to make it more dynamic for the visitors.
    For example:
    1. Create a visitor video (pictures) playlist
    2. Drag and drop into the playlist
    3. To be able to create different playlists (Playlist 1, "My favorite playlist", "Watch later", etc)
    If someone knows or want to guide me where or how to find this request, I'd appreciate it so much.
    If the forum think that this need to be address to a expertise ($). I am also welling to hear that and where to go.
    If someone is interesting in this project please send me a note to show the prelimary project.
    Thanks

    Yeah that is the general idea but that is more of a "lift and drop", i want to add the same thing as when you:
    Right click this window in the taskbar (assuming your using windows) when the window is not maximized and click "move" then it changes the cursor icon and allows u to move the window around and while you move it around it shows the window moving, not a click and release feature.
    So i want that ability without having to click on the title bar, if you know what i mean.

  • How to develop a drag-and-drop feature in JSF

    Can someone give me some hints about how to add a drag-and-drop featurn on a HTML page developed in JSF?
    For example, on Google personalized page, you can drag-and-drop some components and change their position easily. Can JSF do that, or even better?
    Any idea and help is appreaciated!

    You're looking for a portal software, with built in AJAX functionality...I'd love that kind of portal software as well.....you might want to look at Sun's portal software.
    Regards
    Haroon

  • How do I manually drag and drop songs from music library to iPhone 4 using iTunes 11?

    How do I manually drag and drop songs from music library to iPhone using iTunes 11?

    If you manually manage music... on iTunes 11, go to the top left corner and there will be a pull down bar. Click "show menu bar". From there, go to view, then show sidebar. Magically, it looks like the previous versions of iTunes. Took me 3 hours of trial and error and searching through forums to figure out. Tried calling Apple to have them walk me through it and they said they wouldn't help me since I don't have Apple Care. Whatever. Hope this helps!!

  • Embed animate file in Dreamweaver, make the drag and drop stop working

    The drag and drop works fine when I open the Animate file, but when I embed it using the "Media > Edge Animate", it does not work. How can I solve this problem?
    I'm using an external js file.
    Thanks.

    Need you to share the dreamweaver project along with the edge animation, to check the issue.
    Regards,
    Vivekuma

  • How can I learn "Drag and Drop" with Swing components?

    Hello,
    Im using swing components, so using paint() to draw a "drag icon" doesnt seem acceptable. Im basically trying to move a JPanel image to be dragged/dropped over another JPanel in the same program/applet.
    I looked at Sun's Java Tutorial for information on doing drag and drop, but there was no trail completed yet.
    Does anyone know of any good resources to learn? Or can at least give me a general idea of how to do drag and drop?

    Did you see this?
    http://java.sun.com/docs/books/tutorial/dnd/index.html
    http://java.sun.com/docs/books/tutorial/reallybigindex.html

  • How to design a drag and drop between to containment references

    Hello,
    Can someone help me to desgin a drag and drop between two containment references shared by the same container ?
    I want two design this DND between two views : each is displaying one of the two references.
    I've tried to use for the target view an EditingDomainDropAdapter with generated item providers. But it is considering the two references as children features for the dragged element and the drop can then be done in the wrong reference.
    I've also tried to override generated item providers two only consider the reference viewed in the target view. But in this case the drag and drop command cannot execute because no parent is found for the dragged element.
    I've considered too put the item providers adapter factory of the source view in the dragged data, and design an EditingDomainDropAdatper using this factory for building the drag part of the drag an drop command. But it seems to be a big a job...
    So I prefer to ask your help to find the wright design for my need.
    Best regards,
    Laurent

    On 05/08/2015 8:44 PM, voiry laurent wrote:
    > Hello,
    >
    > Can someone help me to desgin a drag and drop between two containment
    > references shared by the same container ?
    >
    > I want two design this DND between two views : each is displaying one
    > of the two references.
    How did you achieve that result? By modifying the item provider's
    getChildrenFeatures(Object)?
    >
    > I've tried to use for the target view an EditingDomainDropAdapter with
    > generated item providers. But it is considering the two references as
    > children features for the dragged element and the drop can then be
    > done in the wrong reference.
    Yes,
    org.eclipse.emf.edit.provider.ItemProviderAdapter.getChildFeature(Object, Object)
    does that. That's why I ask how you specialized it to show only one of
    the features, because if you did it by specializing what's returned by
    getChildrenFeatures it should only consider the one reference, and not
    both...
    >
    > I've also tried to override generated item providers two only consider
    > the reference viewed in the target view. But in this case the drag and
    > drop command cannot execute because no parent is found for the dragged
    > element.
    I'm not sure specifically what you did, but getChildFeature should
    return your desired target feature...
    >
    > I've considered too put the item providers adapter factory of the
    > source view in the dragged data, and design an
    > EditingDomainDropAdatper using this factory for building the drag part
    > of the drag an drop command. But it seems to be a big a job...
    Seems not necessary. I imagine each view has its own specialized item
    provider, each returning the desired feature for getChildrenFeatures,
    and that all else should just work as a result.
    >
    > So I prefer to ask your help to find the wright design for my need.
    >
    > Best regards,
    > Laurent

  • How do I enable drag and drop of photos from a webpage to my desktop? It has stopped working and I cannot figure out how to enable it.

    I used to be able to drag and drop photos from webpages to my desktop but am no longer able to do so. I can however right click and save image as, but that it just to tedious.

    That sounds like a browser issue so what browser and what web sites?

  • How can I get drag and drop to work again in iphoto11?

    I have created a photo book in iphoto 11 (version 9.3.2) on my imac running os 10.7.5.  The drag and drop feature suddenly quit working. I cannot drag/drop photos from an event into the photo book OR within the photo book.
    I've restarted the computer to no avail. I've also quit and restarted iphoto.
    When I run Console, I see the following errors: iphoto: coredragcrete error -4960 and error in coredragdispose -1850
    What should I do to get my drag and drop working again?

    Repair permissions with Disk Utility.

  • How to perform a Drag and Drop operation on JButton in a JPanel?

    Hi guys,
    There is a requirement to perform Drag and Drop operation on JButton component added to a JPanel Componet.
    I could not get a proper solition to move the JButton component inside a JPanel component by drag and drop.
    I request every one to provide some related information on moving a JButton component using Mouse operation.
    Rajashekar.T

    Here is some code for moving a window around the screen. The concept would be the same for moving a button around a panel:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=599181

  • How come I cant drag and drop images onto my imove

    I can't drag and drop images from my desktop or folder into imovie.

    Simply because you are not posting to the iMovie forum. Post there and find out.

  • How do i enable drag and drop?

    Im trying to move specific music from my imac onto my iphone, via drag and drop but it isnt letting me do so, only syncing my entire collection of music.. help?

    1. Connect your phone to iTunes
    2. Open iTunes and select your device
    3. select music and then choose the option "select playlists, artists, albums, and genres
    4. choose the songs you want
    4. sync your device
    you can also create and playlist and then drag whichever song you like and then sync that playlist using the the above steps
    Aryan_m92

  • How to develop a drag and drop client application sofware?

    Hi... I am currently involving in a web based robot control program... It requires me to develop a client software to create the robot control program...
    As i have no such experience before, can any 1 tell me how to create a drag-n-drop software for that purpose?
    Thanks.
    Carter

    As i have no such experience before, can any 1 tell
    me how to create a drag-n-drop software for that
    purpose?To give an answer in accordance with the datailedness of your specifiations: you could create such a software by writing it.
    http://java.sun.com/docs/books/tutorial/dnd/index.html

  • How can I make a drag and drop movie clip to disappear when it's dragged in a specific area?

      I have a movie clip that also has the function to duplicate. What I want is that if the user dosent want so many duplicates, to have an area where if he drags the duplicates, they will disappear.  Thank you.

    I've search on google but I did not found any tutorial for this particular thing. I found instead this code : 
    on (press) {     startDrag ("", false);   
    this.swapDepths(_global.depth++);
    on (release, releaseOutside)
    stopDrag ();   
    this.swapDepths(_global.depth++);   
    if (this._x > 493.250000 && this._x < 636.050000 && this._y > 142.900000 && this._y < 271.350000)   
       this.removeMovieClip();   
        } // end if
    but I don't know how to make the _x/_y to work, better said I changed  the values but nothing happend, did I did something wrong ? The first _x/_y stands for the position? I've played with the range values but cant seem to make it happend.

  • Need to make a drag and drop gui. How?

    Hi!
    I am making an application that has a toolbox/panel with different icons/images in it and a blank area that I can drag icons into from the toolbox. I also need a way to connect the icons together with arrows. Ultimately I want it all to represent a network of icons and connecting arrows. When I move an icon around, I need the arrows to follow. I need it to work kinda like MS Visio actually. After making the "network" I need to add values to the different icons and arrows (e.g. cost, number of items).
    I want an invisible grid on the blank area so the icons can get properly aligned (By snapping to the grid).
    For the draggable icons is the best way to make a custom component which extends JLabel or something?
    Thanks
    Atle

    javaworld.com has an excellent article on drag&drop in java.

Maybe you are looking for

  • Can't scan from my HPC4280 with new Snow Leopard

    I downloaded the new snow leopard and now my HPC4280 All In One scanner is not working. Printer and copier works fine. I've tried the 3 fixes from the HP support but nothing is working. I went to System Preference clicked on printer/fax, click on the

  • IBook won't boot after broken wireless connection trying to update OS

    Trying to help my kid with his iBook via telephone calls. He was updating the OS over a wireless connection, lost the signal which apparently froze the machine. When he rebooted it wouldn't go past the blue start-up screen with a spinning gear. He's

  • Agent Logs out and Logs in back several times

    Hi, Agent Logs out and Logs in back several times without his intervention. this was observed with one agent. Any idea what would be causing? We use a custom CTIOS client and we observe that only one agent had this problem

  • Photo down loading.

    Duplicate down loads from Sony A55V digital camera. When I down load photo's from the camera to my Mac or Ipad2 they sometimes copy all photo's on the camera? Other times they only copy the new photo's? What is the fix.

  • Editor is not opening

    I have Photoshop Element 4, working well untill my problem. From the "Organizor" it refuses to switch to "Editor" with a message (rough translation from the French" : "Impossibility do connect to Editor". I have desintalled and reinstalled : same sit