Multi-Touch AIR application in Mac?

Hi, can someone tell me if the multi touch functions work on the Mac? I've read some postings about the multi-touch not working in the browsers on mac but will a stand-alone app run? I haven't seen any recent post with examples? Thank you!

This is exactly the same problem I am having. I'm trying to
load a local xml file from the same directory as the application
(using OS 10.4.11).
I am trying it this way:
var xmlLoader:URLLoader = new URLLoader();
var file:File = flash.filesystem.File.applicationDirectory;
file = file.resolvePath("my.xml");
var xmlPath:URLRequest = new URLRequest(file.url);
try {
xmlLoader.load(xmlPath);
} catch (error:Error) {
trace("Unable to load requested document.");
Works perfectly on Windows but I get the #2032 error on Mac.
Has someone done this successfully with Air (and how)? ;-)

Similar Messages

  • Is it possible to packaging Air application for Mac AppStore with Air 3?

    Is it possible to packaging Air application for Mac AppStore with Air 3 ?

    Anyone from adobe? Anyone?
    Also I was wondering what could prevent the window from going
    away when user uses windows "show desktop" command, or perhaps
    there is a way to restore it right away?
    thanks.

  • CPU/memory usage of AIR application under Mac 10.4.10

    As my AIR application uses a lot of CPU/memory under Mac
    (seems better in Windows), I decide to do some basic testing. I
    create several applications with different level of complexities.
    Below is a table of CPU/memory usage when the application is simply
    sitting there. A brief description of the application can be found
    in the end of each line.
    Here are some results:
    [1] Even for an empty application, CPU usage is not zero
    (most non-AIR application has 0 CPU usage when doing nothing). Also
    the memory usage is huge, comparable to Finder on my computer.
    [2] Empty application has 7 threads running.
    [3] Indetermined progress bar costs a lot of CPU; and I guess
    any other animation costs a lot of CPU too. But if they are
    invisible they are fine.
    [4] running timer costs CPU.
    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE
    VSIZE application
    10093 adl 1.8% 0:01.85 7 100 292 15.0M 13.8M+ 22.8M 444M
    empty
    10094 adl 1.9% 0:01.55 7 100 299 15.2M 14.0M+ 23.1M 444M
    label
    10097 adl 1.9% 0:01.48 7 100 302 15.3M 13.4M 23.7M 445M
    progress bar
    10095 adl 5.7% 0:02.40 7 100 302 15.4M- 13.2M 23.5M 445M
    progress bar (indetermined)
    10125 adl 15.9% 0:03.66 7 100 304 15.7M- 13.4M 23.9M 445M 5
    progress bar (indetermined)
    10126 adl 29.7% 0:10.39 7 100 325 16.7M+ 13.4M+ 24.9M+ 445M
    10 progress bar (indetermined)
    10128 adl 1.9% 0:01.34 7 100 324 16.1M 13.7M 24.3M 445M 10
    progress bar (indetermined), visible=false
    10136 adl 1.8% 0:00.76 7 100 323 16.5M+ 13.9M+ 24.7M- 450M
    Empty datagrid
    10147 adl 1.9% 0:01.60 7 101 328 16.1M 13.8M+ 24.5M- 447M
    TabNavigator with two empty VBox children
    10138 adl 1.8% 0:01.59 7 100 372 19.4M 13.9M 27.7M 453M
    datagrid with 10000 simple rows
    10131 adl 3.1% 0:02.38 7 110 348 25.7M 19.3M 34.8M 458M 10
    Empty native windows
    10143 adl 1.9% 0:00.99 7 100 296 15.1M 13.9M+ 23.2M- 444M
    Timer, delay = 100ms, calling an empty function
    10145 adl 4.1% 0:02.35 7 100 298 15.0M 14.0M+ 23.2M- 444M
    Timer, delay = 100ms, calling function update label position
    As to my own application, it's much bigger than these simple
    ones. The CPU usually stablizes to 20% and VSIZE is about 1G. There
    is no timer running. When I leave the application open for a few
    hours, the application will eventually freeze and I have to kill
    it.
    I am wondering if there are any articles or documents
    explaining AIR's CPU/memory usage. And also if AIR is planning to
    improve the performance in the next release.

    James, thank you for the very fast answer! I did various tests on the weekend on my computer and computer of my friend.
    And I can say, that Debug flag doesn't affect memory consumption.   They still eat memory. My steps to reproduce are as follows:
    (Windows 7 32 bit)
    Photoshop CS5:
    1) set HKEY_CURRENT_USER\Software\Adobe\CSXS2Preferences\PlayerDebugMode to 0
    2*) check HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\CSXS2Preferences (just in case)
    3) Compile HelloPhotoshop example to ZXP and install via  Extension manager
    4) restart computer
    5) Run Photoshop CS5 - Memory consumption: 100 096 KB
    6) Open HelloPhotoshop and close it 10 times
    7) Memory consumption: 155 840 - 5,574 MB per one close/open
    Maybe a garbage collector is expected to run and free this memory, but it never happened in my case. The memory pool was increasing to 1 GB when I was working with one of my panels - with no documents open in Photoshop
    In InDesign I tried the same thing with HelloInDesign ( I had to close the panel completely and then open with Window | Extensions | HelloInDesign)
    Memory consumption on start: 118 516
    Memory consumption after 10 open/close cycles: 197 516
    It's 7,9 MB per one close/open
    It's the simpliest panel test. When I'm using AIR libraries the memory usage is increasing a lot faster.

  • Multi Window AIR Application - How to Call

    Hi All,
    I am new to Adobe AIR so please forgive my ignorance. I want
    to create a multi-window air flex application. The scenario is like
    I have a window with menu options. When user selects a menu option,
    I have to open another window with corresponding application in it.
    I have created two applications inside a flex project. Each
    application has <mx:WindowedApplication> as its root
    component. My question is how to call the 2nd application from the
    1st one? I tried SWFLoader but does not seem to work. Any help is
    creatly appreciated.

    You only want a single WindowedApplication component in an
    AIR application. For the other windows, use the Window component.
    You can then create this window object in response to the user's
    menu selection. See
    http://www.adobe.com/devnet/air/flex/quickstart/launching_windows.html
    for examples of opening windows.

  • Problem with signing AIR application on Mac

    I have a Code Signing key from Comodo as a P7s file which has been imported into Keychain Access on my Mac.
    Keychain Access lets me export the key to a P12 file but does not give me the option to export the key with the entire chain intact.
    I can successfully identify the exported key but then when I try to export a release build I get the error:
    Error creating AIR file: Unable to build a valid certificate chain for the signer.
    Any suggestions on how to overcome this issue?
    TIA
    David Anson

    I think someone in the AIR forums will have a higher probability of knowing how to do this using Keychain:
    http://forums.adobe.com/community/air
    Thanks,
    Anirudh

  • Impossible to debug AIR Application on Mac OS X Maverick. After several seconds AIR App freezes and Mac OS console displays : adl caught causing excessive wakeups. Can you help on that issue ?

    After launching my app in debug mode, app starts correctly, and after few seconds, apps completely freezes, there is no possibility to pause it, and Mac OS console gives such message :
    06/08/2014 17:27:58,000 kernel[0]: process adl[2941] caught causing excessive wakeups. Observed wakeups rate (per sec): 1278; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45028
    Note that on another mac, i don't have that issue, with the same application.

    After a lot of searches, at least i have an indication. When i set -debug=false, i don't have the issue anymore. But of course, i can't debug my file, so it is not of a great help, but maybe this will lead to an idea to you all..
    Note that Apple support was indicating me that by creating a new user account on my Mac i could have solved it. I tried, and it seems to work for few hours. But after the problem came back again with my new account.
    Of course still looking for a solution , it is very very annoying.

  • Adobe Debug Launcher hangs when I try to run any Air Application on Mac OS X Lion 10.7.5

    I am running it from terminal and the PATHing seems to work. The exe icon appears in the Dock and then it just hangs and no actual window ever comes up. I could really use some advice. I don't have any way to troubleshoot this.

    I am running it from terminal and the PATHing seems to work. The exe icon appears in the Dock and then it just hangs and no actual window ever comes up. I could really use some advice. I don't have any way to troubleshoot this.

  • Cannot open PDF files in AIR app on Mac OS

    Hello,
    I am having trouble opening a PDF file in adobe air application on Mac OS. I already installed adobe reader 11 and air on mac.
    I also traced HTMLLoader.pdfCapatibility, which returns 3204 (An error was returned by the OS when trying to load the Adobe Reader or Acrobat application or one of its necessary libraries.) on Macs.
    I am showing you some sample code to you.
    if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
           var request:URLRequest = new URLRequest(tempFile.url);
           pdf.load(request);
           var ui:UIComponent = new UIComponent();
            ui.addChild(pdf)
            container.addChild(ui);
      else
      trace("PDF cannot be displayed. Error code:",HTMLLoader.pdfCapability);
    it shows the output :  PDF cannot be displayed. Error code: 3204
    Please let me know if anyone has any ideas ............asap

    I have the exact same problem. looking forward to hearing something from anyone too.

  • Cannot open PDF files in AIR app on Mac OS error 3204

    Hello,
    I am having trouble opening a PDF file in adobe air application on Mac OS 10.9.2. I already installed adobe reader 11 and air on mac.
    I also traced HTMLLoader.pdfCapatibility, which returns 3204 (An error was returned by the OS when trying to load the Adobe Reader or Acrobat application or one of its necessary libraries.) .
    I am showing you some sample code to you.
    if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
                var request:URLRequest = new URLRequest(tempFile.url);
                pdf.load(request);
                var ui:UIComponent = new UIComponent();
                ui.addChild(pdf)
                container.addChild(ui);
      else
      trace("PDF cannot be displayed. Error code:",HTMLLoader.pdfCapability);
    It shows the output :  PDF cannot be displayed. Error code: 3204
    Please let me know if anyone have any ideas ............asap

    Hi jon123_123,
    I dont understand what you mean by opening PDF file in Adobe Air, that is platform.
    You should try uninstall Adobe Reader and install Latest version of Adobe Reader with latest updates patches and check again.
    Regards,
    Ajlan Huda.

  • Which mbp models support multi-touch under 10.6?

    I have been googling around looking for an answer to this question but haven't found an authoritative answer, just conjecture.
    I wonder if someone from Apple could post the specific models which will support multi-touch under Snow Leopard. Mine is a MacbookPro 3,1 and I would like to know if it is possible to enable multi touch.

    So this page
    http://www.apple.com/macosx/refinements/enhancements-refinements.html
    which says:
    Multi-Touch gestures in
    older Mac models.
    All Mac notebooks with Multi-Touch trackpads now support three- and four-finger gestures.
    Was a lie? Cause my mbp has what seems like multi-touch (two-finger scrolling)... Or does multi-touch have a more specific definition?

  • Flex/Air applications with an OS X Menu Bar icon

    (Flash Builder 4 beta)
    I'm developing a flex/air application for mac os x exclusivley. The application should be very unobtrusive to the user, and as such, I want to eliminate the dock icon for the application and have it run exclusivley in the os x menu bar. Similar to a twitterific app. I've scoured the documentation for a way to do this, but only come up with methods for a system tray in windows, and dock icon function on a mac.
    Does AIR really lack the ability to have a menu bar icon?
    Thanks in advance!

    I've made menu's already for the application. They are native os x menu's but they are used create contextual menus (file, edit, view...etc...) and are only visible when the application is open. Unless their is a feauture I missed I don't think I can do it with those. I'm looking for the ability to create a menubar icon application similar to twitter, or the default apple spotlight.

  • Snow leopard-multi touch gestures

    Apparently snow leopard includes Multi-Touch gestures in older Mac models. Does this include the white macbook? And if so what exactly does this mean?

    I can confirm that there is no multi-touch gesture support on the trackpad of my Intel Core Duo MacBookPro1,1, which is much newer (only 3.5 years) than the original white MacBook, so East Asian language handwriting is also not possible. Fortunately for me, typing and conversion of Chinese and especially Japanese is very quick, so I don't really need the latter.
    I'm not sure which version of the white MacBook you have (you'd have to check the Hardware Overview pane on your Get Info panel displayed by the System Profiler. If there was no multi-touch gesture support at all on your MacBook, there will definitely be no enablement by Snow Leopard. Apparently, people who had only 3-finger gestures on older model portables now have 4-fingure gestures made available by Snow Leopard.

  • Multi coloured spinning cursor and mac air keeps freezing?

    multi coloured spinning cursor and mac air keeps freezing?

    Force Quit .
    Press command + option + esc keys together at the same time for 3 seconds.  Wait.
    When Force Quit window appears, select the application if not already.
    Press Force Quit button at the bottom of the window.       Wait.
    Application will quit.
    http://support.apple.com/kb/HT3411
    Start up in Safe Mode.
    http://support.apple.com/kb/PH11212?viewlocale=en_US

  • How to embed icon in dmg of MAC OS in air application?

    hi
    How to embed icon in dmg of MAC OS in air application? while in windows application it working file if  i set <icon> tag in windows application's .xml file.....
    Please reply

    solution ::
    add this code in windows app of AIR
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" creationComplete="init()" layout="absolute" xmlns:local="*">
    <mx:VBox>
    <mx:Label text="Jay Mahadev" fontSize="32" />
    </mx:VBox>
    <mx:Script>
    <![CDATA[
    private function init():void
    if(NativeApplication.supportsDockIcon){ 
    var dockIcon:DockIcon = NativeApplication.nativeApplication.icon as DockIcon;NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,undock);
    //dockIcon.menu = createIconMenu();
    else if (NativeApplication.supportsSystemTrayIcon){ 
    var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;sysTrayIcon.tooltip =
    "Stopwatch";sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);
    //sysTrayIcon.menu = createIconMenu();
    public function undock(event:Event = null):void{stage.nativeWindow.visible =
    true;NativeApplication.nativeApplication.icon.bitmaps = [];
    ]]>
    </mx:Script>
    </mx:WindowedApplication>
    and also in windowapplication.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/1.0">
     <icon>
    <image128x128>/icons/128x128.png</image128x128>
    <image48x48>/icons/48x48.png</image48x48>
    <image32x32>/icons/32x32.png</image32x32>
    <image16x16>/icons/16x16.png</image16x16>
    </icon>
    </application>
    Reference Link :::
    http://www.adobe.com/devnet/air/flash/quickstart/articles/stopwatch_dock_system_tray.html

  • Can you use Mac OS X Lion multi touch gestures in Firefox?

    On Wednesday, Apple release the new OS X Lion and there are now Multi Touch gestures using the trackpad. I am able to use those gestures in Safari, but I was wondering if there is a way I can use the multi-touch gestures in Firefox.

    This appears to be a problem firefox are aware of and are working on, and with some possible workarounds, see also thread: ''"Back/Forward Gestures do not work in Mac OS X Lion" '' -> [/questions/853020]

Maybe you are looking for

  • Finder does not appear in All Desktops

    Suppose that you have set up multiple Desktops from Mission Control. From the Dock, I choose Finder > Options > (Assign To) All Desktops. This is so that varius open windows on the Desktops will appear on All Desktops. However, this setting does not

  • Assiging task to specific user in a role

    Hi, I want to assign a task to a specific user in a specific role. However, it seems that using wlpi I can assign tasks either to a user or to a role !!! Is there a way where I can assign a task to user in a role e.g. assign task1 to user John in a M

  • Displaying more than one JTable

    Hello people. I tried creating a JScrollPane with a JTable passed to its constructor. This worked fine but i cant add any more tables to the JScrollPane. I could use a new window for each table but I would preffer to keep all tables on one component.

  • Talk-to-text on a commando

    how do you put talk-to-text on a commando?

  • Display calibrator assistant not functional

    Since reinstalling OS 10.4.11, I find I can not recalibrate either my 23"ACD or my NEC FE700 displays. I have checked the forums, have checked my display's USB connection, etc. without success. I have replaced the System Preferences plist. In additio