AIR application in Leopard and loading local files

I have an AIR app that loads a config.xml file that is in the
same directory as the AIR app. It only has 4 nodes that are just
pointers to folders and/or files. Works fine on a pc that I'm
developing on. When I install the AIR app on a mac, running
leopard, it always fails to load the config.xml file. No matter
what file type I try to load on the mac, it will always give me the
IOErrorEvent #2032.
Has anyone run into this or does anyone know of a solution?
Thanks,

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

  • How do I configure DW to open and load a file?

    I have DreamWeaver CS5 running on a Mac. Whenever I double-click to open a DreamWeaver compatible file (such as an HTML file), if DW is not already open, DW launches but does not load the file. Once DW is launced, I can double-click the file and it will load. How do I configure DW to open and load a file together?
    DW: v11 b 4993
    OS X: 10.7.4 (11E53)

    HTML files are normally configured to open in a browser. The default on a Mac is to open the file in Safari.
    You can right-click the filename in the Mac Finder, and select Open With > Dreamweaver CS5 from the context menu.
    Alternatively, select an HTML file in Mac Finder, and press Cmd+I to open the Info panel. In the Open With section, select Dreamweaver CS5 as the default program, and click the Change All button.

  • I'm trying to back up 10.6.8 (snow leopard) and all my files before upgrade to Mavericks.  I have an old but sturdy external hard drive...how many GB available will I probably need to back up the whole thing? thanks!

    I'm trying to back up 10.6.8 (snow leopard) and all my files before upgrade to Mavericks.  I have an old but sturdy external hard drive...how many GB available will I probably need to back up the whole thing? thanks!

    You will need a separate partition unless you plan to use the entire drive. You will need an amount of space somewhat larger than the total space now used on your startup drive. If you select the startup drive's Desktop icon, then press COMMAND-I to open the Get Info window. Used space will be shown in the topmost panel. Add a GB or two to that number to determine how much space you'll need for the backup.
    Do not backup on a drive that has any files you want to keep. You can make a bootable backup as follows:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.

  • FLEX Workers unable to load local files

    Hi,
    I am currently testing the using Actionscript Workers. For the most part everything is working as described, however I notice that the FLASH Player (and even FLASH Builder debugger) is treating any child worker swf as a remote swf. This creates a problem where it can't access local files that are loaded in during runtime (in my case my parent application has a wsdl file saved locally and is trying to pass the same path to the child worker). The following error will be thrown when the worker swf attempts to access to the file:
    *** Security Sandbox Violation ***
    Connection to file:///<filepath> halted - not permitted from file:///<swf file application>
    -- Remote SWFs may not access local files.
    This is problematic as the parent application can access these local files without a problem, so I expected the child workers to behave in the same manner (especially since it's in debug mode).
    Does anyone know of any workaround to this particular issue?

    I'm having the same problem.
    Having scoured the internet and finding nothing useful yet, I'm almost ready to conclude that there is no workaround for this. At least without using AIR, or running a webserver on localhost.
    Would be very happy to be contradicted on this though...

  • Loading local files

    Is there any way to load a file from the user's local machine
    into a Flash application without going through a server? I would
    like to be able to load an image directly but I suspect the only
    way this can be done is to first upload the file to a server (using
    FileReference) and then download it back into the player. Seems
    kind of silly to have to make this round trip when the file is
    already on the same machine as the player.

    But if the swf is on a remote server then it can't get to
    files on the local machine. I want to be able to load a file (at
    runtime) that is on the same machine where the swf is being viewed
    from (and the swf was downloaded from another machine).

  • Load local files in FMP?

    i cannot load a local file into FMP.  i assume this is due to the fact that the FMP swf runs on adobe's servers and is therefore subject to a remote sandbox.
    however, this makes testing websites locally difficult.  is there any way around this?
    one i know is to deploy media files to a server to avoid the remote sandbox restriction, but this is not useful without an internet connection.
    is it possible to run the FMP swf locally?

    it is possible to run the FMP swf locally.  use the Strobe player:
    http://sourceforge.net/projects/smp.adobe/files/
    setup is pretty much identical to the FMP.

  • How can I write my Adobe AIR application tracing lines into a log file

    I Have a question about log files for AIR application
    How can I make my application writing all tracing and exceptions into a log file?

    I think if you pubish a -debug SWF it will log to flashlog.txt

  • SAP ME 6.0 Visual Test and Repair Local file not found

    Hi,
    In our SAP ME 5.2 environment we have Test & Repair installed on a separate server. On that server we also have a shared directory where we are placing our GenCad files (.CAD). These files we can sucessfully view in the POD on SAP ME 5.2.
    Now I am trying out SAP ME 6.0. I have done:
    - Installed Product Visualization 7.2 on my client device
    - In System Rule maintenance I have set the rule VTR Model Location to point to our server where our GENCAD files are stored.
      i.e ServerXXX
    - In material maintenance for manufactured material A I have set the drawing name to point to the shared directory and .CAD file.
      i.e D:/CADfiles/productname.CAD
    - Created and released a shop order for material A
    - Started the "POD - Visual test and Repair"
    Entered operation
    Entered Resource
    Entered SFC for the shop order that is using the manufactured material with
    Pressed "Start" - The SFC is now active in the operation.
    Pressed "Model viewer" button
    A part of the screen now says "Visual test and Repair" - 3D Model viewer. It is blinking a couple (3) of times, but nothing appears. When I press the "Model viewer" button once more. An error message says "Local file not found".
    What is happening? Is GenCad files suddenly not working in Test and Repair? I have read something about purchasing ECAD file converters, is this what I need?
    Br,
    Johan

    Problem solved after asking for eCAD converter licenses from Right Hemisphere.
    /Johan

  • Downloaded Snow Leopard and now mp3 files won't play or open.. help!

    Once I updated my system to Snow Leopard, my downloaded mp3 files won't transfer to iTunes or even play in general, they used to automatically download into my iTunes. Is there a specific setting I need to change?

    What happens when you try to play in iTunes?  Do you get any error messages?  Can you play the mp3s in Quicktime or VLC? 
    If you want iTunes to play your mp3s, the setting for that is inside iTunes Preferences. 
    Have you tried repairing permissions and restarting your computer? 

  • FAQ: SWF's and loading external files in Flash Catalyst

    How do I make the images in my Flash Catalyst project external to the published SWF?
    You can choose whether images are embedded in your Flash Catalyst SWF, or loaded dynamically; this can help to keep your SWF's small. Simply right-click an image and chose "Externalize Image".
    Answered by: Adam Cath.
    See entire discussion.
    How do I make the SWF I imported to Flash Catalyst load external files?
    When importing a SWF, Flash Catalyst only pulls the SWF asset into your project. Many SWF's, such as slideshows and media players, rely on external data files, such as configuration files or media assets. If you would like to use such a SWF in Catalyst, then you will have to place these external resources into your Catalyst project as well as importing the SWF.
    Let's assume you have a SWF source folder that contains your SWF file and all of the external files it needs. You can open the SWF file from this folder and it works fine. But, if you import the SWF into Catalyst, the Catalyst project doesn't display it correctly because it can't load the external files. Here's what you do:
    1. Open your swf source folder, and copy all of the files/folders there except the SWF you imported.
    2. In Catalyst, Run/Preview your project (Ctl/Cmd-Enter)
    2. Note the file path to Main.html in your browser
    3. In your OS, open the folder that contains /bin-debug/Main.html from above
    4. Open the "src" folder
    5. Paste all of the files from step 1 into the src folder.
    6. Catalyst won't pick up that your project changed, so tweak it a bit (add a Rectangle), and save it.
    7. Run your project. If it doesn't work, try closing and reopening your project and running again.
    For an example, check out: Using an XML-driven SWF in Catalyst to create a slideshow.
    See entire discussion.
    Answered by: Bear Travis

    You can make you swf a custom component with 2 states.
    The first state will be empty and rename it "OFF" the second state will have your swf file and name it ON.
    Then go back to your artboard/project, add your 2 buttons ON & OFF.
    For the ON button add interaction "play transition to custom component ON"
    For the OFF button add interaction "play transition to custom component OFF"
    Here is an example swf_control

  • Sql and load rule file query

    Currently loading the data with the script , which it contatins
    Retreving data from oracle through SQL interface on to rules files
    and loading the data.
    just my question is , if i get 0 records from oracle , i dont want to proceed with the loading of data (which is no useful ).
    Can i stop the loading if records are zero.

    As far as I know there is nothing in MaxLIt that could tell that there were no rows.The MaxL statement would return a zero code saying that the process worked ok. It would be prossible in your batch script to have mutiple calls to MaxL and between them to do something like make a call to your sql DB getting the count of rows for your query. Investigate the result and if it is zero, then get out of your load and calc process (I guess you could do that even before you try to load).
    Or how about scheduling a job that creates an output file with the count if it is greater than zero. If it is, then run the batch load process if it is not, then bypass it. There are multiple ways to do this outside of Essbase, just not in it.

  • Can an AIR application be packaged and launched from inside a Native Android Application

    Hello,
    I work for a company that has an AIR application/game.  We are currently developing an Android native application and would like to strip out the AIR game and include it with the native application, we would like to be able to launch the game from within the native Android application.  How would this be done?

    no p. )
    [UIApplication sharedApplication] its most cool thing in xcode that allow make native windows over adobe air

  • How To View and Load U3D Files

    I use a CAD program that makes U3D files.
    Is there a decent way to use Acrobat Reader to load and view these files?
    Thanks
    Zvi

    Reader ONLY opens PDF files.Nothing else.

  • How to Enable Plugin before File Opened And Load PDF File From memory?

    hello everyone,
    there have two problems,all i want to do is to show a pdf file encrypted by AES algorithm.
    1.one is how to enable plugin before file opened?
    i developed another two plugin,and each enabled after one pdf file was opened,and now i want to replace the file open command and can do some word by meself,such as decrypt the pdf ?
    2.another is how to load pdf file from memory?
    if i can enable plugin before file opened,and than i can read the file and decrypt it,and now i want to do is do load the decrypt file (in memory) into the adobe?
    i tried many method,but all in vain.who can help me or give me some advice?
    thanks.
    merry chrismas to everyone.

    The proper way to handle other file formats (even where it is really a PDF that has been "wrapped") is to create an AVConversionHandler.
    To load a PDF from a source other than the file system, you need to create a custom AVFileSys.

  • Local Files and New Local Files not working

    I have been trying to fix this issue for the past 7 hours and im completely at a loss for words how many people have found the same problem and there is no straight forward answer as to why it either occured and no straight forward solution to the problem i would love some help from someone even though ive sifted through the community for an answer and found nothing.  The problem is simple my Local Files are not playing. They dont play in the local file tab and any of the new songs i downloaded to my computer library dont play.  The old songs i already had downloaded work fine in the playlists but the new one dont work.  I run windows 8.1 64 bit
    All my software is up to date. This problem started today Help.

    Do you seriously think we can answer that with zero information from you?
    Please give us:
    Operating System/version
    Photoshop version number
    Amount of RAM installed
    Hard drive(s) free capacity
    Video card make and model
    Camera make and model
    Then describe what you have done so far and the symptoms you are seeing.

Maybe you are looking for

  • Open sales order report with billing date.

    Hi, I want to know if there's an available report for open sales order with billing date field. Thank you.

  • Excise invoice during free replacement

    Our business is Distribution. we get orders frm customer for that order we place PO to vendor and we sale it to customer. some times if the goods is damaged the customer will ask for Free replacement. That time from our stock we use to send the mater

  • Cant make or recieve calls

    Hi Guys I am having an intermittent problem with my iphone 6 sometimes it stops making or receiving calls, message are ok and data is accessible even when calls are not, I have visited the genius bar who tell me the phone is ok and must be a carrier

  • ORA-14400

    Hey Guys, I am loading data into a cube (business content cube) from standard extractor. I got this error "ORA-14400: inserted partition key does not map to any partition" when I checked the monitor. What is confusing is the fact that I don't have an

  • I'm trying to access a Mac OSX xserve's shared folder from a windows xp pc

    So I'm trying to access the Shared Folders on a Mac OSX Xserve Server. this server does not provide authentication or home folders, etc. Pretty much using it for network storage. I've been able to successfuly connect to the folders using Windows 7, b