Drag and Drop in a Creative Suite Extension

Hi,
One of the reports we've had about using the Creative Suite SDK is that native drag and drop doesn't work when dragging from an extension to the host application (for example, dragging an image from an extension to be placed in InDesign).
This is something we're very keen to make as easy as possible, to which end I've posted a write-up on the CS SDK blog of how you can achieve this. It works by using the Flash (rather than Flex) manager for dragging, and you can find more detail and a sample extension here.
Happy coding!
James

James, thanks for the great article!
After implementing all your techniques I have a couple of questions, and it will be cool, if you can find a time to answer just some of them!
1) Is there a way to force a drop? I mean, without mouse, just like copy and paste an object into current host, without dragging it?
2) Is there a universal way for all hosts to catch a moment just before the drop happened? (Harbs suggested to use a before_place event, but as I can see it only works for InDesign).
3) When I dragged an image of BITMAP_FORMAT type, I even was able to drop it to Fireworks - but not into Flash Pro document. Flash just crashes! Is this is a known issue and maybe some workaround exists?
Thank you!

Similar Messages

  • Adobe Creative Suite Extension builder 2 not supported in Flash Builder 4.7 64 bit

    Couldn't find anywhere to submit a bug report so hopefully this is a good place.
    I was able to succesfully download and install the Adobe Creative Suite Extension builder 2 into Flash Builder 4.7 with not problems.
    When I click File -> New -> Creative Suite Exention Project nothing happends. I recieve no error messages just the Project wizard panel that is expected to open doesn't open.
    The extension works as expected when installed into the non-beta Flash Builder 4.6 32 bit verison.
    I suspect there may be an incompatibility when switching to the 64 bit version of Flash Builder.

    Hi everyone,
    The problem is that Flash Builder 4.7 is not compatible with Extension Builder 2. Therefore we have provided Flash Builder 4.6 available for download, see links below.
    We apologise for any inconvenience caused. Please don't hesitate to contact me if you run into further problems.
    Best regards,
    Hallgrimur
    Product Manager - Extension Builder
    Links:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5517(Windows)
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5516(Mac)

  • Illustrator extension - Drag and drop is not working on mac

    During testing my extension on Mac,I noticed that drag and drop doesn't work as expected. Therefore I have created a new simple extension with two lists.
    <s:List id="lst1" label="name" dragEnabled="true">
         <tree>
              <name>a</name>
              <name>b</name>
              <name>c</name>
         </tree>
    </s:List>
    <s:List id="lst2" dropEnabled="true" dragMoveEnabled="true"> </s:List>
    This will allow lst1 items to be dragged and drop in lst2.
    This sample works fine on Windows and on Mac as AIR app  but not working as extension on Illustrator( Not able to drag and drop between list on mac).
    Any help or workaround would be appreciated.

    Thanks for quick reply and help. I am able to drag multiple files but this is giving problem in case of filename with spaces like "abc def.png". Can you please put some thoughts on this.
    DataFlavor uriListFlavor = new DataFlavor("text/uri-list;class=java.lang.String");
                   Reader in = (Reader)t.getTransferData(DataFlavor.plainTextFlavor);
                   BufferedReader br = new BufferedReader(in);
                   String uriStr;
                   while ((uriStr = br.readLine()) != null)
                       URL url = new URL(uriStr);
                       String category = GalleryUtils.contentsPanel.getCurrentCategoryPath();
                       GalleryUtils.generateILPFromFile(new File(url.getFile()), category);
                   }Thanks
    Kanni

  • Drag and Drop for Creative Cloud CS applications

    I just joined Creative Cloud for CS software applicatons; I am already a Muse user - will I need to cancel that use and download Muse again to avoid double payment? Also, I am not able to drag and drop the CS applications at this time - is it not yet available? If not, when will it? Even the Muse app would not drag and drop for download?
    Thank you.

    Are you trying to install the applications my dragging the application icon from the Creative Cloud Apps page at https://creative.adobe.com/apps to your computer? If so that will not work since that is just an image in the web page.
    To install click on the Download (or Try for trial members) link and the Adobe Application Manager (AAM) should download and install. AAM will then handle the installation of the applications.

  • Listening to Drag and Drop event from the extension panel

    How is it possible to detect a drop event from a Layer to a text field in a panel developer using the SDK?
    Drag and drop operation between panel elements are not the issues, but drag and drop from Photoshop and the panel might be an issue.
    Is it possible to implement them?
    If yes, could I be redirected to the documentation topic or can someone post some code snippet ?
    Thanks

    What model of camcorder is your video from and what resolution is it?
    What operating system are you using? Have you ensured that you have the latest version of Quicktime, per the program's requirements?
    Do not convert your video. The program will best with video directly from a camcorder, and converting it may will turn it into a format that it may be LESS likely to work well with.

  • Drag and Drop Pdfs?

    Hi, I used to be able to drag and drop pdfs into my iTouch via iTunes, but now it won't let me do that. Is there anyways I can do this?

    The list of file types supported by drag-and-drop is the same as that supported by the "Create > PDF from file" menu inside Acrobat - for example on Acrobat X Pro Windows, the list is as follows:
    3D files (U3D and PRC)
    AutoCAD (dwg, dwt, dxf, dwf, dst)
    Images (bmp, rle, dib, gif, emf, jpg, png, pcx, tiff)
    JPEG2000 images with any file extension
    Excel (xls, xlsx, xlsm, xlsb)
    Powerpoint (ppt, pptx, pptm)
    Word (doc, docx, rtf, docm)
    MS Publisher (pub)
    Postscript (eps, ps, prn)
    XPS
    Plain text
    HTML
    JDF (jdf, mjd)
    Multimedia (flv, f4v, mp3, swf, any h.264-encoded video)
    Word (.doc and .docx) files are supported, provided you have a copy of MS Office with the PDFMaker plugin installed to handle the conversion.
    Files from Creative Suite (InDesign, Photoshop, etc.) are not supported by Acrobat as they have their own dedicated methods to export to PDF.

  • An mp3 file on my computer will not import to itunes by either the drag-and-drop or the Add File to Library method.  Can't figure out what I'm doing wrong.  My OS is Windows 7.

    I purchased an mp3 from a private website on my laptop.  The itunes library i sync ipod to is on my desktop, so i copied the mp3 onto a flash drive and then into my desktop in the Downloads folder and Desktop folder as well as the itunes music folder, 3 places.  I opened itunes on the desktop and read the instructions for importing music that's already in my computer.  Neither the drag-and-drop or the Add File to Library method works.  I've tried both ways over and over.  Cannot figure out what the problem is.  I do note that the name of the mp3 file doesn't show the .mp3 extension, it appears as simply it's title, Eating Healthy, without any extension at all.  Could the filename be the problem, or do you have any other idea what I'm doing wrong?  My OS is Windows 7, using IE9.  Thanks.
    ADDENDUM AFTER READING ANOTHER DISCUSSION HERE:  I have now tried right clicking the song in Windows Explorer and choosing Open With, clicking itunes.  The mp3 plays in itunes but does not add to the library.

    I don't have a Recently Added playlist.  However, I discovered that the file I had named Eating Healthy was given the name You Can Enjoy Eating Healthy when it copied to iTunes.  I'm guessing iTunes pulled the full name of the piece from the internet.  Upshot--the mp3 did transfer to iTunes on all 3 tries, but I was looking in my alphabetized list under E, not Y, so I didn't see it there.  Thanks for your help. 

  • Drag and Drop Onto a JAR

    I got a great answer from Dr. Clap (for XP) to this question in June.
    However, it doesn't work in NT 4.0. I am looking for a workaround for this OS.
    I have an application that runs out of a JAR file (an editor). I would like to be able to drag and drop a (html) file onto a desktop shortcut for to the jar, and have: 1) javaw run, 2) pass it the jar file to open, and 3) pass the html file to the opened jar for editing.
    What follows below is how to do this in XP (and it works). In NT, if I put this into the shortcut it tells me - when I drag and drop a file onto it - that it can't find the appropriate classes.
    ================================================================
    Look at the association for the JAR extension, you'll find that it uses javaw.exe and the "open" action is mapped to some command line involving javaw.exe and %1 which represents the jar file to be executed. Now, for your extension make a very similar setup, only your "open" command line will look something like this:
    "C:\...\javaw.exe" -jar YourSpecialJar.jar "%1" %*
    That command line runs your jar file and passes the file being "opened" to the command line as the first parameter. (I don't know what the %* does but it's in the command line for the jar extension.)

    I would doubt that it would work differently under NT. I'd assume you just didn't do it right, or this jar's manifest file doesn't include the right jars that it depends upon.

  • I can't get Mozilla Drag and Drop Uploader to work. Suggestions for troubleshooting?

    I have a recurring need to post 100's of photos from "My Pictures" to a web site. I currently click on "Browse", up pops the photo file, and I then must manually select the proper photos and double click them to move them to the web site.
    A colleague who has the same recurring need has told me to download Firefox as my browser, then download and install the "Drag and Drop Uploader". By doing this, I should be able to simply highlight the proper photos from 'My Pictures" and drag them to the correct box on the web site.
    I have seen him do this on his computer, so I know it is possible. I'm guessing the problem I am having lies in having downloaded incompatible versions.
    Help?

    Support for that extension is here: <br />
    http://www.teslacore.it/wiki/index.php?title=DragDropUpload

  • I can't drag and drop iTunes music files into Roxio Jam 6 anymore and, now I have to import music one song at a time by using the " " or "-" buttons on the bottom. What is going on? G5 Dual 2 Ghz and OS 10.4.11

    Hi. I have not used Roxio Jam for quite a long time and I just wanted to make a few CDs. Jam used to work easily and well. I have a problem. I can't drag and drop iTunes music files anymore and, now I have to import music one song at a time by using the "+" or "-" buttons on the bottom. What is going on? I trashed the preferences file and restarted Jam to no avail. I also have selected that Jam should open files with iTunes in the Jam preferences. I have a G5 DP 2Ghz PPC  machine with OS 10.4.11, iTunes 9.2.1 and Quicktime's version is 7.6.4. I have 2 GB of RAM and the machine has dual 1.25 Ghz. processors plus a 500 GB HD. Can anybody give me any suggestions?
    Thanks in advance,
    Larry

    I found an solution.
    Uninstalling AirParrot as well as the two offending AirParrotDriver.kext and APExtFramebuffer.kext files in System>Library>Extensions was the fix. All problems disappeared.

  • I can no longer drag and drop pages into my bookmarks toolbar in the new firefox

    I uninstalled firefox to try google crome. Now i have uninstalled crome, and gone back to firefox. After restarted my computer i put the bookmark toolbar up but i can no longer drag sites into the bar. When i do it opens them in a whole new window.
    When i used this before i would have saved tabs in my bookmarks for easy use,
    Is this a bug or am i doing somthing wrong
    Thanks
    Mandy

    for me the problem was caused by the Torbutton add-on.
    I have read that there are about 5 or 6 other add-ons that also inhibit Drag and Drop functionality, not just the Torbutton add-on. The list is somewhere in the main Firefox support section (but it's tough to find the answer there twice).
    The generic add-on troubleshooting page is at:
    https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes#w_disable-all-extensions

  • I can no longer drag and drop bookmarks

    I have used Firefox for several years and can no longer utilize my bookmarks toolbar. Yes, I know that you must drag and drop from the globe and/or lock icon (I have done this for years) but now all of a sudden it isn't working. I can not drag anything to my "Multirow Bookmarks Toolbar Plus" 1.2" which was updated on 2/27/15. When I attempt to drag a website to add to the toolbar I get a circle with the line through it (kind of like a no smoking sign etc). Any help is greatly appreciated

    Any luck if you keep the Ctrl key pressed when dragging the link to initiate a copy?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Drag and drop does not work in firefox 3

    Does anybody has the same issue with firefox when you add a layout to the oracle composer and you want to drag and drop some components that it just does not work...
    When i hoover over the title bar of a component i see the cross icon but the drag & drop does not work. WHen i do the same in IE8 or google chrome, it does work.
    I have this issue for both oracle composer stuff as for sites i build in webcenter spaces.
    We are working with the latest version of webcenter

    WebCenter is compatible with:
    * Firefox 2 & 3
    * Internet Exploirer 7 and 8
    * Safari 3.0
    It might be caused by a firefox extension in your browser.

  • Cannot drag-and-drop copy a section in thumbnail view in new Pages?

    Just like in PREVIEW of a multi-page PDF, I used to be able to press OPTION+LEFT CLICK then drag that section down to copy it. Now that feature seems to be gone? I hope this is an error!
    This is a very helpful feature I hope you bring back or perhaps tell me the new way to do this!? For documents with extensive, complex content (text, graphics, photos) I made lots of sections. This way I could drag and drop copies of things I wanted to re-use.

    Apple has removed over 90 features from Pages 5.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5 and rate/review it in the App Store, then get back to work.
    Peter

  • Drag and Drop only partly functions in OSX Yosemite

    I recently updated my Macbook Pro to OSX Yosemite and noticed a few weeks after the update, that Drag and Drop stopped working properly roughly 30mins after starting the MB. Drag and Drop still works in the Finder for dragging files, or ein Chrome for dragging a tab into a diferent window. But dragging files and programs into the Dock is impossible. the problem occurs in other programs such as MS Office, for changing the order of pages in a presentation, or in Itunes for dragging Albums into Playlists for example. Restarting helps, but only for the first moments after the start. I found in a different Discussion that deleting a Cache file from the Library (/Users/USERNAME/Library/Preferences/com.apple.finder.plist) didnt help (Link to the Discussion: Cannot drag and drop files in Finder on Yosemite 10.10
    Thanks for your time in advance and i hope someone finds a solution as I dont want to reinstall the whole OSX

    Backgorund:
    Drag-drop suddenly stops working.
    Temporary solutions:
    4-5 reboots
    Removing com.apple.finder.plist file
    Have not tried:
    Reinstall Yosemite
    What I found out:
    For me, I found out that it's not only about drag/drop - it's about the clipboard. As far as copy/paste went, "nothing" work anymore. Not drag and drop, not cmd+c, not Edit > Copy. I started experience the issue just yesterday I think - it came out of the blue.
    However, a week ago I created an Automator scripts that review folder X for extension Y and then moves the file of said extension into a separate folder. Essentially, it's a cut and paste job that Automator does all the time.
    Soluton:
    Removed the Automator workflow i created from /users/username/library/workflows. Rebooted computer. Drag/drop and copy/paste has been working for over an hour.

Maybe you are looking for