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.

Similar Messages

  • Really simple drag and drop example?

    I have just began exploring Adobe AIR and have succesfully
    managed to load images into an image component, through drag and
    drop from the desktop.
    Now I am trying to understand how to do the reverse —
    how to drag from the image component to the desktop, but after
    spending several hours googling I still haven't found an example
    that show how to achieve this. Either the samples are outdated,
    from the beta period, or to complicated for me to understand.
    Could someone please help me by showing how it is done, in
    the simplest possible way?
    Thanks in advance.

    Hi,
    You could let Christophe's excellent components do the heavy
    lifting for you:
    http://coenraets.org/blog/2007/06/air-to-desktop-drag-and-drop-two-simple-utility-classes/
    Or here's a good simple app with code that shows you how it's
    done:
    http://www.wabysabi.com/blog/2008/03/18/air-example-native-drag-n-drop-and-clipboard-integ ration/

  • Can shared actions reset with drag and drop?

    I'm currently creating an interactive module where the learner will need to drag and drop grey squares to the correct area on the screen.  If you see my picture below, I have a possible 20 grey squares needing to be dragged and dropped for each terminal that's on the lower right of the screen capture. I've created a shared action that shows different wires moving for each of the 20 grey squares moving from the upper image to the lower right image of the screen.  This is painstakingly time consuming, but worth the effect.  The problem I have stems from the drag and drop's "reset" button.  The "reset" button helps set the grey squares that are my drag sources to their original positions, but it does not reset the shared actions that correspond to the movement of each grey square.  Is there any way I can reset not only the drag sources, but also the shared actions associated with the drag sources?  Any help is truly appreciated. 

    This article might be useful: http://coenraets.org/blog/2007/06/air-to-desktop-drag-and-drop-two-simple-utility-classes/

  • Can this be done with Drag and Drop?

    I have a tile list with jpeg thumbnails of illustrator files.
    When clicked they are downloaded and opened.
    Is it possible for me to implement a situation where the user can drag the jpeg to adobe illustrator, and the file will download and open.
    Basically the same operations as clicking on the image.
    Any help is appreciated

    This article might be useful: http://coenraets.org/blog/2007/06/air-to-desktop-drag-and-drop-two-simple-utility-classes/

  • Please Help! Drag and drop does not work in Adobe AIR 3.1 (FlashBuilder 4.6)

    I am working on a PC is made of air and flashbuilder 4.6.
    Drag and drop application does not work in Flash Builder 4.6.
    However, the same source will work with Flash Builder 4.5.
    Please help me.
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                  xmlns:s="library://ns.adobe.com/flex/spark"
                                  xmlns:mx="library://ns.adobe.com/flex/mx"
                                  backgroundColor="#323232" width="100%" height="100%"
                                  initialize="init(event)"
                                  nativeDragEnter="onDragEnter(event)"
                                  nativeDragDrop="onDragDrop(event)">
              <fx:Script>
              <![CDATA[
                        import mx.events.FlexEvent;
                        protected function init(event:FlexEvent):void
                                  addEventListener(NativeDragEvent.NATIVE_DRAG_ENTER, onDragEnter);
                                  addEventListener(NativeDragEvent.NATIVE_DRAG_DROP, onDragDrop);
                        private function onDragEnter(event:NativeDragEvent):void
                                  if (event.clipboard.hasFormat(ClipboardFormats.FILE_LIST_FORMAT))
                                            NativeDragManager.acceptDragDrop(this);
                        private function onDragDrop(event:NativeDragEvent):void
                                  var arr:Array;
                                  arr = Array(event.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT));
                                  startImage.source = (arr[0] as File).url;
                ]]>
              </fx:Script>
              <s:layout>
                        <s:VerticalLayout/>
              </s:layout>
              <s:BorderContainer id="bc" borderStyle="solid" width="200" height="80%"/>
              <s:Image id="startImage" width="100%" height="100%"
                                             horizontalAlign="center" verticalAlign="middle"/>
      </s:WindowedApplication>

    Thank you answers, but it was not the answer I wanted.
    [Problem]
    * Flash Builder 4.5.1(updater) or Flash Builder 4.6
    - If you have installed on pc, does not work adobe air drag and drop
    [Solution]
    1. Reinstalling the Windows 7 (32bit).
    2. Install Flash Builder 4.5.
    3. Flash Builder 4.5.1 updater and Flash Builder 4.6 does not install.
       (Instead of using Flex SDK 4.6 is set up)
    In addition, Windows7 64bit environment does not work drag and drop.
    Is there another solution?

  • Drag and drop file into Outlook from AIR application

    I am hoping to see if this would be possible with the Adobe AIR API. We currently have a desktop AIR application that clients install in order to facilitate certain operations triggered via a web application (such as opening files directly from the web).
    One of the actions we are requested to support is the ability to drag and drop files from our web application directly into Outlook and have the file added as an attachment. I saw the documentation at Adobe Flash Platform * Dropping file promises and was wondering if this might be a possibility, or if there was some other method of performing this.
    We are trying to get around the fact that users now have to download a document to their desktop before being able to attach in Outlook.
    Thanks for any assistance.

    You just aren't calling the right NativeDragManager functions. See http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d83.html

  • Drag and Drop same effects in AIR ?

    I would like to have the same effects in AIR for the sample in below link:
    http://saturnboy.com/2010/12/drag-and-drop-revisited/
    Any workaround ?

    I found, use <s:WindowedApplication  useNativeDragManager="false"/>

  • Air mobile best way to implement drag and drop

    Hi all,
    I'm developing an application which allows people to drag and drop certain panels.
    But the dragmanager isn't optimized for the air mobile platform.
    What is the best way to implement drag and drop at the moment?
    Write it all yourself or are their some utility classes that can help?

    Hi all,
    I'm developing an application which allows people to drag and drop certain panels.
    But the dragmanager isn't optimized for the air mobile platform.
    What is the best way to implement drag and drop at the moment?
    Write it all yourself or are their some utility classes that can help?

  • AIR JavaScript - Drag and drop to OS

    I searched here for an example of how to drag-and-drop from
    the AIR application to the OS
    with JavaScript, not Flex or Flash. I only need to know
    where the element has been dropped in order to start a download.
    I only found an example for Flex. I read that you have to use
    the clipboard but I didn't understand how to use it.
    Does anyone have a simple example of that ?
    If a tech from Adobe reads that, you should add this to your
    documentation. ;)
    Thanks.

    Sounds you are looking for this documentation:
    http://help.adobe.com/en_US/AIR/1.1/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7e8a. html

  • Air drag and drop

    I've found various info regarding dragging and dropping into air applications. But what about dragging files out?
    For example if i made a simple file browser, could i drag files into other programs, e.g illustrator?

    Nevermind, you can't use DragManager at all in AIR it seems if you leave a window.  You have to directly use the NativeDragManager.
    Strange because it seems like the DragManager singleton manages that for you -- but it doesn't.

  • [svn:fx-3.x] 11192: In AIR, you can drag' n drop text between text components like TextInput and TextArea.

    Revision: 11192
    Author:   [email protected]
    Date:     2009-10-27 12:54:37 -0700 (Tue, 27 Oct 2009)
    Log Message:
    In AIR, you can drag'n drop text between text components like TextInput and TextArea.  There's an AIR bug where doing so doesn't result in a TEXT_INPUT or a CHANGE event.  This is a workaround for that bug so that we listen for a nativeDragDrop event.
    QE notes: -
    Doc notes: -
    Bugs: SDK-19816
    Reviewer: Gordon
    Tests run: checkintests, mustella TextInput, TextArea
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19816
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextArea.as
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/TextInput.as

    First 3 .as are the component
    source. in the last test.mxml file i have written the drag and drop functionality.
    can any help me?? please

  • [svn] 3336: Fix an AIR drag and drop problem.

    Revision: 3336
    Author: [email protected]
    Date: 2008-09-24 12:24:27 -0700 (Wed, 24 Sep 2008)
    Log Message:
    Fix an AIR drag and drop problem.
    QE: YES
    Doc:
    Checkintests: Yes
    Reviewer: pfarland
    Bugs: SDK-17006
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17006
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/NativeDragManage rImpl.as

    Update 2, if it can help someone:
    Finally I don't manage the drag and drop by myself using
    DragManager.doDrag(...). Why? Because doing so if the user clicks
    on the scrollbars, on the datagrid header or on an empty row, it
    triggers the drag start and that is ugly. By letting Flex managing
    the drag and drop process, this doesn't append. BUT I was unable to
    use a custom proxy image then. Until I found this article:
    http://www.dgrigg.com/post.cfm/11/03/2006/DataGrid-Drag-Image
    The trick is:
    1) save the mouseX and mouseY using the mousedown event.
    2) override dragImage(), as the article says, to create your
    custom proxy, attaching to it a FlexEvent.UPDATE_COMPLETE event,
    saving it to a class variable and returning it.
    3) When you receive the FlexEvent.UPDATE_COMPLETE event, you
    update the proxy position (that is saved in a class variable) using
    the saved mouseX and mouseY and you remove the listener to the
    event:
    When you drop the proxy, you access the dragged items in :
    event.dragSource.dataForFormat("items")
    Hope this helps, I spent lot of time trying to resolve this
    issue! Now it works perfectly! :-)

  • Problem with drag and drop on Mac

    Hi, when I run my AIR application on Windows, I'm able to do
    the drag and drop.
    But when I run the application on Mac, it gave me an
    allocation error: unable to allocate region of size <random
    number> after I drag and drop thrice.
    Anybody knows what's the reason?

    Pages does not support the Apple font used for color emoji, so that behavior is normal.
    With what app are you reading the yahoo mail?  There is really no guarantee than any other email service will show the special Apple font involved.
    You should have no problem putting emoji directly into Mail or Text edit via drag drop from the Character Viewer as shown below.
    You should also be able to upload graphics here easily by clicking on the camera icon.  My email is tom at bluesky dot org.

  • I can't Drag and drop anything in iMovie11

    My problem is that i cannot drag and drop anything in iMovie 11. Therefore i can't add transitions or anything like that. Please Help.

    If third-party software called "Air Display" or "AirParrot" is installed, remove it according to the developer's instructions, then restart the computer. Back up all data before making any changes.

  • Can't drag and drop attachments into mail fullscreen

    Have a weird issue.  In lion I could drag and drog into a new mail message by dragging the attachment to the hot corner then to the fullscreen mail app then onto the new mail message.
    Now for some reason in Mt. Lion it will no longer do this.
    I can do it when mail is not in full screen mode or if I create a new mail message in another desktop.
    Any suggestions?
    And no I do not have air display on this computer (did do a search before posting)
    Thanks!

    When this happens can you drag and drop regular files and icons etc?
    I did a clean install, setup several user accounts last night. Dragging and dropping was working in my main user account last night. This morning (computer on all night) I could not drag and drop anything in that particular user account including mail attachements. Other accounts worked fine. Thought it was a permissions issue but they were fine.
    Ended up trashing the user account and resetting it up and everything back to normal.

