Can you Drag and Drop to open Files

Hello All,
I am trying to make a desktop app using AIR with Flash Pro CS5.5. I was wondering if it was possible to have the app open files by dropping them onto the app's icon in the browser of the OS.
For example, let's say I want to create a photo viewer app for Windows. I would like to be able to highlight a couple of JPGs, drag them over my app's icon and 'drop' them into the program. This will open the app and it will show me the selected JPGs in a slide show.
If this is not possible, then is it possible to have the app already open and drag the JPGs on the the open window for the same effect?
I have read the FileReference and File classes documentation but it doesn't quite answer my question. Also, searches on Google as well as here don't seem to be leading me to the answer. I've tried "open file using drag and drop" and "pass a file as a parameter to AIR app" etc,  but the queries don't lead me to relevant information.
Any help is appreciated,
Thanks in advance.

If you have an opened application you can drag and drop multiple images and these displays you (getting the path of the images and load with Loaders) this because I have done, but I'm not sure dragging over the icon works, maybe. 

Similar Messages

  • 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.

  • Images load funny, videos don't sync if on another tab, and I can't drag and drop Google Drive files.

    I've always used Firefox, but the past couple months things have started getting a bit screwy and I am not sure why as, to my knowledge, I haven't installed anything new. I first noticed it with images on webpages. If they load while I'm on another tab, when I switch back it's a white block until I scroll up or down (so the image is off the visible screen) and then when I scroll back to the image it's there. Videos also won't sync right if I switch to another tab while it's loading. I actually have to refresh the page and wait on that webpage in order for it to work. The nail in the coffin for me, though, is that I can no longer 'drag and drop' files to collections in Google Drive. I was always able to do this - and I can do it in other browsers like Chrome - but now not in Firefox. I'd hate to switch browsers, but these things are really irking me.

    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!

  • I can't drag and drop or select file to send in just installed "Adobe send"

    Just installed Adobe send and I can not add files from my desktop to send, I drag and drop but the folders do not load.

    What exactly did you install?  Adobe Send is an online service https://new.acrobat.com/en_us/products/adobesend.html not an installed app.

  • Can you drag-and-drop music onto the iPhone in iTunes?

    New to iPhone and only just braking it in, as it were.
    It looks like the only way I can upload music onto my iPhone is via synching my entire library onto it. Which, if I may say so, is an incredibly stupid and debilitating design - amongst other severe shortcomings of the iPhone I am slowly discovering over time. Is it not possible to drag-and-drop like the good old iPods?
    If this is indeed the only way to load music, what's the easiest I can pick out my favorite 2000-or so tunes and put them on there?? Don't tell me it's clicking on the boxes next to the songs in the Library page, because that's when I will start asking for my money back...
    Cheers

    I don't blame this person whatsoever for making the assumption that the iPod portion of his phone would work similarily, if not the same, as the iPod.
    But it does work the same as the iPod. As with an iPod, you can sync all songs and playlists, or selected playlists, or you can manually manage music and videos. You can also select sync only checked songs and videos under the Summary tab and uncheck the songs in your iTunes library that you don't want transferred to your iPhone. This can be used with syncing selected playlists - if you want to remove a song from your iPhone that is in a selected playlist without removing the song from the playlist in iTunes, you uncheck the song in the playlist in iTunes followed by a sync. There is no difference with an iPod in this regard except for the iPhone not supporting disk mode.
    In order to manually manage music and videos with an iPod, you must select this under the Summary tab for the iPod sync preferences, and the same for the iPhone.
    And if you resent his rant, why respond and waste your volunteer time on this post?
    I can waste my time anyway I see fit. If you don't like it, don't respond.
    And not everyone can afford to replace this type of investment on a whim.
    Copied from the OP's post.
    Don't tell me it's clicking on the boxes next to the songs in the Library page, *because that's when I will start asking for my money back...*
    Or the iPhone can be sold to someone else with the proceeds used to purchase a different phone. I haven't read any reports about someone having trouble selling their iPhone used at a good price even if damaged.

  • Can you drag and drop contacts into Pages template?

    Older versions of Pages allowed you to drag and drop contact information to a document or template, Can this still be done in newer versions? If so, how?

    No.
    Someone has created an AppleScript to merge your addresses however.
    Why not just use Pages '09?
    Peter

  • Can you drag and drop programs from 1 computer to the other??

    I have finalcut studio on my dual gig g4 but now I want to work off my laptop and sell the dual gig g4. Only problem is that I have my finalcut studio disks buried in a big stack of boxes in preparation for a move. Is there a way I can transfer the programs to my laptop without haveing to dig in all these boxes for the install disks?
    Thanks

    You do not want to drag and drop - it does copy the program, sure. But it does not bring over over ALL the necessary components and frameworks needed to run. So it no worky.
    Solution - clone off the whole OS, programs, et al to an ext fw drive and boot off that.
    You'll want a pcmcia adapter to give you 2 buses so that one fw disc can hold the media and the other fw disc to hook into the built in bus.
    For the OS fw disc you'll find that using the fw 400 port is fine.

  • Can you drag and drop within the same list*?

    *without completely strange things happening?
    It seems like this ought to be fairly straight forward. This
    code is taken from the Flex 2 Component Explorer and I've just
    added a few Drag and Drop parameters to the list. It doesn't quite
    work. The items are duplicated, not selected, selectable. The
    behavior is a bit erratic.
    It seems very natural to want to be able to re-order a list
    using drag and drop so it seems like it should be easy. Obviously,
    I could create a second, empty list--but that would take up
    valuable screen real estate. I've seen a few posts about this and
    none of them were answered so either the solution is obvious
    (please share) or it's impossible (please share).
    Cheers,
    Steve
    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the List Control -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var selectedItem:Object;
    ]]>
    </mx:Script>
    <mx:Model id="mystates">
    <states>
    <state label="Alabama" data="AL"/>
    <state label="Alaska" data="AK"/>
    <state label="Arizona" data="AZ"/>
    <state label="Arkansas" data="AR"/>
    <state label="California" data="CA"/>
    <state label="Colorado" data="CO"/>
    <state label="Connecticut" data="CT"/>
    </states>
    </mx:Model>
    <mx:Panel title="List Control Example" height="75%"
    width="75%"
    paddingTop="10" paddingBottom="10" paddingLeft="10"
    paddingRight="10">
    <mx:Label text="Select a state to see its
    abbreviation."/>
    <mx:List id="source" width="100%" color="blue"
    dataProvider="{mystates.state}"
    change="this.selectedItem=List(event.target).selectedItem"
    dragEnabled="true"
    dropEnabled="true"
    dragMoveEnabled="true"/>
    <mx:VBox width="100%">
    <mx:Label text="Selected State:
    {selectedItem.label}"/>
    <mx:Label text="State abbreviation:
    {selectedItem.data}"/>
    </mx:VBox>
    </mx:Panel>
    </mx:Application>

    The answer is, yes you can. However, I'm not sure why this
    makes a difference.
    I added creationComplete="init();" to the application tag.
    <em>Removed the model</em> and implemented this method:
    public function init(): void {
    source.dataProvider = [
    {label: "Alabama", data: "AL"},
    {label: "Alaska", data: "AK"},
    {label: "Arizona", data: "AZ"},
    {label: "California", data: "CA"},
    {label: "Colorado", data: "CO"},
    {label: "Connecticut", data: "CT"}
    and removed the dataProvider attribute from the List tag.
    Can anyone tell me why the one works and the other
    doesn't?

  • Can't load my ipod nano from itunes on a mac; that is, I can't drag and drop an mp3 file (of a speech) from iTunes to my iPod--though the iPod shows up on iTunes. My nano is the brand new touch screen.

    I received the new iPod Nano with the touch screen for Christmas. I have a MacBook Pro running OS 10.5.8. I have iTunes 10 on my system. I cannot drag and drop MP3 files from iTunes to my iPod--though it appears that iTunes recognizes my iPod--it shows up on the Devices menu on the left side of iTunes. My wife--a long-time Mac user--kidded me that I didn't know what I was doing, Then she tried to load my iPod and failed as well. Any suggestions?

    Is the Manually manage music and videos option enabled from under the iPod's Summary tab in iTunes?
    B-rock

  • Can you drag and drop MTS files into Final Cut Pro X 10.0.6?

    Just a simple question.. If not and i have to import, Ill just go back to After Effects

    Go back to After Effects.

  • Can you drag and drop folder names into Photos like iPhoto?

    I use to be able to drag folder of pictures into the sidebar of iPhoto and it would import the photos and put them in a folder with the exact name as the folder on my desktop. Photos does not seem to have th same feature. Does anyone know if this should be working?

    No because there are no Events in Photos.  A folder of images can be added to an album already in Photos.  But the photos will be located in the Moments that represent the date each photo was taken. 
    If you import a folder into Photos you can go to the Last Import smart album, select all of the photos there and create a new album with them in it.
    Moments in Photos are the new Events, i.e. groupings of photos sorted by date taken.
    When the iPhoto Library was first migrated to Photos there was a folder created in the sidebar titled iPhoto Events and all migrated iPhoto Events (which are now Moments) are represented by an album in that folder. To open the sidebar if it's not already open use the Option+Command+S key combination.
    There's a way to simulate events in Photos.
    When new photos are imported into the Photos library go to the Last Import smart album, select all the photos and use the File ➙ New Album menu option or use the key combination Command+N.  Name it as desired.  It will appear just above the iPhoto Events folder where you can drag it into the iPhoto Events folder
    When you click on the iPhoto Events folder you'll get a simulated iPhoto Events window.
    The downside to the simulation is that the Albums/Events can only be sorted automatically by Title. But they can also be sorted manually, either in the sidebar or in the folder's window at the right.
    Ask Apple for more sorting options in Photos and any missing features you'd like to see restored via https://www.apple.com/feedback/photos.html.

  • Can't drag and drop to certain files

    Since switching to a new computer and downloading the software again, I cannot update my nano. Even when I purchase new songs, I cannot drag them into folders on my nano. Is there something that I have forgotten to do?
    Thanks
    Southland
    Dell   Windows XP  

    How is the new drive formatted?
    Did you reformat as GUID Partiton Map and Mac OS extended (journalled) file system?
    I ask because that file size limit is somewhere close to that for a FAT 32 volume.

  • Can't drag and drop files

    All of a sudden, my icons on my desktop won't let me drag and drop them. Also can't drag and drop
    images into files. Help!!!

    You posted in the iMac forum, but only show an iPad in your profile.
    Please post back with which model of iMac, which OS version, and which applications you are trying to do this with.

  • I can't drag and drop or add to library for dvd's that I converted with Bootstrap VideoWizard All-in-one app.  hep!

    i purchased Bootstrap VideoWizard all-in-one edition and converted my homemade Dvds, but I can't drag and drop the converted files into iTunes or use iTunes file - add to library to add them to iTunes so I can sync them onto my iPad 1.  What am I doing wrong?  The bootstrap website wasn't any help.

    Yes, that appears how Mavericks works right now. However, you can open the Address Panel, select all your contacts, then click the To (or CC, or Bcc) buttons to move the selection to the address field.
    If it is not already in the Toolbar, right-click on the Toolbar and select Customize Toolbar…
    Then, drag the address panel up to wherever you want it.
    You may also want to add it to the New Message window in the same way.

  • 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

  • Use existing apple ID without credit card

    I have created a new apple ID yesterday without a creditcard, but when I try to sign in from my iphone it gave me this note "This apple ID has not yet been used in the iThunes store" and when I click the review tab after 2 steps it askes me to type c

  • Should I buy the old MacBook Pro(non-Retina)

    I want to buy a new MacBook but very confused with which model to buy. I was very keen on MacBook Pro (non-retina) because of it good specs and the flexibility it provides for hardware upgrades. But with the launch of new MacBook Pro Retina models, I

  • Creating an Oracle user on a development instance

    Hi, Oracle 11.2.0.2 I have been asked to improve the spped of our extract feeds to another team. It was usiing an excel file as csv created with C# reading the csv into a global temporary table and a procedure to insert rows from global table to main

  • Clear Customer Through FBCJ

    Hi. I received a payment from a customer and I post it in transaction FBCJ. Is it possible to clear the customer in FBCJ automatically as in transaction F-28? Thanks

  • How to set single parameters for two tables?

    SELECT GM.GRNNO,GM.GRNDATE,SUM(GS.APPROVED),SM.ISSUENO,SM.ISSUEDATE,GS.ITEMCODE,SUM(SS.ISSUEDQTY) FROM IMS_GRNM GM,IMS_GRNS GS, IMS_ISSUEM SM, IMS_ISSUES SS WHERE GM.GRNMSERIAL=GS.GRNSSERIAL AND SM.ISSUEMSERIAL=SS.ISSUESSERIAL AND GM.POSTED='T' AND S