Drag from AIR app to folder

Hello,
can someone show me a simple example how to drag a file from an AIR desktop app to a folder?
What I'do like to archive is to let users draw inside a movieclip and onced finished they should be able to drag and save their image to a folder as a .JPG
Is that possible?
Thanks!

Joe,
That's what I was afraid of. Thanks for the help. I guess I'll start on a workaround.
-Matt

Similar Messages

  • AIR Native Drag & Drop -- AIR app to Desktop

    Hello,
    I am trying to figure out how to drag from AIR app to
    dektop/MSWord. I found lots of sample for desktop to AIR app, but
    not vice versa.
    Is there any samples that I can have? How can I drag texts in
    a text area to desktop/MSWord?
    Thank you!!

    Thanks for your answer.
    i already tried something like this, but i still have
    problems with getting the newly created entity dragged. how can I
    position the new entity from my air app directly under the mouse
    cursor? so far i didn't find any screen mouse position functions or
    properties. If I use a fullscreen, always on top window with mostly
    transparent parts, I can't capture the mouse position using
    MOUSE_MOVE all the time. Besides, how can I change the focus from
    my browser to my air app? I already tried calling
    nativeWindow.orderToFront() and nativeWindow.activate(), but the
    focus doesn't change when I click the entity in my flash page.
    Maybe somebody knows an answer to this ...

  • Output xml file from data in a drag/drop AIR app.

    I am interested in creating a WYSIWYG drag/drop AIR app. in
    which I can drag art and other components, then export the (x,y)
    positions of the components and other info into an xml file. I am
    interested in using .ai files instead of raster based art. Will
    Flex/AIR app. support this format? I am just starting to work with
    Flash, Flex, etc. Is this way over my head? Possible?
    Thanks,
    Nate

    I don't think you can manipulate .ai files in Flex /
    AIR.

  • Launch apple store from AIR app (IOS)

    Hi,
    How I could launch the apple store from my flex AIR app? I need the tipical "go to app store" button...
    Thanks!
    Jorge

    You can go to a particular app in the app sotre by using navigateToURL function with the URL of the app as parameter. Please check this post: http://forums.adobe.com/message/4309691 But not sure how to open only the app store.

  • How to launch PDF in Acrobat from AIR app?

    I'm porting an AS3 app to AIR -- one of the requirements is that an external PDF file be launched with Acrobat -
    I know that  AIR can display PDFs internally, but it's too late to change project specs. 
    I was using fscommand and a .bat file (this will be run on Windows), but that won't work under AIR.
    I am currently using navigateToURL() and using the AIR-resolved url -- this opens the PDF in a browser -- I'd like to have it open in Acrobat.
    Thanks for any help -- this is critical to finishing project.

    This won't work on files in the application directory?   It's not working for me --  The PDF is bundled into the AIR app --
    See http://stackoverflow.com/questions/4050898/openwithdefaultapplication-fails-on-files-in-ap plication-folder

  • Parental (style) controls over open browser from Air app

    Hi,
    I've been asked an interesting question for a brief.
    Say you've got an Air app running and you have a browser window open is there any way for the Air app to 'see' what URL you are on.
    It's an app to stop the use of fraudulent web sites, so it would check against a database of flagged fraudulent sites and pop up an alert when the site is used.
    Any ideas?
    Cheers
    Marvin.

    Only if a Flash program in the web page actively sent the URL to the AIR app. I suppose you could also use some kind of browser extension but at that point, why use a separate AIR application?

  • Launch Citrix ICA File or Link from AIR App

    I'm pretty sure that I cannot launch an ICA file on my PC (if
    possible please tell me how) from an AIR application, but I'm not
    quite sure why I cannot consistently launch the http link to the
    ICA file.
    URL is something like this:
    http://123.145.167.189/Domain/site/launch.ica?NFuse_Application=Citrix.MPS.App.LOCATION+DO MAIN+farm.Application+DOMAIN+LOCATION&NFuse_AppFriendlyNameURLENcoded=Application+DOMAIN+L OCATION
    If the web browser is already open to the address(sometimes
    just if the browser is open):
    http://123.145.167.189/Domain/site/default.aspx
    then the ICA file launches correctly. If the web browser is
    closed, then the link to the ICA file simply opens the browser to
    the base page,
    http://123.145.167.189/Domain/site/default.aspx.
    Any ideas?

    Hi,
    As specified by other people here in the forum, it is certainly possible to call a CSH AIR help from any AIR application. Please check the forum post http://forums.adobe.com/message/2272289#2272289
    You need to know your AIR Help application ID, and the publisher ID.
    Application ID is the one which was specified in the AIR SSL dialog in RoboHelp 8 AIR SSL dialog (Help ID).
    The publisher ID for an installed application can be found in the META-INF/AIR/publisherid file within the application install directory. This Publisher ID is generated using the digital certificate provided while generating the AIR Help in AIR SSL dialog.
    Once Application ID, and Publisher ID are known to the developer, he/she can call the AIR help by using the Following Flex code
    private function invocarAirHelp(tema:String):void {
          var appID:String = "abc";
          var pubID:String = "ashfksdhfkjsdfk.1";
          var mgr:ProductManager = new ProductManager("airappinstaller");               
         mgr.launch("-launch " + appID + " " + pubID + " -- -csh mapnumber 1");
    Hope this explanation will help you.
    Thanks
    Praful Jain

  • Invoking other apps with the custom URL schemes from AIR apps ?

    Hi ,
    I want to start(invoke) any non-air application from my Flex application build for ipad . Is there any way(example) for doing such a thing?
    I have defined schema in non air (native)ipad application.
    And I am trying to call  from flex  application as ,
    navigateToURL( new URLRequest("mBoard://"));
    Where mBoard:// is url for other app which is native app.
    Could you share an example of what he has done or refer me to them if it’s possible?
    Thanks and Regards,
    Madhu

    Yes, you need to put several entries into info.plist. Search for "CFBundleURLTypes" in the iPhone OS Programming Guide.

  • Send html email from AIR app

    Hi,
    We've successfully sent plain text email from our AIR application using navigateToUrl and the mailto protocol to launch the user's default email program, but if we try to use html markup in the body it gets sent as plain text.
    Is there any way to send an html email with navigateToUrl, or do we have to use an SMTP mailer? If the latter, is there support in AIR / Flex for SMTP, or do you have to use a 3rd party actionscript library?
    Thanks,
    Greg

    Hi Greg,
    It sounds like your email client is defaulting to plain text, maybe there's an option that would allow you to send emails as html?  Also, is the email body in encoded html?  Not sure how that encoding/decoding would be done using mailto links.
    AIR can do socket communication, so you could directly communicate with an SNTP server.  However you might want to look into third party libraries such as this one, to speed up your development time.
    Chris
    Ps. I don't have any experience with that third party library, maybe someone else with experience doing this could recommend other solutions.

  • Printing HTML from AIR app

    What are the general rules to print an html content from an AIR application to make sure that the printout looks the same as printing it from the browser?
    Thanks

    Hi,
    This link might help you:
      http://dryicons.com/blog/2008/04/26/multiple-page-printing-from-a-html-adobe-air-applicati on/
    Thanks and Regards,
    Kanchan Ladwani | [email protected] | www.infocepts.com

  • Download links from AIR app... ?

    I wanted to let users browse my site as a desktop application,
    but didn't have the time to write an application from scratch. SO tried following trick. Created a simple Adobe AIR application with a single page.  This page redirects to my website and hence loads the website in the AIR window.
    Everything is working fine except that the download links are not  working. The download doesn't start. Nothing happens. What is the  solution here? Any help is appreciated.

    Our application, SocialSafe - www.socialsafe.net, allows you to download your photos to your Mac - from there you can use iTunes to put into your phone - or anywhere else. At V1 you need to read our FAQs to see where we store them; at V2 due for release in Sept 2010 you have an export function to copy them easily to any directory.

  • Drag FROM AIR to desktop

    I am reading about Adobe AIR and is curious if its possible
    to have a list of files in an AIR application and drag one or more
    to the desktop or to another application (word, ps i.e).
    /E

    yes, its possible. Basically you have to set your files into
    a Clipboard object then call NativeDragManager.doDrag with
    them.

  • [Android] Getting onActivityResult and onStart/onPause/.... events from AIR activity [solution]

    Hi,
    I struggled for a while with this issue and finally found a solution. I haven't seen it posted anywhere so I thought I would share it here.
    In ANE extension's native java project, we include runtimeClasses.jar from AIR's lib folder (AIR\lib\android\lib), along with FlashRuntimeExtension.jar. This gives us access to AIR's AndroidActivityWrapper class.
    Since some interfaces in runtimeClasses are defined as protected, we need to make them accessible to our extension. So we create two interfaces in com.adobe.air package namespace:
    ActivityResultCallback.java
    package com.adobe.air;
    import com.adobe.air.AndroidActivityWrapper;
    public abstract interface ActivityResultCallback extends AndroidActivityWrapper.ActivityResultCallback
    StateChangeCallback.java
    package com.adobe.air;
    import com.adobe.air.AndroidActivityWrapper;
    public abstract interface StateChangeCallback extends AndroidActivityWrapper.StateChangeCallback
    We can now register some callbacks in our extension:
    ExtensionContext.java
    package com.company.extension;
    import java.util.HashMap;
    import java.util.Map;
    import android.content.Intent;
    import android.content.res.Configuration;
    import com.adobe.air.ActivityResultCallback;
    import com.adobe.air.AndroidActivityWrapper;
    import com.adobe.air.AndroidActivityWrapper.ActivityState;
    import com.adobe.air.StateChangeCallback;
    import com.adobe.fre.FREContext;
    import com.adobe.fre.FREFunction;
    public class ExtensionContext extends FREContext implements ActivityResultCallback, StateChangeCallback
        private AndroidActivityWrapper aaw;
        public ExtensionContext() {
            aaw = AndroidActivityWrapper.GetAndroidActivityWrapper();
            aaw.addActivityResultListener( this );
            aaw.addActivityStateChangeListner( this );
        @Override
        public void onActivityResult(int requestCode, int resultCode, Intent intent ) {
        @Override
        public void onActivityStateChanged( ActivityState state ) {
            switch ( state ) {
                case STARTED:
                case RESTARTED:
                case RESUMED:
                case PAUSED:
                case STOPPED:
                case DESTROYED:
        @Override
        public void onConfigurationChanged(Configuration paramConfiguration) {
        @Override
        public Map<String, FREFunction> getFunctions() {
            Map<String, FREFunction> functionMap = new HashMap<String, FREFunction>();
            return functionMap;
        @Override
        public void dispose() {
            if (aaw!=null) {
                aaw.removeActivityResultListener( this );
                aaw.removeActivityStateChangeListner( this );
                aaw = null;
    I hope this helps anyone.

    Finally I had to remove onActivityOnResult implementation because in FB 4.7 the ANE worked fine on debug but I was not able to get in run on release version . I tried even adding the runtimeClasses.jar manually to the ANE package but it simply did not work. See below error from adb logcat
    I/NativeAlert(14030): initialize
    I/dalvikvm(14030): Failed resolving Lcom/adobe/air/ActivityResultCallback; interface 76 'Lcom/adobe/air/AndroidActivityWrapper$ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/adobe/air/ActivityResultCallback;' failed
    I/dalvikvm(14030): Failed resolving Lcom/delcasda/contactsANEext/selectContacts; interface 75 'Lcom/adobe/air/ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/delcasda/contactsANEext/selectContacts;' failed
    E/dalvikvm(14030): Could not find class 'com.delcasda.contactsANEext.selectContacts', referenced from method com.delcasda.contactsANEext.ContactANEContext.getFunctions
    W/dalvikvm(14030): VFY: unable to resolve new-instance 128 (Lcom/delcasda/contactsANEext/selectContacts;) in Lcom/delcasda/contactsANEext/ContactANEContext;
    D/dalvikvm(14030): VFY: replacing opcode 0x22 at 0x004d
    I/dalvikvm(14030): Failed resolving Lcom/adobe/air/ActivityResultCallback; interface 76 'Lcom/adobe/air/AndroidActivityWrapper$ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/adobe/air/ActivityResultCallback;' failed
    I/dalvikvm(14030): Failed resolving Lcom/delcasda/contactsANEext/selectContacts; interface 75 'Lcom/adobe/air/ActivityResultCallback;'
    W/dalvikvm(14030): Link of class 'Lcom/delcasda/contactsANEext/selectContacts;' failed
    D/dalvikvm(14030): DexOpt: unable to opt direct call 0x01c1 at 0x4f in Lcom/delcasda/contactsANEext/ContactANEContext;.getFunctions
    W/System.err(14030): java.lang.NoClassDefFoundError: com.delcasda.contactsANEext.selectContacts
    W/System.err(14030):    at com.delcasda.contactsANEext.ContactANEContext.getFunctions(ContactANEContext.java:41)
    W/System.err(14030):    at com.adobe.fre.FREContext.VisitFunctions(FREContext.java:134)
    W/System.err(14030):    at com.adobe.air.customHandler.callTimeoutFunction(Native Method)
    W/System.err(14030):    at com.adobe.air.customHandler.callTimeoutFunction(Native Method)
    W/System.err(14030):    at com.adobe.air.customHandler.callTimeoutFunction(Native Method)
    W/System.err(14030):    at com.adobe.air.customHandler.handleMessage(customHandler.java:22)
    W/System.err(14030):    at android.os.Handler.dispatchMessage(Handler.java:99)
    W/System.err(14030):    at android.os.Looper.loop(Looper.java:137)
    W/System.err(14030):    at android.app.ActivityThread.main(ActivityThread.java:5455)
    W/System.err(14030):    at java.lang.reflect.Method.invokeNative(Native Method)
    W/System.err(14030):    at java.lang.reflect.Method.invoke(Method.java:525)
    W/System.err(14030):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
    W/System.err(14030):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
    W/System.err(14030):    at dalvik.system.NativeStart.main(Native Method)

  • Drag&Drop from Browser to AIR App

    Hi there,
    i wonder how it is possible to drag an element from a flash
    page in my browser to an air app on my desktop. i've seen the
    showcase
    of the nickelodeon jigsaw game on adobe.com, but the videos
    looks kind of post-processed.
    do you have any tipps on how to enable flash/AIR
    drag&drop trespassing the browser borders?

    Thanks for your answer.
    i already tried something like this, but i still have
    problems with getting the newly created entity dragged. how can I
    position the new entity from my air app directly under the mouse
    cursor? so far i didn't find any screen mouse position functions or
    properties. If I use a fullscreen, always on top window with mostly
    transparent parts, I can't capture the mouse position using
    MOUSE_MOVE all the time. Besides, how can I change the focus from
    my browser to my air app? I already tried calling
    nativeWindow.orderToFront() and nativeWindow.activate(), but the
    focus doesn't change when I click the entity in my flash page.
    Maybe somebody knows an answer to this ...

  • What is the best and easiest way to upload a big file from an AIR app to a server?

    hello everyone
    i am a self-teach-as-i-go kind on person, and this is my first encounter with uploading to a server, websites and all
    i have written an AIR app in which the user chooses pictures from his/her computer and fills out numerous forms. at the end i want to upload all this data to my server
    currently, all the data folder gets compressed to a single zip file (using noChump zip library). i did this for simplicity reasons (uploading only a single file) - the size is the same. this files can get up to 200mb in size
    as a server, i have one domain I have bought and currently only a small space (1G - basic). I control it using Parallels® Plesk panel (default from the company i bought the domain and space from)
    I have no knowledge other then as3 (thanks, OReilly!), so i thought of something that doesn't require server side scripting.
    after messing around a bit i found the code at this question: http://stackoverflow.com/questions/2285645/flex-crossdomain-xml-file-and-ftp
    (thank you Joshua). please look at that code, basically, it uploads through a socket
    I fixed it up a bit and was able to upload a 64mb zip file to my httpdocs folder in my domain. this included hard coding my username and password
    looking at my site managing panel i see the file created and expanding in size, end at the end i even dowloaded the zip and decompressed it - all well.
    my questions are:
    the upload continued even when i exit my air app! how does this work?
    i cant get progress events to fire (this relates to question 1).
    this domain also holds my web page. is httpdocs the correct folder to put in user data? how do i give each user their own username and password?
    is this the right way to go anyway? remember file sizes could reach 200mb and also, secure transferring is not a must
    hope you guys can make sense in the mess
    cheers
    Saar

    Google search.
    iTunes does not sync with non-Apple devices.

Maybe you are looking for

  • How to rotate a text in the adobe reader for mobile ios ?

    how to rotate a text in the adobe reader for mobile ios ?

  • Frequent static electricity from my iPhone 6

    I kept getting static electricity from my iPhone 6, just holding it on its own (ie not whilst charging the battery) as I type my texts or browsing the Internet. It hasn't got a casing on. Is this normal? It's happening quite frequently, and it's quit

  • Transport BW warehouse management objects

    hi can soem one explain which is the best practise for transporting AWB objects in BW 1. create Single packages to transport AWB objects or 2.create multiple packages to transport AWB objects what are the pros and cons can some one explain?

  • Itunes Not Responding when trying to eject Nano

    Hello. It's my first time to post here. And that's because I've never had any problems before, but that's not the case anymore. I recently upgraded itunes to 7.4.3.1. itunes works just fine until I try to add or remove songs or podcasts on my Nano. W

  • Changing the font color for the complete row based on the Keyfigure Values

    Hi Experts, Can any one help me to find a solution for this?. I have a requirement, in which the Font color for the complete Row needs to be set to RED in Bex Report, when the corresponding Row Keyfigure is more than a particular value. Ex: Notificat