Using AIR for desktop

is drag'n'drop from system and back possible?
i would like to build an air desktop drop zone area.
it would be cool when i can use flex for building desktop gadgets.
last time i checked it was not possible to drop content to air at all.
hence a cs4 floating icon which offers all programs as icons for opening a file on mouse move over.

Here is information on building Flex-based applications that use drag-and-drop functionality:
http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7e8a. html
http://www.adobe.com/devnet/air/flex/quickstart/scrappy_copy_paste.html
And here is information on processing arguments passed into an AIR application when it is invoked:
http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5d46-8000. html

Similar Messages

  • I have flash professional cc and I need air for desktop application with .exe or .air that should contain all swf's and captive air runtime in one Installer only . I don't want to install separate adobe air runtime .

    I need Air for desktop application either in .exe or in .air with embedded captive runtime just like .apk . I don't want to install adobe air separate . everything should come in installer
    I have adobe flash professional cc development tool , let me know whether I have to go with other development tool???
    your reply will  increase my confidential level
    please anyone can help me to solve this problem
    Thanks&regards
    Niranjan

    Adobe Flash Professional CC manual
    1) Create new project
    2) Configure your Project properties
    3) Embed runtime, so you users can use Adobe AIR without pre-installed Adobe AIR runtime
    4) After publishing you will receive %APP_NAME%.app folder that contain your project files

  • Using AIR for all application.

    Hi to all!
    In this days i'm trying to use Adobe AIR with FLEX to build
    RIA on Desktop and other application (like company managment and
    other:) In past i used VB .NET, C++, C#, and JAVA. I know that this
    are the language for "antonomasia" to build company managment
    software, but for you, what is the negative aspect to use AIR in
    Desktop application? For example:
    - Performane? (Database handling is not optimal, or other
    issue....)
    - Using AIR interpreters means up RAM and CPU usage, or
    others?
    - Other..
    Thanks boys!

    Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.

  • Worst performance of AIR for Desktop on PC

    Hi,
    I've been using AIR for mostly developing Android projects for my clients recently. And so far it's been pretty good for that.
    I have noticed before and specifically with my current project, which is also simple branded Android app for a client, the performence of AIR on Desktop is worst of all my Android devices. When testing the app on PC, (ctrl + enter in Flash Pro) when simple animations starts, AIR takes 100% CPU on all cores on my i5 Dell with Intel HD4000 and Nvidia GF630M.
    I was expecting it to run supper smooth on PC, while surprisingly, the app performs smooth on almost 3 years old Samsung Galaxy S2, then Galaxy Tab2, then chinese tab, and lastly comes PC, performace wise. For mobile, I have set the app to use GPU, and while testing on PC, I have tried all the "Render mode" options, but performance is exactly same.
    I am not using Stage3D/Starling. It's just classic Flash, with timeline animations, and AS3 document class to make it all interactive.
    Is it a must to use Stage3D/Starling combo to get same performance as on mobile, even for classic timeline style apps?
    I thought Flash was getting improved on PC the most, but it feels like other way around :/
    // chall3ng3r //

    Yes, I have tried debug and regular test, no diffirence.
    I have noticed that as three timeline animations stop one by one (they are not too big graphically, it's just a slot machine app), performance gets better. But, still not compareable to GSG2. I'm not using any filters, I did applied the motion-blur in Photoshop in alternate gfx, and just use that when in running state.
    Edit: also, i've tried with latest beta build, and latest release build. it's same.
    // chall3ng3r //

  • AIR for desktop and TouchEvents

    Building a kiosk application that only requires button press and button drag(scroller) detection.
    I DON'T need multitouch, or gesture recognition.
    Will I still need to substitute any MouseEvents for TouchEvents?

    Hi jbach...
    In AIR for desktop, you can definitely load external swfs and they can contain code (works on Android also).
    There's a in-depth discussion of how to accomplish this here:
    http://blogs.adobe.com/cantrell/archives/2010/03/extending_air_applications_with_plugins.h tml
    This article talks about security considerations, etc - and is worth understanding.
    However, if you want to just test it out without worrying about security:
    var stream:FileStream = new FileStream();  
    stream.open(_file, FileMode.READ);
    var bytes:ByteArray = new ByteArray();
    stream.readBytes(bytes);
    stream.close();
    var context:LoaderContext = new LoaderContext();
    context.allowCodeImport = true;
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadHandler);
    loader.loadBytes(bytes, context);
    function loadHandler(e:Event):void
    _content = DisplayObject(e.target.content);
    So basically:
    Read the file as a byte array.
    Create a loader context and set allowCodeImport to true.
    Create a loader and use loadBytes to "convert" to a useable swf.
    On complete, e.target.content contains your swf (fully accessible with code, etc.)
    Hope this helps!  Good luck with your application.

  • AIR for desktop and multiple swfs

    I know when packaging AIR for mobile devices, you can load external swfs as long as they contain no code, but I was wondering if the same limitation exists for AIR on the desktop.
    Building a kiosk application and would like to organize and load the various 'views' similar to how I would create and organize a flash based web application.

    Hi jbach...
    In AIR for desktop, you can definitely load external swfs and they can contain code (works on Android also).
    There's a in-depth discussion of how to accomplish this here:
    http://blogs.adobe.com/cantrell/archives/2010/03/extending_air_applications_with_plugins.h tml
    This article talks about security considerations, etc - and is worth understanding.
    However, if you want to just test it out without worrying about security:
    var stream:FileStream = new FileStream();  
    stream.open(_file, FileMode.READ);
    var bytes:ByteArray = new ByteArray();
    stream.readBytes(bytes);
    stream.close();
    var context:LoaderContext = new LoaderContext();
    context.allowCodeImport = true;
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadHandler);
    loader.loadBytes(bytes, context);
    function loadHandler(e:Event):void
    _content = DisplayObject(e.target.content);
    So basically:
    Read the file as a byte array.
    Create a loader context and set allowCodeImport to true.
    Create a loader and use loadBytes to "convert" to a useable swf.
    On complete, e.target.content contains your swf (fully accessible with code, etc.)
    Hope this helps!  Good luck with your application.

  • How to embed and launch ipa file from another ipa package created using Air for iOS

    Hi Guys,
    Anybody out there knowing how to embed and launch ipa file from another ipa package created using Air for iOS ?
    I am having 1 ipa file created using Xcode, Now i need to include that file in my ipa Package which is created using Flash CS 5.5 and Air for iOS. Also i need to know how to open my 1st ipa file from AS3 ?
    Thanks,

    Hi Sir,
    Thanks for your reply.
    But in that case user need to download 2 applications right. I need user to download my parent application created using Flash and that package contain one more ipa created using Xcode, so from my parent app only user should able to open my 2nd app. Is there any way to do that?
    Ps:  I am not talking about in-app but 2 individual apps inside one package.

  • Flash CC Publish Air for Desktop for Windows from a Mac?

    I've been trying to figure out how to publish my game for windows and it is driving me nuts. On the adobe help page it says there should be a checkbox right below the "output as" boxes. It should say "Windows InstallerSelect this option to compile a native, platform specific Windows installer (.exe) instead of a platform-independent AIR installer (.air)." On my publish settings however, this is missing. Does anyone know how I can publish a windows .exe from Flash CC on my mac?

    Hi,
    Air for Desktop settings are platfrom specific , you couldn't publish the Windows.exe from MAC , you can publish the windows installer from windows machine .
    Thanks!

  • Workers in AIR for desktop

    My question here specific to AIR apps for desktop, not for the web. I have Flex 4.6 and AIR 3.5. I've beed Googling for days with no joy.
    There are no code errors but does anyone know where and how to initialize workers in the main mxml file or hat appliaction handler should be used to get the worker thread to set the mainToWorker and workerToMain MessageChannel's, as there is no class initializer like there is in web flex projects.
    if(Worker.current.isPrimordial){
                                                      worker = WorkerDomain.current.createWorker(this.loaderInfo.bytes);
                                                      mainToWorker = Worker.current.createMessageChannel(worker);
                                                      workerToMain = worker.createMessageChannel(Worker.current);
                                                      worker.setSharedProperty("mainToWorker", mainToWorker);
                                                      worker.setSharedProperty("workerToMain", workerToMain);
                                                      workerToMain.addEventListener(Event.CHANNEL_MESSAGE, onWorkerToMain);
                                                      worker.start();
                                            }else{
         // if in worker thread
                                                      mainToWorker = Worker.current.getSharedProperty("mainToWorker");
                                                      workerToMain = Worker.current.getSharedProperty("workerToMain");
                                                      mainToWorker.addEventListener(Event.CHANNEL_MESSAGE, onMainToWorker);
    Cheers,
    Nige

    1.Make sure you understand the big differences between video and stagevideo, its tempting to think that stagevideo is the better videosoultion in any case, but its not.
    The best Article (however a little outdated) on the subject is imo: http://www.adobe.com/devnet/flashplayer/articles/stage_video.html
    2.In a performance heavy environment the combination stageVideo+greensock might not be the optimal solution, if you have time to reprogram Starling/feathers will probably give you a much better performing combination:
    http://forum.starling-framework.org/topic/stagevideo-with-starling-example
    3.I don`t know how you encode your Backgroundvideo, there are literally dozens of viable codecs that should differ extremly in how they stress the gpu/cpu. Maybe you have to experiment with a lower than HD resoultion and see if scaling up the background is a good compromise.

  • Using AIR for a modern HTML5 app

    Hello
    We're in the process of planning out an app that would end up being a 'packaged' app that can run on mobile (iOS + Android) and desktop (Mac and Windows).
    HTML5/CSS/Javascript is our natural choice for developing a responsive UI that looks good on the various screens, in portrait and landscape.
    I'm aware of tools like PhoneGap that can help package an HTML5 app for mobile devices, but what about desktop?
    My concerns are that the WebKit engine used by the AIR compiler is not up to date enough to handle a modern app that requires:
    - Responsive  framework such as Bootstrap, that uses more recent HTML tags and CSS attributes
    - Video playback with controls
    Perhaps StageWebView would be the way to go in this regards, but I don't know enough about the limitations. I'm just looking for basic confirmation that AIR could be used in my situation. If not I'd be interested in hearing ideas for other HTML5 desktop app packagers. Thanks!

    You can pass a Boolean to the constructor of the StageWebView class where you can tell AIR to either use the webkit which is embedded in AIR [new StageWebView(false)] or make use of the webkit which is system's default [new StageWebView(true)].
    Using "true" for the constructor I have so far not encountered any problems in displaying complex HTML(5)/CSS/JavaScript content within the StageWebView.
    Please bear in mind that this is an opinion based answer.

  • How can I use addons for desktop firefox on mobile firefox?

    Hi,
    there are several addons for desktop firefox that I would like to use with my mobile firefox (android 4). Is it possible to make them compatible for mobile firefox?
    Thanks for help!
    XenonX3

    Hi XenonX3,
    I'm afraid not. Add-ons for mobile firefox are different because the browser itself is very different.
    There is information on firefox mobile development here: [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/tutorials/mobile.html]

  • Cannot use photos for desktop

    I opened the computer this morning and my desktop picture disappeared and a colored  screen appeared. I am worried if my iMac is going nuts bought on 2007 and using still Snow Leopard even if no updates. Have to wait to buy  new Mac when finances allows !
    I tried to change photo using preferences screen desktop etc but most of photo I have in iphoto doesn't' work and before no problems. I went to iphot and also many photsI cannot opened them an question mark appears. I was scared something wrong going to happen to my old Mac. I repaired permission verify disk all ok. But problem still there.
    Any help for this issue
    Thanks and Happy New Year to all

    Ferro wrote:
    What does it  mean this type of error, is there an explanation according to type of error ?
    You can have an idea about the meaning of the AHT (Apple Hardware Test) code error reading this article.
    4MOT is related to an issue to the fan motor, presumably the HDD fan.
    Anyway if you want to be sure, please contact an authorized Apple Repair Service near you, and have a quote for the repair cost.
    Then you can decide whether to buy a new iMac or repair the one you have.

  • AIR for Desktop – Video 'wall' using 'virtual' tiles

    Creating a huges video wall- 10x6 ft  which is actually 1 large screen and will display a variety of video, pictures and text content. I want to break up the screen using 'virtual' tiles. A variety of approaches will be taken to create transitions, 3d rotation effects, ripple effects etc.
    I know I will make ample use of Bitmapdata, rednering my video(s) and loaded images off stage and probably copyPixel or drawRect  methods to render my main canvas.
    What are some other 'best pratices' I should keep in mind to optimize performance and playback?
    What are some general guidelines for video encoding if all video content will be prerendered and played back locally?

    1.Make sure you understand the big differences between video and stagevideo, its tempting to think that stagevideo is the better videosoultion in any case, but its not.
    The best Article (however a little outdated) on the subject is imo: http://www.adobe.com/devnet/flashplayer/articles/stage_video.html
    2.In a performance heavy environment the combination stageVideo+greensock might not be the optimal solution, if you have time to reprogram Starling/feathers will probably give you a much better performing combination:
    http://forum.starling-framework.org/topic/stagevideo-with-starling-example
    3.I don`t know how you encode your Backgroundvideo, there are literally dozens of viable codecs that should differ extremly in how they stress the gpu/cpu. Maybe you have to experiment with a lower than HD resoultion and see if scaling up the background is a good compromise.

  • Will there be future support from Adobe AIR for Desktop native Applications

    We have a desktop native application developed using Flex SDK 4.1 and running on Adobe AIR. Now as Adobe has donated Flex SDk to Apache we are concerned about the future of this application. If we rescale our application with new versions of Flex SDk released by Apache, in future will the new versions of Adobe AIR support it? As I have read in Adobe Forums that Adobe is more concentrated on providing HTML5 support in Adobe AIR, and not working for Flex support anymore, can we face any problems going forward with this combination?

    We have a desktop native application developed using Flex SDK 4.1 and running on Adobe AIR. Now as Adobe has donated Flex SDk to Apache we are concerned about the future of this application. If we rescale our application with new versions of Flex SDk released by Apache, in future will the new versions of Adobe AIR support it? As I have read in Adobe Forums that Adobe is more concentrated on providing HTML5 support in Adobe AIR, and not working for Flex support anymore, can we face any problems going forward with this combination?

  • Flash Professional Help | Publishing for Adobe AIR for desktop

    This question was posted in response to the following article: http://helpx.adobe.com/flash/using/publishing-adobe-air-desktop.html

    This page is extremely helpful. Thank you!
    With the help of this page, I've managed to figure out how to do most of what I need to do, however, I'm having troubles creating a Mac and Linux installer for my application. So far, I have only been able to create a Windows installer (.exe). In the "general" tab, the only options I have in "output as" are "AIR package", "Windows Installer" and "Application with runtime embedded".
    I am using Adobe Flash Professional CS 6 and am using a Windows 7 computer.
    Thanks in advance.

Maybe you are looking for

  • My iphone isn't being detected by my laptop

    I have been trying to sync my iPhone with itunes and it wasn't working and then I noticed that my computer isn't even picking it up. I have changed cords and usb ports, I have restarted and looked for updates for everything and it still won't pick up

  • Email config in SOST

    Hi, I am getting this error for the email configuration Cannot process message, no route from XIAFUSER to [email protected] plz help me how to solve this issue Thanks sneha

  • How can I share apps between i pads?

    I am new to the I Pad.....how can I share apps which with my other I Pad or I Pod?

  • Error with "Replace wtih After Effects Comp"

    When I use "Replace with After Effects Comp" on a clip in Premier CS5 (Mac), it sends the clip properly, I make my effect in AE (stabilize motion), save, then go back to premier and there is not change to the clip in premier (the change was clear and

  • Need Help in JTable setValueAt method()

    hi to all i am new to this forum. i am trying to create user creation using JTable Here my code import javax.swing.table.*; import java.awt.*; import java.util.*; import javax.swing.*; import javax.swing.event.TableModelEvent; import java.awt.event.*