SQL Developer - Drag and Drop

The drag and drop functionality doesn't seem to be working.
I have it set to Insert in preferences.
Looks like it is actually dragging the objects (as I see the sheet by the cursor) but once dropped - nothing happens.
Is there a way to make this work?
I am on V 2.1.0.63 on Windows 7.
TIA
Ant

I have this intermittently with 2.1: usually drag and drop works. Sometimes not. Sometimes when not changing the preferences can cause it to behave again, sometimes not (so a restart is necessary), sometimes (having given up all hope) it just works again. Mostly it happen on linux X86_64 but windows (32bit) is not immune. If it were not so intermittent and unpredictable I could have submitted a worthwhile bug report by now, but so far I cannot identify any common cause for either nothing happening or the ability to "recover" so I keep looking to the forums and hoping ....

Similar Messages

  • 4.0 EA3 -- SQL Server Drag and drop still not working

    My clients love SQLD D because they can access SQL Server and Access as well as Oracle of course.
    Drag and Drop of tables  from the table view have not worked in a while.
    appear to only see things in the Master Database. Even if you retrieve the list of databases and set you still en up only in the MASTER.
    You then have to fully qualify to retrieve a table.

    What exactly is your question here?

  • Drag And Drop Java Portlets

    Hi,
    How can we develop Drag and Drop (DnD) Portlets. Does Oracle Portlet provide such functionality.Can someone guide me or have any documentation on how to create Java Portlets that can be dragged arround i.e. just like on google site http://www.google.com/ig. I am using 10.1.0.4. Thanks

    Is there any kind of documentation available as how to build this kind of functionality. What API's to use. Lifefray and StringBeans Portal provides DnD functionality so curious if it's also doable using Oracle Portal and if so how to start on it. I am more interesetd in docs. and API's to use for building our own.
    Thanks

  • Sql Developer 1.5.1 Drag and drop not working ?

    Hi,
    I've just installed this version and while the cursor changes when I drag a table to the editor, notjhing actuually happens.
    I've changed the default setting (select) to prompt every time, but it makes no difference.
    Is there something I should be setting to get this to work ?
    Thanks,
    Graham
    10g on XP

    OK, for the powers that be, if they ever use these forums, here is what I get when trying to drag and drop a table onto an empty worksheet.
    Exception in thread "AWT-EventQueue-0" oracle.classloader.util.AnnotatedNoClassD
    efFoundError:
    Missing class: org.antlr.stringtemplate.CommonGroupLoader
    Dependent class: oracle.dbtools.raptor.controls.DnDDropGenerator
    Loader: main:11.0
    Code-Source: /C:/Program Files/sqldeveloper/sqldeveloper/extensions/
    oracle.sqldeveloper.jar
    Configuration: system property C:\Program Files\sqldeveloper\sqldevelo
    per\extensions\oracle.sqldeveloper.jar
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClass
    Loader.java:2176) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by su
    n.misc.Launcher$AppClassLoader@10469011]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1729) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.
    misc.Launcher$AppClassLoader@10469011]
    at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.ja
    va:143) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@10469011]
    at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClass
    Loader.java:331) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun
    .misc.Launcher$AppClassLoader@10469011]
    at java.security.AccessController.doPrivileged (Native method) [unknown,
    by unknown]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1688) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@10469011]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1670) [/C:/Program%20Files/sqldeveloper/j2ee/home/lib/pcl.jar, by sun.misc.Lau
    ncher$AppClassLoader@10469011]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre b
    ootstrap, by jre.bootstrap:1.5.0_12]
    at oracle.dbtools.raptor.controls.DnDDropGenerator.loadTemplates (DnDDro
    pGenerator.java:620) [/C:/Program Files/sqldeveloper/sqldeveloper/extensions/ora
    cle.sqldeveloper.jar (from system property C:\Program Files\sqldeveloper\sqldeve
    loper\extensions\oracle.sqldeveloper.jar), by main:11.0]
    at oracle.dbtools.raptor.controls.DnDDropGenerator.generate (DnDDropGene
    rator.java:521) [/C:/Program Files/sqldeveloper/sqldeveloper/extensions/oracle.s
    qldeveloper.jar (from system property C:\Program Files\sqldeveloper\sqldeveloper
    \extensions\oracle.sqldeveloper.jar), by main:11.0]
    at oracle.dbtools.raptor.controls.RaptorDnD.nodeDrop (RaptorDnD.java:197
    ) [/C:/Program Files/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.ja
    r (from system property C:\Program Files\sqldeveloper\sqldeveloper\extensions\or
    acle.sqldeveloper.jar), by main:11.0]
    at oracle.dbtools.raptor.controls.RaptorDnD.drop (RaptorDnD.java:160) [/
    C:/Program Files/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar (f
    rom system property C:\Program Files\sqldeveloper\sqldeveloper\extensions\oracle
    .sqldeveloper.jar), by main:11.0]
    at oracle.dbtools.raptor.controls.RaptorDnD.drop (RaptorDnD.java:141) [/
    C:/Program Files/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.jar (f
    rom system property C:\Program Files\sqldeveloper\sqldeveloper\extensions\oracle
    .sqldeveloper.jar), by main:11.0]
    at java.awt.dnd.DropTarget.drop (DropTarget.java:430) [jre bootstrap, by
    jre.bootstrap:1.5.0_12]
    at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage (SunDropTarge
    tContextPeer.java:500) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at sun.awt.dnd.SunDropTargetContextPeer.access$800 (SunDropTargetContext
    Peer.java:53) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEven
    t (SunDropTargetContextPeer.java:812) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent (S
    unDropTargetContextPeer.java:736) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at sun.awt.dnd.SunDropTargetEvent.dispatch (SunDropTargetEvent.java:29)
    [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.Component.dispatchEventImpl (Component.java:3842) [jre boots
    trap, by jre.bootstrap:1.5.0_12]
    at java.awt.Container.dispatchEventImpl (Container.java:2024) [jre boots
    trap, by jre.bootstrap:1.5.0_12]
    at java.awt.Component.dispatchEvent (Component.java:3819) [jre bootstrap
    , by jre.bootstrap:1.5.0_12]
    at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:421
    2) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.LightweightDispatcher.processDropTargetEvent (Container.java
    :3963) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.LightweightDispatcher.dispatchEvent (Container.java:3817) [j
    re bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.Container.dispatchEventImpl (Container.java:2010) [jre boots
    trap, by jre.bootstrap:1.5.0_12]
    at java.awt.Window.dispatchEventImpl (Window.java:1791) [jre bootstrap,
    by jre.bootstrap:1.5.0_12]
    at java.awt.Component.dispatchEvent (Component.java:3819) [jre bootstrap
    , by jre.bootstrap:1.5.0_12]
    at java.awt.EventQueue.dispatchEvent (EventQueue.java:463) [jre bootstra
    p, by jre.bootstrap:1.5.0_12]
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchT
    hread.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThr
    ead.java:163) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:157
    ) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:149
    ) [jre bootstrap, by jre.bootstrap:1.5.0_12]
    at java.awt.EventDispatchThread.run (EventDispatchThread.java:110) [jre
    bootstrap, by jre.bootstrap:1.5.0_12]

  • Cann't Drag and Drop Tabels from MS SQL 2005 Database using JDBC connectio

    I've created a I've installed cr4e-all-in-one-win_2.0.1 (Crystal Reports for Eclipse) created a new Connection with MS-2005 SQL using SQLJDBC.jar file, Connection is working and I can see all Databases and under dbo schema.
    My problem is when i try to add database in my report (using drag and drop or via option menu) nothing happens... there's no error please guide

    Hi K,
    First of all, thank you so much for your help and advice.
    When i create the repository, i encountered below error in compiler log;
    Error(26,2): PL/SQL: SQL Statement ignored
    Error(29,23): PL/SQL: ORA-00904: : invalid identifier
    Error(2486,9): PL/SQL: Statement ignored
    Error(2486,30): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2487,9): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2487,9): PL/SQL: Statement ignored
    Error(2488,9): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2488,9): PL/SQL: Statement ignored
    Error(2559,5): PL/SQL: Statement ignored
    Error(2559,26): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2560,5): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2560,5): PL/SQL: Statement ignored
    Error(2561,5): PLS-00201: identifier 'DBMS_LOB' must be declared
    Error(2561,5): PL/SQL: Statement ignored
    When i right click on those errors and click 'go to source', it doesn't go anywhere.
    But it mentioned that repository created successfully.
    So that I tried to quick migrate and got below migration error:
    Error ocurred during capture:
    ORA-04063: package body "REPOOWNER.MD_META" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "REPOOWNER.MD_META"
    ORA-06512: at "REPOOWNER.MD_PROJECTS_TRG", line 3
    ORA-04088: error during execution of trigger 'REPOOWNER.MD_PROJECTS_TRG'
    I really don't know how to solve this.
    Thus, please help to advice how to solve on this matter and I do really appreciate your help.
    Thank you so much for all your help.
    Edited by: Sai Lin Naung on May 30, 2010 8:32 PM

  • 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

  • Air 2.7 Drag and Drop

    Hi I've had this posted under the "problems and bugs" section for a while, but nobody has answered as yet. Maybe its better posted here.
    I have an HTML/Javascript application that provides HTML5 based drag and drop for files from the desktop. This works perfectly in the browser and also tried it using Appcelerator Titanium and it also works.
    However if I package the app using Air the drag and drop feature does not work!
    Does Air support this?
    From what I've read Air 2.7 should be much more HTML5 compliant.
    Seems that I might need to disable AIR's default D&D behaviour?
    Best Regards,
    Carl

    This happened to me too on various occasions, since v1.5.
    Only known solution for me is backing up and deleting the \SQL Developer\systemXXX directory under the (hidden) Application Data of your Windows user profile, to revert to factory defaults. You can try to migrate settings from the backed up folder when being asked to (on first start).
    Hope that helps,
    K.

  • 2.1 Drag and Drop

    I swear I remember previous versions of SqlDeveloper generating Select statements when I drag table names from the connection navigator to a worksheet. Now I get nothing. I checked the preference settings to make sure it wasn't disabled somehow.
    Preferences -> Database -> Drag and Drop
    Defaulted to Select + Individual Statements + Prompt every time is checked.
    ...I'm not being prompted and nothing is being generated, and my Log Message buffer is empty.

    This happened to me too on various occasions, since v1.5.
    Only known solution for me is backing up and deleting the \SQL Developer\systemXXX directory under the (hidden) Application Data of your Windows user profile, to revert to factory defaults. You can try to migrate settings from the backed up folder when being asked to (on first start).
    Hope that helps,
    K.

  • Drag and drop a track or album without losing your current library

    Hi
    This needs addressing ASAP.  Totally legal and simple to do...Surely.  I have a home PC and a laptop.  I have different music albums stored on either.  Whats the point in having 2 copies of the same music when i carry my iphone4 where ever i go.  My iphone4 is synced to my home PC, i have albums on my laptop which i would like on my iphone.  I dont want to swap the entire album as i have tracks on my iphone which i want to keep but i want to drag and drop selected tracks or albums from one library to my iphone without losing what is on my phone already.
    Surely if you are logged onto your account, the phone is registered to that account and you have authorised both your home pc and laptop to access your account this should be possible.
    This is not rocket science. I own the music on my laptop and the music on my pc, I want to mix and match what is on my iphone4 without syncing my entire music collection.  I would like to just drag and drop music straight on to my phone....NOW COPYING SELECTED TRACKS TO YOUR IPHONE. job done, unplug it and now i have a new album added to my current iphone library without updating anything else or deleting any other tracks.
    Is this possible....if not, sort it out Apple

    It would be nice as completion takes forever when you have several hundred schema and tables. I end up having to type the first 8-10 characters, before a list is even presented, then my tables are so close in name, that the list is long.
    I have toad as well, but would rather use sql developer. In toad I can drag and drop or double click to add a schema, table or field. It is way faster and convenient. Without this simple ability, SQL developer is still second rate for me.

  • Flash Drag and Drop Template in Captivate.  *HELP*

    Good morning.
    I am attempting to use the drag and drop learning interaction
    that comes pre-packaged with Flash CS3 and import it into Captivate
    for use in a Captivate based e-learning exercise.
    I create the drag and drop just fine in Flash, and it looks
    perfect when I publish it in Flash, etc.
    When I attempt to use the EXACT same SWF in Captivate,
    however, it does not work. I can move the drags around the screen,
    but they will not "drop" where they are supposed to.
    Thinking maybe I broke the template, I went ahead and just
    imported it 100% unchanged from Flash into Captivate (without me
    messing around with it changing things around) and it does the
    exact same thing.
    I have successfully used my own homemade flash "widgets" in
    Captivate, to include like click and reveal type interactions...for
    whatever reason, though, I can't get this one to work, even though
    I know it works perfectly in Flash.
    The .swf file was developed using ActionScript 2.0 in Flash
    and I tried publishing it with Flash 9 and Flash 8 as the setting,
    both do the same thing.
    Help!!!?
    Thanks.
    Rob

    Hi R
    Note that the Border simply adds space to the project so the
    playback controls aren't covering part of your movie. Assuming you
    want that to continue AND have a playback control, you might resize
    the project so the playback control is included in the main movie
    as well as being placed in an area that doesn't possibly obscure
    any screen activity.
    Cheers... Rick

  • Can you use a custom cursor with drag and drop?

    Hi there! I'm a newbie flash user and working on a simulation for a graduate course in instructional design. I'm using Flash Professional CC on Mac. Here's what I'm trying to do. I have several draggable sprites on the stage and three target sprites. I have specified the original x,y locations of the sprites and have set the end x,y locations as those of each of the three targets. Items must be dragged to one of the three targets.
    Some questions:
    1. Can I specify more than one End x,y location for a draggable sprite? I'm creating a lesson to teach kindergartners how to sort lunchroom waste. If they have a napkin, for example, it could either go into the compost OR into the recycling. In cases like this where an item could really be placed into more than one bin, I want them to get it right if they do either of those things, rather than forcing them to choose which one.
    2. To make my project more "fun" for kids, I wanted to customize the cursor with a graphic of  hand. When I tried this in the flash file it works perfectly until I add the drag and drop functionality for the wasted items. Then the cursor will more around  but not pick up any items. Once I revert back to the standard pointer, the correct drag and drop functionality is restored.
    3. I have it set to snap back to the original location if learner attempts to drop the item on the wrong target. I want to be able to play a sound file when that happens, as well as play a sound file when it lands on the correct target, as well as shrink the item and change its opacity so that it appears invisible. I want to give the illusion of it being placed into the bin. I have no idea as to the proper way to code these events so that they happen.
    4. I've watched dozens of hours of youtube tutorials before coming here. I'm a quick study, but am very new to action script. In one of the videos the developer showed referencing an external action script file which I don't think is an option in CC. The coding method he used seemed much more streamlined and "clean" than the chunks I'm working with now. Is there an easy way for me to code information about these objects  than the way I've got it here now? I hate starting new things with bad habits. The perils of self-teaching.
    Thanks!
    I'm pasting my code from the actions panel below so you can see what's going on:
    stop();
    /* Custom Mouse Cursor
    Replaces the default mouse cursor with the specified symbol instance.
    stage.addChild(customcursor);
    customcursor.mouseEnabled = false;
    customcursor.addEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor);
    function fl_CustomMouseCursor(event:Event)
      customcursor.x = stage.mouseX;
      customcursor.y = stage.mouseY;
    Mouse.hide();
    //To restore the default mouse pointer, uncomment the following lines:
    customcursor.removeEventListener(Event.ENTER_FRAME, fl_CustomMouseCursor);
    stage.removeChild(customcursor);
    Mouse.show();
    //set up variables and objects for dragging
    var offset:int = 10;
    var appleStartX:int = 243;
    var appleStartY:int = 156;
    var appleEndX:int = 522;
    var appleEndY:int = 22;
    apple.buttonMode = true;
    apple.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    apple.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var cupStartX:int = 39;
    var cupStartY:int = 266;
    var cupEndX:int = 520;
    var cupEndY:int = 175;
    cup.buttonMode = true;
    cup.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    cup.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var barStartX:int = 178;
    var barStartY:int = 234;
    var barEndX:int = 522;
    var barEndY:int = 22;
    bar.buttonMode = true;
    bar.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    bar.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var orangeStartX:int = 284;
    var orangeStartY:int = 102;
    var orangeEndX:int = 522;
    var orangeEndY:int = 22;
    orange.buttonMode = true;
    orange.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    orange.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var bottleStartX:int = 172;
    var bottleStartY:int = 303;
    var bottleEndX:int = 520;
    var bottleEndY:int = 175;
    bottle.buttonMode = true;
    bottle.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    bottle.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var bananaStartX:int = 113;
    var bananaStartY:int = 123;
    var bananaEndX:int = 522;
    var bananaEndY:int = 22;
    banana.buttonMode = true;
    banana.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    banana.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var napkinStartX:int = 248;
    var napkinStartY:int = 271;
    var napkinEndX:int = 520;
    var napkinEndY:int = 175;
    napkin.buttonMode = true;
    napkin.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    napkin.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var yogurtStartX:int = 27;
    var yogurtStartY:int = 136;
    var yogurtEndX:int = 518;
    var yogurtEndY:int = 329;
    yogurt.buttonMode = true;
    yogurt.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    yogurt.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var strawberryStartX:int = 120;
    var strawberryStartY:int = 285;
    var strawberryEndX:int = 522;
    var strawberryEndY:int = 22;
    strawberry.buttonMode = true;
    strawberry.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    strawberry.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var sandwichStartX:int = 7;
    var sandwichStartY:int = 364;
    var sandwichEndX:int = 522;
    var sandwichEndY:int = 22;
    sandwich.buttonMode = true;
    sandwich.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    sandwich.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var juiceStartX:int = 88;
    var juiceStartY:int = 347;
    var juiceEndX:int = 518;
    var juiceEndY:int = 329;
    juice.buttonMode = true;
    juice.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    juice.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var foilStartX:int = 39;
    var foilStartY:int = 416;
    var foilEndX:int = 520;
    var foilEndY:int = 175;
    foil.buttonMode = true;
    foil.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    foil.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    var waxbagStartX:int = 235;
    var waxbagStartY:int = 342;
    var waxbagEndX:int = 522;
    var waxbagEndY:int = 22;
    waxbag.buttonMode = true;
    waxbag.addEventListener(MouseEvent.MOUSE_DOWN, startDragging);
    waxbag.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
    function startDragging (e:MouseEvent) {
      e.currentTarget.startDrag();
    function stopDragging (e:MouseEvent) {
      e.currentTarget.stopDrag();
      switch (e.currentTarget) {
      case apple:
      if (apple.x < appleEndX - offset || apple.x > appleEndX + offset || apple.y < appleEndY - offset || apple.y > appleEndY + offset) {
      apple.x = appleStartX;
      apple.y = appleStartY;
      else {
      apple.x = appleEndX;
      apple.y = appleEndY;
      //checkGame();
      break;
      case sandwich:
    if (sandwich.x < sandwichEndX - offset || sandwich.x > sandwichEndX + offset || sandwich.y < sandwichEndY - offset || sandwich.y > sandwichEndY + offset) {
      sandwich.x = sandwichStartX;
      sandwich.y = sandwichStartY;
      else {
      sandwich.x = sandwichEndX;
      sandwich.y = sandwichEndY;
      //checkGame();
      break;
      case orange:
    if (orange.x < orangeEndX - offset || orange.x > orangeEndX + offset || orange.y < orangeEndY - offset || orange.y > orangeEndY + offset) {
      orange.x = orangeStartX;
      orange.y = orangeStartY;
      else {
      orange.x = orangeEndX;
      orange.y = orangeEndY;
      //checkGame();
      break;
      case strawberry:
    if (strawberry.x < strawberryEndX - offset || strawberry.x > strawberryEndX + offset || strawberry.y < strawberryEndY - offset || strawberry.y > strawberryEndY + offset) {
      strawberry.x = strawberryStartX;
      strawberry.y = strawberryStartY;
      else {
      strawberry.x = strawberryEndX;
      strawberry.y = strawberryEndY;
      //checkGame();
      break;
      case napkin:
    if (napkin.x < napkinEndX - offset || napkin.x > napkinEndX + offset || napkin.y < napkinEndY - offset || napkin.y > napkinEndY + offset) {
      napkin.x = napkinStartX;
      napkin.y = napkinStartY;
      else {
      napkin.x = napkinEndX;
      napkin.y = napkinEndY;
      //checkGame();
      break;
      case bar:
    if (bar.x < barEndX - offset || bar.x > barEndX + offset || bar.y < barEndY - offset || bar.y > barEndY + offset) {
      bar.x = barStartX;
      bar.y = barStartY;
      else {
      bar.x = barEndX;
      bar.y = barEndY;
      //checkGame();
      break;
      case juice:
    if (juice.x < juiceEndX - offset || juice.x > juiceEndX + offset || juice.y < juiceEndY - offset || juice.y > juiceEndY + offset) {
      juice.x = juiceStartX;
      juice.y = juiceStartY;
      else {
      juice.x = juiceEndX;
      juice.y = juiceEndY;
      //checkGame();
      break;
      case foil:
    if (foil.x < foilEndX - offset || foil.x > foilEndX + offset || foil.y < foilEndY - offset || foil.y > foilEndY + offset) {
      foil.x = foilStartX;
      foil.y = foilStartY;
      else {
      foil.x = foilEndX;
      foil.y = foilEndY;
      //checkGame();
      break;
      case banana:
    if (banana.x < bananaEndX - offset || banana.x > bananaEndX + offset || banana.y < bananaEndY - offset || banana.y > bananaEndY + offset) {
      banana.x = bananaStartX;
      banana.y = bananaStartY;
      else {
      banana.x = bananaEndX;
      banana.y = bananaEndY;
      //checkGame();
      break;
      case bottle:
    if (bottle.x < bottleEndX - offset || bottle.x > bottleEndX + offset || bottle.y < bottleEndY - offset || bottle.y > bottleEndY + offset) {
      bottle.x = bottleStartX;
      bottle.y = bottleStartY;
      else {
      bottle.x = bottleEndX;
      bottle.y = bottleEndY;
      //checkGame();
      break;
      case waxbag:
    if (waxbag.x < waxbagEndX - offset || waxbag.x > waxbagEndX + offset || waxbag.y < waxbagEndY - offset || waxbag.y > waxbagEndY + offset) {
      waxbag.x = waxbagStartX;
      waxbag.y = waxbagStartY;
      else {
      waxbag.x = waxbagEndX;
      waxbag.y = waxbagEndY;
      //checkGame();
      break;
      case cup:
    if (cup.x < cupEndX - offset || cup.x > cupEndX + offset || cup.y < cupEndY - offset || cup.y > cupEndY + offset) {
      cup.x = cupStartX;
      cup.y = cupStartY;
      else {
      cup.x = cupEndX;
      cup.y = cupEndY;
      //checkGame();
      break;
      case yogurt:
    if (yogurt.x < yogurtEndX - offset || yogurt.x > yogurtEndX + offset || yogurt.y < yogurtEndY - offset || yogurt.y > yogurtEndY + offset) {
      yogurt.x = yogurtStartX;
      yogurt.y = yogurtStartY;
      else {
      waxbag.x = waxbagEndX;
      waxbag.y = waxbagEndY;
      //checkGame();

    Some questions:
    1. Can I specify more than one End x,y location for a draggable sprite?
    yes, use an if-else statement
    I'm creating a lesson to teach kindergartners how to sort lunchroom waste. If they have a napkin, for example, it could either go into the compost OR into the recycling. In cases like this where an item could really be placed into more than one bin, I want them to get it right if they do either of those things, rather than forcing them to choose which one.
    2. To make my project more "fun" for kids, I wanted to customize the cursor with a graphic of  hand. When I tried this in the flash file it works perfectly until I add the drag and drop functionality for the wasted items. Then the cursor will more around  but not pick up any items. Once I revert back to the standard pointer, the correct drag and drop functionality is restored.
    assign your cursor's mouseEnabled property to false:
    yourcursor.mouseEnabled=false;
    3. I have it set to snap back to the original location if learner attempts to drop the item on the wrong target. I want to be able to play a sound file when that happens, as well as play a sound file when it lands on the correct target, as well as shrink the item and change its opacity so that it appears invisible. I want to give the illusion of it being placed into the bin. I have no idea as to the proper way to code these events so that they happen.
    use the sound class to create a sound:
    // initialize your correct sound once with
    var correctSound:Sound=new CorrectSound();  // add an mp3 sound to your library and assign it class = CorrectSound
    // apply the play() method everytime you want your sound to play:
    correctSound.play();
    // change an object's opacity:
    someobject.alpha = .3;  // partially visible
    someobject.alpha = 1;  // fully visible
    someobject.visible=false;  // not visible, at all.
    // change an object's scale
    someobject.scaleX=someobject.scaleY=.5;  // shink width and height by 2
    someobject.scaleX=someobject.scaleY=1;  // resize to original
    4. I've watched dozens of hours of youtube tutorials before coming here. I'm a quick study, but am very new to action script. In one of the videos the developer showed referencing an external action script file which I don't think is an option in CC. The coding method he used seemed much more streamlined and "clean" than the chunks I'm working with now. Is there an easy way for me to code information about these objects  than the way I've got it here now? I hate starting new things with bad habits. The perils of self-teaching.
    you could google: 
    actionscript 3 class coding
    actionscript 3 object oriented programming
    p.s.  you can simplify and streamline your coding by learning about arrays and using hitTestObject.

  • RE : Drag and Drop operations between two outlinefields

    Hi,
    Has any one tried the drag and drop operations between two Outline widgets ina
    window.Any help appreciated.
    Thanks
    balsubHi Balsub,
    Here are some lines which can help you :
    First of all, your 2 OutLineFields must be in a draggable state.
    In the event loop of your window, you have to listen to the event
    ObjectDrop
    on the 2 OutLineFields :
    When Self.<MyOutLine1>.ObjectDrop(SourceX = SourceX,
    SourceY = SourceY,
    SourceField = SourceField,
    TargetX = TargetX,
    TargetY = TargetY,
    TargetField = TargetField) do
    When Self.<MyOutLine2>.ObjectDrop(SourceX = SourceX,
    SourceY = SourceY,
    SourceField = SourceField,
    TargetX = TargetX,
    TargetY = TargetY,
    TargetField = TargetField) do
    Then, when you receive this event, the LocateNode() method will give you
    the DisplayNode which is beeing dragged :
    (assume that your OutLineFields are mapped to the class named :
    ClassOutLine,
    and Col is an Integer which is not important here)
    TheSourceLine : ClassOutLine;
    Col : Integer;
    TheSourceLine = (ClassOutLine)((OutLineField)(SourceField).LocateNode(X
    = SourceX,
    Y = SourceY,
    Column = Col));
    If you want to remove this line from the Source OutLineField :
    TheSourceLine.Parent = Nil;
    TheSourceLine.UpdateFieldFromData();
    If you want to insert this line at the end of the Target OutLineField :
    TheSourceLine.Parent = (OutLineField)(TargetField);
    TheSourceLine.UpdateFieldFromData();
    And if you want to insert this line before or after the Target line of
    the Target OutLineField :
    TheTargetLine : ClassOutLine;
    TheTargetLine = (ClassOutLine)((OutLineField)(TargetField).LocateNode(X
    = TargetX,
    Y = TargetY,
    Column = Col));
    TheTargetLine.PrevSibling = TheSourceLine; // Insert the source line
    before the target line
    or
    TheTargetLine.NextSibling = TheSourceLine; // Insert the source line
    after the target line
    TheTargetLine.UpdateFieldFromData();
    I hope this help you !
    - Manuel -
    Manuel Deveaux
    Forte Developer
    Mutuelle Pr&eacute;viade
    FRANCE
    E-Mail : [email protected]
    -----------------------------------------

    There is no configuration for it. It should work.
    Can you try it in a different user account. If it works in a different account, then it is likely something in your current user account that is messed up. If it doesn't work in another user account, then it is likely something with Mail, itself. 
    You could try downloading and installing the 10.6.7 combo update. That may repair what is wrong.

  • JQuery drag and drop image order with save to database?

    We have a property image gallery on our website and a CMS that allows us to add/edit images in the gallery.
    Image file names are stored in a database table:
    imgID (int)
    propertyID (int)
    imgfilename (nvarchar)
    displayorder (int)
    Images are displayed in order of "displayorder" but we'd like to be able to drag and drop the order in our CMS and have this update the database table with the correct display order.
    We found this jQuery solution but it doesn't appear to work, although descriptively it's exactly what we're trying to acheive:
    http://halnesbitt.com/blog/2010/08/05/save-order-with-jquery-ui-sortable-and-aspaccess
    Can anyone advise a similar script or solution?  We're using Classic ASP and MSSQL.
    Thank you.
    NJ

    Hi,
    Not looking at any code you have an upload button for the video and an insert for the form. So both forms are independent of each other it looks like, thats why when you do one you only get that info and when you do the other you only get the other info. You should just make one form with the uploader included. Make one form with all the fields included (movie name, movie page, movie description, movie file) after the form is completed then select the file field and go to...
    Server Behaivoirs, Developer Toolbox, File upload, upload file. Follow the widgets.

  • How to Create Table Using Column Drag and Drop Feature

    Hi:
    I am new to Oracle SQL dev Data Modeler tool and would like to know if there is a way to create a new table by re-using the existing columns or column groups. The idea is to maintain consistency and save table design time. If columns created previously can be re-used and require drag and drop of column in the right pane, then only new columns need to be manually created.
    Any thoughts on this will be appreciated.
    Thanks!

    Hi Kent
    I checked out the video and tried it in Oracle designer, it works and works great!
    My other question is that I may have several set of columns that I may want to group depending on the table requirements. Can I have multiple templates and choose which one to apply to?
    Also, how do I choose the table where the table template needs to be applied. As I may be interested in applying the table template to selected tables only.
    Thanks
    Edited by: user648132 on Feb 20, 2012 10:47 AM

  • Drag and drop pdf files to Acrobat plug-in dialog

    Hi guys,
    I have an Acrobat plug-in application based on ASDK7 use MFC, it has a UI dialog could make user add files to the dialog.
    Now, I need to implement drag and drop files to the dialog.
    But the file is simply opened by Acrobat always when I drag&drop files.
    Drag&drop works fine in simple MFC project in Windows 7.
    Is there need any settings in Acrobat preference?
    Or how can I stealing drag acceptance from Acrobat App class in code?
    Thanks a lot!

    But Acrobat 9 also cannot work on my Windows XP enviroment.
    I also tried Acrobat 10 on Windows 7, not worked too.
    Thanks for your concerns. Regarding "I would recommend that you submit a formal support case with our Developer Support folks.", what should I do?

Maybe you are looking for

  • Line thickness problem in indesign CS5 and CS6

    I use indesign CS5 and many short lines of 0.5 point in my project. After export to pdf (press) everything seems correct. After rip process from printer office in compressed file lines seems to have different thickness even on large zoom (400%). High

  • Inter Division sales process

    Hi Friends Now am doing the inter division sales process....                                                                   Company Code(EEEE)                          2000(Sales org 1)(Power Projects division)                                     

  • Publish Settings for iOS provisioning

    Under http://helpx.adobe.com/director/using/publishing-ios-devices-using-director.html#id_27206 there is a bullet point titled, Provisioning File Path For Signing The App. There it says, 'Download the mobile Provisioning file path after creating it a

  • Memory_Management

    I have a problem, The operation system show the message error 'memory-management' And restart the computer some times show different message 'system service exception', what is the problem. Help, please!

  • IMovie doesn't see any iPhoto videos

    Hi, I can't seem to get iMovie to recognize any videos that are in my iPhoto library. This used to work easily. Any suggestions? How do I access all of my iPhone videos that get imported into iPhoto for editing in iMovie?