AIR communication with native window on a mac...

I've created an AIR app in Flash CS4 on Windows that opens a native window to display some demo content (html, SWFs, PDFs, etc.). It works fine on a PC, but on a Mac it just opens the window and doesn't display the content. Here is a bit of the code:
var browserOptionsAsset:NativeWindowInitOptions = new NativeWindowInitOptions();
browserOptionsAsset.systemChrome = NativeWindowSystemChrome.STANDARD;
browserOptionsAsset.transparent = false;
browserOptionsAsset.resizable = false;
browserOptionsAsset.minimizable = false;
browserOptionsAsset.maximizable = false;
var browswerPopAsset:NativeWindow = new NativeWindow( browserOptionsAsset );
browswerPopAsset.width = stage.stageWidth;
browswerPopAsset.height = stage.stageHeight;
browswerPopAsset.x = 0;
browswerPopAsset.y = 0;
Thanks in advance for any help!

no, ***** huh?

Similar Messages

  • Conversion Error: I/O error while communicating with native process

    Hi,
    I am trying to use Oracle Outside In Technology Image Export for conversion of images. I am trying to run the example ExportTest that comes with the downloaded SDK.
    I get the below error while running the ExportTest example.
    Conversion Error: I/O error while communicating with native process .
    Am I missing any settings?
    Please guide to the right forum if this is not the one for posting queries on Oracle Outside In Technology Image Export.
    Thank you.

    Hi Revanth,
    I am using Image Export 8.3.7 and I am trying to run the java class "ExportTest" that is in the location sdk\samplecode\ExJava\Examples\ExportTest\src of the download.
    My input folder has one jpg - puzzle.jpg (this is just a simple jpg), I am trying to convert it to TIFF. ExportTest.java uses the classes in Export.jar . Export.jar is located in the sdk\samplecode\ExJava\Examples\ExportTest . You can see source files of the Export.jar at location sdk\samplecode\ExJava\Java API\src of the download. I am running the 'ExportTest' by providing the arguments (input folder, output folder and ix.cfg - this file comes with the download). So now when I run this class I was getting the error I mentioned in this post. Inorder to find more details about the error I modified the 'Export.java' (at sdk\samplecode\ExJava\Java API\src\com\outsideinsdk) just to printStackTrace when the exception occurs and rebuilt the 'Export.jar' and ran the 'ExportTest.java'.
    And below is the stack trace that I got :
    java.io.IOException: CreateProcess: nullexporter.exe "inputpath_u=AGkAbgBwAHUAdA
    BcAHAAdQB6AHoAbABlAC4ASgBQAEc=" "outputpath_u=AG8AdQBwAHUAdABcAHAAdQB6AHoAbABlAC
    4ASgBQAEcALgBUAEkARgBG" "outputid=FI_TIFF" "fallbackformat=FI_TEXT" "tiffcolorsp
    ace=24BitRGB" "preferoitrendering=false" "tiffcompression=Packbits" "mapbuffersi
    ze=8192" "defaultprintfontheight=20" "graphicwidthlimit=0" "reordermethod=off" "
    unmappablechar=0x002A" "timezone=0" "graphicheightlimit=0" "defaultmarginleft=14
    40" "ssshowheadings=false" "quickthumbnail=false" "graphicoutputdpi=0" "ssdirect
    ion=AcrossandDown" "defaultmarginbottom=1440" "ssshowgridlines=false" "dbshowhea
    dings=false" "readbuffersize=2" "whattoexport=all" "graphicsizelimit=0" "imagewa
    termarkopacity=0" "blue=-1" "handlenewfileinfo=no" "outputid=FI_TIFF" "lzwcompre
    ssion=enabled" "usedocpagesettings=true" "defaultmarginright=1440" "numberofstat
    callbacks=0" "dbfittopage=NoScaling" "tempbuffersize=2048" "pdffilterreorderbidi
    =no" "imagecropping=nocropping" "defaultmargintop=1440" "documentmemorymode=larg
    e" "m?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at com.outsideinsdk.Export.convert(Export.java:262)
    at com.outsideinsdk.ExportTest.convert(ExportTest.java:142)
    at com.outsideinsdk.ExportTest.main(ExportTest.java:214)
    hope this helps to find the problem.
    Thank you

  • Publishing air apps with native extension with Flash CS6 on Windows

    Hi all,
    is there any trick to publish air apps with Flash CS6 on Windows?
    I tried all native extensions from devnet, but nothing work to me.
    I read on Mac is possibility to specify the iOS SDK folder in publish
    settings, but on Windows it´s missing. 
    Is there anybody who has some experiences with publishing apps
    with native extensions for iOS and Android with windows Flash CS6?
    Thanks for all advices.

    I sympathize. I recently found a native alert for iOS and Android that's working with Flash CS6 on Windows with AIR 3.2.0.2070 but not AIR 3.2.0.2060. You can get the ANE here:
    http://www.jampot.ie/ane/
    Haven't tried the other ones. Let us know if you decide to try them.
    The sample code they have on the page doesn't work with the native alert. Here's the code I created - it's a document class for a .fla that has one dynamic TextField and one Button component on the stage :
    http://pastebin.com/DsxR9nJ4

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

  • Why won't my ip[ad air sync with my windows 7 pc when all my other apple gear will?

    just got delivery of my ipad air but it won't sync with my windows 7 pc.  really frustrating.  suspect something to do with itune 11 as since i updated that i also can't airpaly around the house on apple tv and airport.  have emailed apple direct but no response? is itune 11 just crap and do i need to sever my relationship?

    Mirrored RAID for primary storage is a method of extending Mean Time To Repair, which tends to keep a drive failure from becoming a data loss disaster. It provides no protection against accidental deletion of files, and no protection against "crazy software" that wipes out files or an entire directory. If you are using Mirrored RAID for Primary storage (as I do on my home Server) you still need a backup.
    Using a Mirrored RAID for a [secondary storage] backup is inefficient. You would be better served by using the two drives to make two different backups either at different times, or better still different types, such as one Time Machine and one cloned backup.
    If your data are especially difficult to reconstruct, taking a complete backup set off site protects against local disaster -- a whole house or office burning, a flood, an earthquake.

  • Communicating with native processes in AIR

    This question was posted in response to the following article: http://help.adobe.com/en_US/as3/dev/WSb2ba3b1aad8a27b060d22f991220f00ad8a-8000.html

    var stdOut:ByteArray = process.standardOutput;
    IDataInput not assignable to ByteArray

  • Air Updater with Native applications

    I searched the forum for Application updater/ options available for updating our Air application when we use the air native applications.
    I know Air ApplicationUpdaterUI does not support native application updates (Air 2.0).
    I also observed that all discussions with respect to the Updaters point to the following discussion.
    http://blogs.adobe.com/simplicity/2010/01/application_update_security_an.html
    I also found the following articles -
    http://livedocs.adobe.com/flex/3/html/help.html?content=updating_apps_1.html
    Has anyone tackled this problem?
    Can someome please explain a little more in details the steps needed in order to achieve the updaer functionality for native apps).
    thanks

    It was my mistake in configuration of extension.xml file. Instead of mentioning Extesion Initialization funtion i was using context initialization funtions there. It started working after correcting this problem.
    Thanks for all the help.

  • Hide/Show Adobe AIR app with a windows shortcut

    Hello all,
    Hope to find some answers here. This is what we are trying to achieve
    -- Application with launch at OS startup or user will start the application .
    -- Once the application started, it should run in background (No window will be visible)
    --  Application should become visible if assinged keyboard shortcut is triggered (e.g. ALT+CTRL+A) , even if the user is working on another applicaiton.
    -- User works on the app and if clicks anywhere out of context of the application, it should again go back to background.
    Hope this is possible in AIR. We are exploring AIR and above scenario is very important for us.
    Thanks for help in adance,

    Pretty long set of questions. Let's see.
    Application startup:
    NativeApplication.nativeApplication.startAtLogin = true; // default is false, so app does not open at login
    Run in background
    <mx:WindowedApplication has a property called "visible".
    If false the window is not visible when the app is started.
    --  Application should become visible if assinged keyboard shortcut is triggered (e.g. ALT+CTRL+A) , even if the user is working on another applicaiton.
    Afaik, Adobe Air applications have to have focus to listen to keyboard events.
    Click out of context
    You can handle it via the deactivate event like this:
    <mx:WindowedApplication ... deactivate="trace('app deselected')">
    HTH

  • AIR application with Native application crash on iOS because of numFunctionsToTest

    I wrote a simple Hello World AIR Native Extension and have implemented following context initializer
    void helloWorldContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx,
                                      uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)
        NSLog(@"Entering ContextInitializer");
        *functionsToSet = _methods;
        NSLog(@"Method list initialized");
        if(numFunctionsToTest != NULL)
            NSLog(@"numFunctionToTest is not null");
            *numFunctionsToTest = (uint32_t)2;
        NSLog(@"Exiting ContextInitializer");
    My Application crash on iOS device with following message in console.
    Dec 29 15:58:41 unknown HelloWorld[24298] <Warning>: Entering ContextInitializer
    Dec 29 15:58:41 unknown HelloWorld[24298] <Warning>: Method list initialized
    Dec 29 15:58:41 unknown HelloWorld[24298] <Warning>: numFunctionToTest is not null
    Dec 29 15:58:42 unknown ReportCrash[24302] <Notice>: Formulating crash report for process HelloWorld[24298]
    Dec 29 15:58:42 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:org.divy.contactmanagement[0x5c0]) Job appears to have crashed: Bus error: 10
    Dec 29 15:58:42 unknown SpringBoard[15] <Warning>: Application 'HelloWorld' exited abnormally with signal 10: Bus error: 10
    Dec 29 15:58:43 unknown ReportCrash[24302] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/
    It seems line following line is cause of the problem.
    *numFunctionsToTest = (uint32_t)2;
    modified the line to *numFunctionsToTest = 2; still no luck.
    It seem the pointer is pointing is not correct.
    Following is the Device log if it helps.
    Incident Identifier: 650833B2-9F2E-4186-B499-29C9088EBD66
    CrashReporter Key:   f559e8609ce49e196f1137a3c1c7d27b40377472
    Hardware Model:      iPhone3,1
    Process:         HelloWorld [24065]
    Path:            /var/mobile/Applications/35BEA219-A5DF-48BB-8602-228EB8AF3D61/HelloWorld.app/HelloWorld
    Identifier:      HelloWorld
    Version:         ??? (???)
    Code Type:       ARM (Native)
    Parent Process:  launchd [1]
    Date/Time:       2011-12-29 14:36:08.226 -0800
    OS Version:      iPhone OS 5.0.1 (9A405)
    Report Version:  104
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x011c6d85
    Crashed Thread:  0

    It was my mistake in configuration of extension.xml file. Instead of mentioning Extesion Initialization funtion i was using context initialization funtions there. It started working after correcting this problem.
    Thanks for all the help.

  • No audio in firefox, works fine in IE & Chrome. Have Dell E6500 running Win 7 Pro 64 bit. every thing works with native windows driver but with not IDT driver

    I have no Audio in Firefox. I think this is an old problem with Dell IDT driver and Firefox. Flash is installed, I have uninstalled and re-installed two or three times, removed pluggins and put them back to no avail. The native win 7 driver from 2010 works okay in all browsers including firefox but I would like an up-to-date driver that works. The latest IDT driver for my Dell e6500 running Win 7 pro works great in IE and Chrome but not Firefox.

    I don't think there was any setting I could change on the driver. Firefox did not show up in the mixer or volume control. It is there with the native win 7 driver. This driver doesn't seem to see Firefox. I just got this computer, but looking for help, posts three years ago on the web seemed to have this problem with the Dell e6500 and Firefox.

  • Troubles with reformating Windows iPod to Mac and data loss

    I'm completely lost. I've tried searching the support section of Apple.com and I've tried searching these message boards but I haven't been able to figure out what exactly I'm doing wrong...
    I have a horrible Dell computer running Windows XP Home... the machine is just full of problems and I have a 20GB HP iPod that was originally formated for the windows machine.
    I bought a G5 iMac almost 4 months ago and try as I might I cannot format the iPod to hold any information from my Mac (it just reads the information from my Dell and will copy that to the Mac) and I even lost all of my non-purchased songs on my iPod the first time I tried to switch it.
    Does anyone have any information that might help...? Thanks (and I'm sorry for posting what probably is an annoying question!)
    iMac G5 (May '05)   Mac OS X (10.4.5)  

    i'm having the same problem. i had a del, bought a new powerbook g4, got all my music transferred...but i can't get my ipod to sync up. if you have found anything out, please help me out.
    thank you.

  • I bought Photoshop Elements 12, and I saw that it comes with a Windows and a Mac DVD. How many installations do I get from each disc (I have both Windows and Mac machines)?

    Please reply ASAP

    You can activate the software on a maximum of two computers at the same time.
    Your serial number works on both Windows and Mac.
    Your choice on how you mix and match the activations: Win/Win or Mac/Mac or Win/Mac.

  • USB compatible with Windows 7 and Mac OS X

    Hi everyone.
    I bought myself today a Datatraveler 32GB usb stick from Kingston. I do some computer fixing in my spare time.
    I want to put my personal tools on this stick. So when I go to people who have Windows I take the usb stick with me and I have all my tools on it. On the other side, when I go to people with a Mac, the usb stick has to be compatible with that too. So I thought, when I make 2 partitions on it and I format the first one with Mac OS X extented and the second with NTFS, then I got a usb stick that is compatible with both OSes. But when I format this in Disk Utility my Windows PC doesn't recognize the stick as compatible.

    Hi Joel,
    just as an idea: why not use FAT32 as file system ?
    It's compatible with both Windows 7 and Mac OSX.
    For your immenent problem:
    You have to use MBR (Master Boot Record) as partition scheme on the stick, then Windows 7 can format its partition with NTFS and OSX can format with MacOS Extended (Journaled) on its designated partition.
    Be aware of some stories that using MacOS Extended file system on an MBR partitioned drive/stick might lead to 'deteriorating' problems later on.
    Personally I use FAT32 for my USB-Sticks without any problems going back and forth between Windows and Mac OSX.
    Regards
    Stefan

  • Bootcamp performance: Mac Air 11 with windows 7

    I was looking to replace my wife's Lenovo U110. She needs ~11", light netbook. Her main usage is remote desktop to her office windows machine, running few company specific apps to access company resources, running MS Office applications (Word and Powerpoint)
    I recently bought her Sony X, which was nice on paper (11/6", 1.5 lb, etc) but she could not stand keyboard. (I am using it now as a travel laptop and think that Intel Atom is the worst even CPU).
    Anyway, when I saw new mac air 11, I thought that it fits perfectly her needs. I offered my wife to buy it but apparently that special (from company) soft does not work well with MAC OS. So, what I am thinking now is to get MacAir 11" with 128Gb SSD and to install Win 7 with bootcamp. Then she would be using it most (all) the time running win 7.
    My question is, can I assume that MacBook Air 11 with bootcamp and win 7 64 bit will provide "experience" equivalent of running Win 7 on "Microsoft-native" laptop. I mean both from point of view of CPU performance (1.6 GHz should be more than enough normally, so small performance hit would not be a problem) and also the easiness of usage (software instillation, access to hardware resources, etc). I understand that bootcamp is not an emulation but I have never used it before myself...
    Thanks.

    Windows will run fine on the Macbook Air. In fact, if she doesn't like the Mac OS at all, she can wipe the drive clean and install Windows. Bootcamp is just a fancy name for partitioning the drive and easing driver functionality. There's no difference booting up Windows on a Macbook vs booting up Windows on a Dell or Sony-- it runs natively.
    You will need the Mac OS usb that comes with the Air to install the Bootcamp drivers on Windows (graphics, sound, trackpad, etc...). To save both of you the headache, once you've installed the Bootcamp drivers (and updated them)- go into your notification area and open the BootCamp control panel. Select 'tap to click' on the trackpad tab, then close the control panel.
    The trackpad will work just like any other PC (even better). Two-fingers to right-click, 1 finger to left-click.

  • Cinema Display plus Mac Book Air Gen2 lagging in windows 7 with boot camp !, Cinema Display plus Mac Book Air Gen2 lagging in windows 7 with boot camp !

    Dear All,
    I have the Apple Cinema display 27 inch.
    Along with it I get the Mac Book Air 13 inch gen 2,with 2 go of memory and the integrated NVIDIA 320M (driver version:  8.17.12.5746) running on boot camp 3.2.
    The issue happened when I connect it to the the 27 Cinema display, things are getting slow, and my system is kind of lagging. Itunes music crackle and opening and surning on the web is not smooth.
    Do youk now how I could fix this issue which is very disturbing for such expensivesystem.
    Many Thanks !

    You are not addressing Apple, but a community of unpaid volunteers. So ASAP won't cut it. Also, you should refrain from posting personal information (like your email address) in the body of your comments, as this is part of the community usage guidelines.
    Have you reinstalled the latest Boot Camp Windows 7 drivers, just in case Microsoft overwrote some of them during the Windows 7 security update?
    If you want to communicate issues with Apple about Boot Camp and OS X, click on the link. Just don't hold your breath on receiving a response.

Maybe you are looking for

  • How to use URL in actionscript  Instead of services-config.xml?

    Hi Alls, I would like to set my service's url in actionScript (I don't want to use compiler option -services witch need to recompile swf if you change service's url). I search for a long time on google but I found nothing, and adobe documentation isn

  • Now for a positive note

    Had to call customer service about a bill dispute. No hassle, no negative, just a helpful service rep that actually did help me with my problem. Thank you Verizon for being a big help. I really appreciate it.

  • How to use cookies in jsp

    Hi all, I'm new to jsp, please let me know how to use cookies with jsp. I have three web applications, in run time I have to switch from one application to another application based on single login page. I have taught cookies are one of the solution.

  • Mapping Attribute Dim in Essbase

    Hi, I think this is bit funky requirement part of my enhancement project.V 11.1.2.1 i have an essbase cube with a hierarchy called Product where the level 0 is PartNumber. I have an attribute dimension call ProdType which is coming from a different m

  • Help with building timeline using Multiclip

    I am trying to learn how to build a timeline using multiclip. I have my multiclip set up, have the buttons on top of the timeline so I can switch or cut angles. Everything is set so I can switch in realtime. I even have it set so I am using the audio