Maybe you are looking for

  • I have Imovie 9.02 installed but it fails to show videoclips and movies in the show window. What can I do to make it function? This functioned in an earlier version.

    In an earlier version of Imovie I was  able to see every clip in the show window. This does not function with my present version. I hava also changed from Mac Book to Mac Book Pro butI cannot se why this should have anything to do with the problem. I

  • Lightbox Gallery Display (InDesign CC)

    I saw a few old posts from 2011 talking about this, but I was wondering if there have been any updates regarding lightbox in InDesign for DPS. Whether I'm doing this for a photo gallery for my portfolio app or within an article, can I have a user tap

  • Does my motherboard support wol

    I am having an hp pavillion dv6580en notebook. As a part of my project i gotto implement Wake-on-lan function . i found that my ethernet card supports this feature and is enabled. But my bios doesnt seem to have this option . Therefore the power to m

  • FC Studio Short Cuts

    Has any one come across an issue where you are working on a project, and you are changing the duration of the clips, and when you right click on the mouse the duration box appears, you enter the new length of the clip and it doesn't change. Also when

  • Urgent help, what do these exceptions mean

    I was wondering what it means exactly when a InternalError(Ex02), VirtualMachineError are thrown. im designing a programme which was working fine now suddenly it is throwing those errors, and for the life of me i cant figure out why and what they mea