Drag and Drop with mulitiple drag sources but only one correct answer?

I've created two drag sources (in a Type group) for one drop target. I want to be able to drag only one or the other onto the drop target. I changed the correct answers from 2 to 1, but I can still drag both onto the drop target. Is there a way to reject the second drag source?
Is there a way to select the same drag sources and have the same situation for a different drop target?
Plus, if I have the drop target set to not visible, is there a way to change it to visible once a drag source is dropped on it?
Sorry for the newbie questions. Thanks for any help.

No, I made the target invisible, not the drag object.
I have sample text (a paragraph missing periods). I created an image file of the period (essentially, a dot within a square with the same color background as my slide). The reason I created the image (and not just a round filled shape) is because if I can get this to work, I'd like to use other punctuation mark images. I imported the period image and made 3 copies of it (4 separately named images). Two of the images (the drop targets) I placed where they belong in the sample paragraph and made them invisible. The other two images are visible and would be the drag sources. I want students to be able to choose either copy of the drag source and place them on either of the drop targets (no specific order, but only one being able to be dropped onto one target). With the correct answer, I'd like to make the target visible. In the drag settings, I unchecked "send back to original location" and then set it to absolute. This is so the student would be able to place the period in other areas of the sample paragraph (but not be able to "find" the active areas that would automatically pull them into place over the target. Sorry, I don't have access to the program at this minute, so I can't remember what the other setting was instead of absolute that "pulled" the drag source onto the target.) Anyway, if set to absolute, the dropped items do not line up properly (because they land where they were dropped, obviously). So, I'm looking for a way to then make the target (that was invisible) visible when one correct period is dropped onto it, plus then reject any other periods being dropped onto it.
I'm open to suggestions if there is a better way to do this.

Similar Messages

  • How can I allow a learner to review a created Drag and Drop Quiz to show the learner their incorrect/correct answers?

    Captivate 8: I have created an assessment with two multiple choice question slides and eight drag and drop question slides. After the learner views their score, I would like them to be able to review all of their answers to see where errors were made. Currently, the review quiz only shows their answers and the correct answers for Multiple choice question slides. Ideally, I would like a review of the drag and drop question slides where the incorrect choices are outlined in red or something to this effect. I appreciate any insight and suggestions!

    Sorry, D&D is not a normal question slide and I can only recommend logging a feature request. I would really like to be able to choose whether an interaction is reset or not, because this problem doesn't exist only for D&D but for all learning interactions as well.

  • Error in drag and drop with a Tree component

    Hello, everybody.
    I'm doing a drag and drop with two trees.
    But, when I drag from a tree to another show this error:
    "oracle.job.RowNotFoundException:JBO25020: View line of oracle.jbo.Key[4.4] key not found in ViewTreeNodeRepository13_71."
    Besides that, in my property SelectionListerner, when I have this line: "#{bindings.TreeNodeRepository.treeModel.makeCurrent}" there is a warning that says: "Reference makeCurrent not found".
    Anyone can help me?
    Thanks!

    Hi,
    +Besides that, in my property SelectionListerner, when I have this line: "#{bindings.TreeNodeRepository.treeModel.makeCurrent}" there is a warning that says: "Reference makeCurrent not found".+
    Don't worry, its a designtime warning because the EL cannot be resolved. MakeCurrent is a method on the FacesCtrl binding equivalent to ADF, which is applied at runtime and not available at design time
    +But, when I drag from a tree to another show this error: "oracle.job.RowNotFoundException:JBO25020: View line of oracle.jbo.Key[4.4] key not found in ViewTreeNodeRepository13_71."+
    In drag and drop, ADF Faces performs the drag. However, the rest of the drop handling is up to the developer. Without any more information of what yur drop handler is doing, this question cannot be answered
    Frank

  • [SOLVED] Thunar 1.6 doesn't drag-and-drop with the right mouse button

    Hallo all.
    It might be something I've done (though I did delete my ~/.config/Thunar directory before upgrading), but Thunar doesn't let me drag-and-drop with the right mouse button, thus stopping me from copying something instead of moving it, etc. Has anyone else had that too?
    Last edited by GordonGR (2012-12-28 14:34:20)

    Joel wrote:
    anonymous_user wrote:Is it supposed to be with the right-mouse button? I always thought drag and drop was done with the left button?
    Could be right-hand user
    Come on! Read what GordonGR wrote!
    Microsoft Windows, Nautilus, the Haiku Tracker, and probably many other file managers have a feature where, when you right-click or middle-click and drag an icon to a new location, a pop-up menu appears and asks what you'd like to do (Move, Copy, Link). I thought I used to use this feature in Thunar too but it seems to have stopped working in recent versions. Has anyone else had any experience with it?
    EDIT: Here's random blogger talking about the feature in an older version of Thunar: http://jeromeg.blog.free.fr/index.php?p … and-tricks So that's good, I wasn't just imagining the feature.
    Last edited by drcouzelis (2012-12-12 03:45:05)

  • Can't Drag and Drop with a Double Tap using Single Finger in Lion?

    I installed the Mac OS X Lion two days. But I can't drag and drop with a Double tap using Single Finger, which I used to do in Snow Leopard.
    If I choose Three Finger Move, then Swap Between Pages goes back to "Scroll left or right with Two Fingers" that only works with Safari, but doesn't work with Chrome or Firefox.
    I tried literally every setting in Trackpad and also checked if there was a override settings and there is no overrride setting.
    Would be thankful, if you guys could suggest me what to do?
    ======================================
    My Machine Configuration:
    Macbook Pro 13" (mid 2010)
    Intel Core 2 Duo 2.4GHz
    4GB Ram
    Nvidia Geforce 320m
    Mac OS X Lion (Installe on a updated Snow Leopard 10.6.8)

    Hey Serge many thanks for telling me how to do. now its working like previously
    I just cheked the Dragging under Trackpad option and unchecked Three Finger Moves. now I can drag and drop with a double tap using single finger.
    Thank you guys. You are the best

  • How can i sync videos to my iphone 5 using Itunes 11. i also tried to convert the videos to mp4 and drag and drop the file in itunes but still i cant see videos in itunes library.

    how can i sync videos to my iphone 5 using Itunes 11. i also tried to convert the videos to mp4 and drag and drop the file in itunes but still i cant see videos in itunes library.

    Copied from this link.
    http://www.apple.com/iphone/specs.html
    Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    There are 3rd party utilities available that "rip" content into a compatible format - most include an iPod and/or iPhone format selection. If a video plays in iTunes, iTunes includes an option to convert a selection for iPod/iPhone.

  • I need to play a song on a Keynote presentation, how do I do this ? I use to drag and drop the mp3 in Keynote but it stops playing when the slide move to the other one... how can I make the song keep playing through the whole presentation ? Thanks.

    I need to play a song in a row in a Keynote presentation, how do I do this ? I use to drag and drop the mp3 in Keynote but it stops playing when the slide move to the other one... how can I make the song keep playing through out the presentation ?
    Thanks.

    Drag the file into the audio window in the Document inspector...

  • How can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    how can you use iMessage between 3 iPads with 3 different users but only one Apple ID?

    No you do not need separate Apple ID's in order to use 3 devices with one Apple ID. I use 4 devices to Message and FaceTime and all use the same Apple ID. You do need to add additional email addresses for the other devices.
    Look at this very informative video for the instructions.
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • With ITunes in Windows Vista, I've attempted to drag and drop a homemade video folder but it doesn't show up in my ITunes library.  What should I be doing differently?

    With ITunes in Windows Vista, I've attempted to drag and drop a homemade video folder from my Desktop to ITunes on the PC in order to transfer it to my IPad (as per instructions), but it doesn't show up in my ITunes library.  What else should I be doing?

    Do you have any videos/movies in the video app?
    In iTunes if you right click on the video and select Get Info and go to the Option tap what Media Type is shown?

  • Why can I drag and drop a file into A3, but not import it?

    With A2+ I've scanned images (Epson flatbed) and imported them as TIFF, JPG, PNG, whatever.
    Same scanner, software, and A3 refuses to import any of the above formats. However, I can drag and drop the image on a project and it works.
    Any ideas? I looked for relevant threads but didn't see any immediately.
    Thanks

    Image appears in import pane; I can assign metadata, click "import," wait about 10 seconds and it says "import completed with errors," though the file doesn't show up in project.
    I have to say it's inconsistent. I just spend 20 minutes trying to import a one scan in PNG, TIF, JPG formats, and eventually gave up and dragged it in as TIF.
    Just now, I tried importing it into a different A3 project, and the TIF worked. However the PNG (which I didn't drag into A3, still gives the above error.
    I can live with this as long as drag and drop works, but seems like a bug.

  • Old Drag and Drop With Toast Issue:

    I found this link to an old discussion, but it does not resolve my issue:
    http://discussions.apple.com/message.jspa?messageID=9282890#9282890
    I burnt two nice LightScribe labels, (nice because I cooked 'em twice for extra darkness, which takes time,) and then, after assuming that if I dragged and dropped my iTunes files to the desk top and then to Toast, as the above thread recommended, that since the files were accepted by toast doing things that way, that things were back to normal. I finished two beautiful CD's (I had a lot of work into the design of the labels,) by burning the music on to the disks. Well, my car cd player wouldn't play them, that is not normal, and I have two beautifully useless CD's which were the product of a lot of time and labor not to mention the cost of the disks... I've always been able to play back using the old process, (without the desktop drag and drop step,) - I'm running an iTunes version way beyond when this bug was supposed to be fixed. What do I do? How do I get back to being able to go directly from iTunes to Toast with successful playback? Thanks for your help with this!
    Message was edited by: probassist

    To anselmo Stiffan:
    Which problem did you solve: the double click with one tap or three finger drag? I too have aluminum 2008 MacBook, and I found the preferences and accessibility section but seem to fail in finding the right combo of preferences I'm used to or like. Ok, so the three finger drag is good, but click or tab... drives me bonkers!!! Everything was fine for me even after updating to Mountin Lion back in July 2012, but then all of a sudden in October 'my trackpad doesn't work the same. I don't even want to get on the computer anymore, because I'm annoyed and I cannot click on my user account to login with plugging in a mouse or using keyboard shortcut functions. It's hit or miss with my trackpad working, it freezes after awhile, then I have to plug in the darn mouse. I checked my trackpad firmware, it said up to date....I may have to actually start a new discussion??? But to continue venting... Some menu's need one tap, some require double tap... I cannot use one click unless its set to left or right for alternate menu's. Its just bad in my carpel tunnel and frustrating... I've been searching discussions for similar issues and I saw this. I saw you had an older Mac? It's funny how I switched over 4 years to Mac and mine is almost obsolete? I'm afraid to take it in only to pay more money. I guess my real question besides double clicking option would be if other folks with "the older Aluminum" 2008  MacBook models are having similar problems?

  • Drag and Drop with a response in Flash..please help

    Hi
    I have just started with flash and actionscript3 about 5 weeks ago. I'm in my first year uni and I have a drag and drop assignment (for a kindergarten class). Its "little Red Hen" and they have place the correct picture in right holder.
    I have gotten the drag and drop working but I can't seem to figure out how to display a tick when they have place it in the correct holder.
    Please help....
    This is my script (it may seem messy...still new)
    import flash.events.MouseEvent;
    /*Mouse Event that ensures the function of hen movieclip to start dragging
      when mouse is pressed*/
    hen1_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    hen2_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    hen3_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    hen4_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    hen5_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    hen6_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragStart);
    function dragStart (event: MouseEvent):void
        event.target.startDrag();
    /*Mouse Event that ensures the function of hen movieclip to drop
    when the mouse button is realeased with Condition statement, if
    hen = holder, hen snaps into place*/
    hen1_mc.addEventListener(MouseEvent.MOUSE_UP, dragStop1);
    function dragStop1 (event:MouseEvent):void
        hen1_mc.stopDrag();
        if (hen1_mc.hitTestObject (holder1_mc)==true)
            hen1_mc.x=holder1_mc.x;
            hen1_mc.y=holder1_mc.y;
    hen2_mc.addEventListener(MouseEvent.MOUSE_UP, dragStop2);
    function dragStop2 (event:MouseEvent):void
        hen2_mc.stopDrag();
        if(hen2_mc.hitTestObject (holder2_mc)==true)
            hen2_mc.x=holder2_mc.x;
            hen2_mc.y=holder2_mc.y;
    hen3_mc.addEventListener(MouseEvent.MOUSE_UP, dragStop3);
    function dragStop3 (event:MouseEvent):void
        hen3_mc.stopDrag();
        if(hen3_mc.hitTestObject (holder3_mc)==true)
            hen3_mc.x=holder3_mc.x;
            hen3_mc.y=holder3_mc.y;
    hen4_mc.addEventListener(MouseEvent.MOUSE_UP, dragStop4);
    function dragStop4 (event:MouseEvent):void
        hen4_mc.stopDrag();
        if(hen4_mc,hitTestObject (holder4_mc)==true)
            hen4_mc.x=holder4_mc.x;
            hen4_mc.y=holder4_mc.y;
    hen5_mc.addEventListener(MouseEvent.MOUSE_UP, dragStop5);
    function dragStop5 (event:MouseEvent):void
        hen5_mc.stopDrag();
        if(hen5_mc.hitTestObject (holder5_mc)==true)
            hen5_mc.x=holder5_mc.x;
            hen5_mc.y=holder5_mc.y;
    hen6_mc.addEventListener(MouseEvent.MOUSE_UP, dragStop6);
    function dragStop6 (event:MouseEvent):void
        hen6_mc.stopDrag();
        if(hen6_mc.hitTestObject (holder6_mc)==true)
            hen6_mc.x=holder6_mc.x;
            hen6_mc.y=holder6_mc.y;

    Ok so I figured it out, thank you Ned.
    I have made the tick_mc alpha 0 in the beginning of the script and then in my conditional I have made the alpha = 100
    So it works...yay!
    Now all I have left, if the piece is placed in the wrong holder then it needs to go back into its orignal position.
    I have tried
    Written above the script
    var startX:Number;
    var startY:Number;
    then just below my dragStart code
    startX = event.target.x = startX;
    startY = event.target.y = startY;
    then after each if statement I placed an else statement
    else
          hen1_mc.x = startX;
          hen1_mc.y = startY;
    Its clearly not working, please could you tell me what I am doing wrong?
    thank you

  • Drag and drop with JPanel

    Hi there,
    I have JPanel which contains label and image icon and i want to drag them out to another panel and droped there.
    Is this really doable with swing.
    Please share your thoughts with me
    Thanks,
    - Prashant

    Thanks Daya,
    but I want something which gives me the feel of drag and drop, Dragging is good with your code but when i do drop and that doesn't fall in desired area, i am expecting that to go back on that's previous locaton.
    - Prashant

  • Drag and Drop with mx.effects.SoundEffect

    I am trying to get a soundeffect to play after a successful
    drag and drop operation. Unfortunately, there is no dragDropEffect,
    so I cannot use mxml for adding sound when a drop is completed.
    (However a sound effect can be used when the user first clicks on
    something before drag occurs by using mouseDownEffect.)
    Below is my code which attempts doing this from one tile to
    another with an image. For debugging purposes I have added an Alert
    to show where the sound effect fails to play. Can anyone see what
    is wrong with my code?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="createSoundEffects();" layout="horizontal">
    <mx:Script>
    <![CDATA[
    import mx.managers.DragManager;
    import mx.core.DragSource;
    import mx.events.DragEvent;
    import mx.effects.SoundEffect;
    import mx.controls.Alert;
    [Embed(source="C:/FLEX_PROJECTS/photos/bin/openWind-Mark_E_B-8076_hifi.mp3")]
    private var soundFxOpenSwoosh:Class;
    [Embed(source="C:/FLEX_PROJECTS/photos/bin/closeWin-Mark_E_B-8077_hifi.mp3")]
    private var soundFxCloseSwoosh:Class;
    private var dropSound:SoundEffect;
    //create the sound effect when first loaded (see
    mx:Application tag) for the creationComplete attribute
    private function createSoundEffects():void {
    dropSound = new SoundEffect();
    dropSound.useDuration = false;
    dropSound.loops = 0;
    dropSound.source = soundFxCloseSwoosh;
    // Drag initiator event handler, called by
    // the image's mouseMove event.
    private function dragMe(event:MouseEvent, img1:Image,
    format:String):void {
    var dragInitiator:Image=Image(event.currentTarget);
    var ds:DragSource = new DragSource();
    ds.addData(img1, format);
    var imageProxy:Image = new Image();
    imageProxy.source = img1.source;
    imageProxy.height = img1.height;
    imageProxy.width = img1.width;
    imageProxy.alpha=.8;
    //Call the drag method from the manager
    DragManager.doDrag(dragInitiator, ds, event, imageProxy, 0,
    0, 1.00);
    private function doDragEnter(event:DragEvent):void {
    DragManager.acceptDragDrop(Tile(event.target));
    private function doDragDrop():void {
    dropSound.end(); //see page 569 in flex2_devguide.pdf for
    why .end() is called here
    dropSound.play();
    Alert.show("dropSound.source is:" + dropSound.source);
    ]]>
    </mx:Script>
    <mx:SoundEffect id="dragStartSound" useDuration="false"
    loops="0" source="{soundFxOpenSwoosh}"/>
    <mx:HDividedBox width="100%" height="100%">
    <mx:Tile width="100%" height="100%"
    backgroundColor="#999999">
    <mx:Image id="myimg" mouseDownEffect="{dragStartSound}"
    source=".\2.png" mouseMove="dragMe(event, myimg, 'img');" />
    </mx:Tile>
    <mx:Tile width="100%" height="100%"
    dragEnter="doDragEnter(event)" dragDrop="doDragDrop()"
    backgroundColor="#999999">
    </mx:Tile>
    </mx:HDividedBox>
    </mx:Application>

    Merci beaucoup!!
    it is also posible in AWT ?
    Message was edited by: roshca181
    [email protected]

  • Drag and Drop with Capture feature

    I would like to set up a drag and drop interaction. The user
    will drag several icons and place them on a map. They do not have
    to use all the icons provided to them. The map is a rectangle and I
    need to capture the icons placed on the map and there locations.
    Several pages later I would like the final layout of the map and
    icons to appear automatically for them to continue with the
    exercise. I’ve set up target interactions before but each
    icon had a specific place to complete the drag and drop. Please
    advise. The best example I can think of is you have a lot of
    players on the side line of a football field. You drag out the
    players you want to use. Then in the future in order to make the
    next move you need to reference how u set up the field. Does anyone
    have an example i can look at?

    You need to switch previews on for that. More info:
    http://docs.info.apple.com/article.html?artnum=304499

Maybe you are looking for

  • How many times can I reinstall ipod to same computer?

    I've had continual problems with my computer over the last few years that I've had my ipod and have had to wipe the hard drive several times. When I reinstall my ipod this time, I will be on number 4. I remember reading somewhere that you can only re

  • Creating Bookmarks in Livecycle Designer 7.1

    Greetings All, Is it possible to create bookmarks in Livecycle Designer 7.1 and link it to pages, sections within pages and text fields. If it is possible, could anyone show how to do that, provide examples or a reference on how to do that. Appreciat

  • Is there a way to bulk delete records

    It seems that I have a a lot of duplicated records in my " central " area so I wanted to either filter by Area then delete the duplicates if there is a way to do that or bulk delete every record that is "Central" in the Area column.. is that possible

  • Problems with DirectPrinterDemo: java.lang.NoSuchMethodException

    Hello, our environment is oracle forms10g Version 9.0.4.0.19. i have tried to run the directprinterbean from casey bowden, but i had no luck. i forced forms to use the jre 1.5.06. instead of the jinitiator but i get error messages like these.. java.l

  • PSD files

    I never tried using a PSD file in Director MX 2004. I heard that there were problems importing them. I mught be going back now to MX 2004. Does anyone know about using the PSD files (I don't need multiple layers).