[AIR] File not found MAC OS but works in Windows

Hi all

I have a htmlFolder in my 'src' that contains html files. "What I do is, that, when running, I return the HTML of the file in < mx:HTML id ="htmlView"> using the following code.

htmlView.location = "" app:/htmlFolder/sub-folder/fileName.html"";

Problem->

It works fine in windows, but not running MAC OS. Probably because windows uses the folder structure, not sure on MAC OS, but I guess that settles into a single file that contains subfolders that are hidden from the user. Anyone know a solution for it?

Thank you and best regards,

Ahmed.

var file:File = File.applicationDirectory.resolvePath("htmlFolder/sub-folder/fileName.html");
htmlView.location = file.url;

Tags: Flex

Similar Questions

  • I downloaded and used a test of Lightroom, several days ago.  I've used and have a library, but now, when I try to use it today, my pictures seem to be there in the library but when I try to start working on a new picture, I get a "file not found messages

    I downloaded and used a test of Lightroom, several days ago.  I've used and have a library, but now, when I try to use it today, my pictures seem to be there in the library but when I try to start working on a new picture, I get a ' file not found message.»  How can I go back in my files?

    There are a number of options available when you choose to import files to your catalog in Lightroom (library)

    1 copy / copy as DNG, this option allows you to copy files of origin from their existing location, for example a folder on an existing, promenade, internal, external, a reader of card or a camera SD card connected to the computer via a USB port, to a location of your choice, in a folder of a HARD internal, external HARD disk drive or a network drive on your choice.

    2. move. This option allows you to move files of origin of their location, for example a folder on an existing drive, internal or external to a new location of your choice, in a folder of a drive HARD internal, external HARD disk or a network drive on your choice. (the Move option you cannot move files from a card or your camera.)

    3. ADD., this option allows you to add image files to the catalog of their location, for example a folder on an existing drive, internal, external or network drive and the original images remain in their current location.

    The original image file will be located at the location of your choice.

    There are no image files in your catalog (or library) file the original files are in the location you choose.

    If you choose to add files to your catalog from an external drive, then unplug the player from your computer, then Lightroom which will show the 'file not found '.

  • Firefox tells me I'm aware, but he also says that I am under 16 version. I can't download a more current (says file not found).

    When I got Firefox > on Firefox, it tells me I have 16.0.2
    However he also told me that I am up to date.
    Based on a quick search, it seems that you are on twenty something!
    I tried to download a new one (for mac, British English), but it says "file not found".

    Don't know what to do.

    The current versions of Firefox requires OS X 10.6 or later, so if you want to continue using Firefox beyond Firefox 16, you must upgrade to OS X 10.6.8 or later version.

    Firefox 16.0.2 is the last version that works on an Intel Mac with OS OS X 10.5.

  • go to a web page, firefox will pass it to a "file not found" but arrow to the left shows the page then goes back to 'file not found' again.

    for example. Google 'bc spca', choose www.spca.bc.ca and go. Firefox gives me this...

    File not found
    Sorry, the page you requested was not found. Please try again.

    Original URI: /assets/tab_advocate_mo.jpg

    But if I hit the arrow to the left, it shows me the page I searched for a fraction of a second, then goes back to the file not found again. This does not happen with Chrome or Internet Explorer. They go to the appropriate page.

    I am running windows 8.1 and uninstalled and reinstalled Firefox. NO GO. Help, please.

    Generally if an image on a page can not be found, Firefox does not redirect the entire page with an error message. the area of the image is just left in white. If this is not normal.

    On the error page, what do you see in the address bar, if anything?

    To check if one of your extensions could be the culprit, could test some pages from Firefox Safe Mode problem? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    Not all add-ons are disabled: Flash and other plugins still works

    After stops in Firefox, a small dialog box should appear. Click on 'Start mode safe' (not reset).

    Any difference?

  • I come from components to build a new computer. Try to use the Windows XP Pro computer old version but after BIOS and XP installation I get the error "file not found \i386\ntkrnlmp.exe. The error code is 7. "What should I do?

    New components is a new computer.
    Inserted the XP Pro CD in the drive but get the error "file not found \i386\ntkrnlmp.exe. The error code is 7. »
    Rebooted comp 5 times with the same problem after BIOS.

    Hi Milkshake83,

    Thanks for posting. Proceed as follows for this error.

    Method 1: Restore the default settings of the BIOS WARNING: this procedure may involve changing the semiconductor (CMOS) settings of the computer's complementary metal oxide and by changing the BIOS of the computer. Incorrect changes to the BIOS of your computer can result in serious problems. Change the CMOS settings of the computer at your own risk.

    To resolve this issue, restore the BIOS of the computer to its default settings. For more information about the correct settings of the BIOS of the computer and how to check and change these settings, see the computer documentation or contact the manufacturer of the computer.

    In addition, to confirm that the computer's BIOS is current, contact the computer manufacturer to inquire about the last update of the BIOS available for the computer.

    Method 2: Remove the faulty RAM to resolve this issue, remove the memory modules installed in the computer.

    NOTE: you must leave enough RAM for the computer to start and run Windows.

    For more information on the amount of RAM that is required to run Windows, click on the number below to view the article in the Microsoft Knowledge Base:

    304297 configuration (http://support.microsoft.com/kb/304297/) System requirements for Microsoft Windows 2000 operating systems

    If the error message described in the "Symptoms" section of this article appears again after removing the memory module, remove a different memory module. This procedure may ask you to restart your computer several times to identify the specific memory module that is not working properly.

    For more information about how to add and remove RAM to the computer, contact the manufacturer of your computer or see the documentation that came with your computer.

    http://support.Microsoft.com/kb/318729

    I hope this helps!
    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Wanted to install adobe photoshop and elements 12 first. But I don't have a disc for the cd. I tried to download, but the link says "file not found".

    Wanted to install adobe photoshop and elements 12 first. But I don't have a disc for the cd. I tried to download, but the link says "file not found".

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

    PES 10, 11, 12, 13 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html

    PE 10, 11, 12, 13 - https://helpx.adobe.com/premiere-elements/kb/premiere-elements-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 12: http://prodesigntools.com/photoshop-elements-12-direct-download-links-premiere.html

  • upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found

    upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found

    Try to repair the security permissions for iTunes for Windows and the empty/corrupted after upgrade/crash iTunes library.

    TT2

  • View thumbnail in the video files does not not in xp real player but working in windows media player files

    View thumbnail in the video files does not not in xp real player but working in windows media player HELP files!

    It might be worth a try to run the following command:

    Reach... Start button / run...

    In the box run... type or copy/paste...

    regsvr32 shmedia.dll

    (Yes, there is a space between 2 and s)
    Press on... Come in...

    You should see a dialog box stating:
    "DllRegisterServer in successful shmedia.dll".

  • On the computer, it does not load XP but goes to the XP start and says: NVRD32.sys file not found

    On start-up the computer, it does not load XP but goes to starting XP, and says NVRD32.sys file not found. I have to go up to xp home line manually and it load. How to fix the problem, so he starts xp automatically without entering start xp
    Thank you

    Posing for the PC model, you show that you do not know the answer, it was a software problem, but you're right, it's a Dell.
    In any case, I found the answer elsewhere, must with the boot.ini file on XP

  • Run Autoruns and found rdpclip listed at startup but FILE NOT FOUND

    Original title:

    PC was unstable.  Run Autoruns and found rdpclip listed at startup but FILE NOT FOUND

    Jill

    Click Start

    In the start search box, type msconfig

    Click on continue if prompted for permission

    Go to the Startup tab

    Research of any startup item that refers to rdpclip

    If found, clear the check box to the left of this startup item, and click on apply

    Return to the general tab

    Select Normal startup

    Click on apply and OK

    Restart your PC

  • try to use youtube to watch videos and files but get the file not found

    Acer arcade deluxe Acer aspire 5536

    Im trying to use youtube to watch the files and videos but keep getting file not found, try up dating of adobe ive dinner that, but nothing can please help u.

    Hi michellemoore_848,

    1. What happen with a specific type of video or videos?

    I suggest you to uninstall Adobe Flash Player completely then re - install the latest version of Adobe Flash Player and see if it helps.

    Troubleshoot Flash Player installation | Windows

    Hope this information is helpful

  • What should I do when after Lightrom 6 worked OK and I was rocking it draws to develop, all of a sudden I have started getting the message "folder or file not found?

    I downloaded photos successfully in Lightroom 6 and were able to develop and even export but suddenly in the process of development or export, Lightroom gives the message "File not found" and "file cannot be found. These pictures are already in Lightroom, how can't he not know where they are? And is it a problem with Lightroom, my computer, or what I did? And what should I do to correct this?

    Photos are never stored in Lightroom. They are stored on your hard drive somewhere, instead you put them, or to the place where you education Lightroom to put them.

    Lightroom is a database. When you import a pohtos, a record is created in the database for each photo, which contains the file name and the location of each photo. When the photo is no longer in the location Lightroom is looking (because somehow the file or folder has been moved, renamed or deleted outside of Lightroom), Lightroom indicates that it does not find the photo (or the photo is missing).

    Therefore, find the photo using your operating system. Once you have found the photo, you must tell Lightroom where the photo is, and what's his name. The exact tools used in this step are described here indetail: Adobe Lightroom - find folders and files moved or missing

  • "File not found: hard (blah blah blah)" error power on VM but file No. Longer specified in. VMX

    The 11 workstation, I receive the following error message, try to start a copied virtual machine:

    File not found: C:\Share\Copy drive\Windows C VM XP Professional XP model 50 GB-000005-cl1-000014 - cl1.vmdk

    This file is required to power on this virtual machine. If this file has been moved, specify the new location

    The. VMX file stated that:

    scsi0:1.present = 'TRUE '.

    scsi0:1.filename = "C:\Share\Copy of the drive\Windows of VM XP C XP Professional model 50 GB-000005-cl1-000014 - cl1.vmdk.

    scsi0:1.mode = "independent-persistent."

    But these lines have been deleted.  I have attached the edited VMX file that causes Workstation generating the error.

    If this VMDK file is specified is no longer in the VMX file, where Workstation becomes the name of the file when it produces the error message?  Why it generates this error message?

    The steps that I've taken to try to resolve this problem:

    1. close and re-open my computer.

    2 reboot the host (Windows Server 2012 R2 Essentials)

    I am answering my own question here.  The problem turned out to be in the virtual machine. VMSD file.  The file apparently contains a 'roadmap' of snapshots and registrations for the drive there, I removed from the. VMX file.  After removing the references to these pictures inside of the. VMSD file, I still met a configuration error because the number of snapshots is always set to '2 '.  This isn't the number of snapshots that you would normally think during a snapshot; on the contrary, it is the number of virtual drives for which there are snapshots.  After making the following change:

    snapshot.numSnapshots = '1 '.

    the virtual machine starts to the right without any problem.

  • Try to reinstall Adobe Photoshop Extended CS5 Win - have downloaded the file, but when I double click on the .exe to install file, I get and which words "Installer could not initialize - file not found" error message can someone help me?

    Try to reinstall Adobe Photoshop Extended CS5 Win - have downloaded the file, but when I double click on the .exe to install file, I get and which words "Installer could not initialize - file not found" error message can someone help me?

    Hi Rose

    Refer to the troubleshooting error messages | CS5, CS5.5 bootstrapper

    Installer [CS5.5] initialization failed. Please download Adobe Support Advisor to detect the problem.

    I hope this helps.

    Thank you

    Varun

  • VMDK file not found - but it's there!

    I have a client who has problems with a virtual machine.

    Running Windows 7 Home 64 bit.

    VMWorkstation 6.5.1

    VM is supposed to be running Windows XP Professional, but I get the message

    "File not found: Windows XP Professional.vmdk.

    This file is required to power on this virtual machine.  If this file has been moved, please provide its new location. »

    This hard file is 0KB.

    What is corrupt and how to fix it?

    See attached the results of support.vbs.

    First of all, you said it was 0 KB and existing in the screenshot is the same size and the date and time as the .vmem file, so I suspect that you copied the .vmem file and renamed him so it's really not a hard file.  You can not just arbitrarily copy and rename the files from one type to another type to solve this problem!   Even if it was a hard file, it is corrupted by the entries in the .log file and at this size, there is nothing to fix even if it was the original hard that the guest operating system has been installed has him toast now.

Maybe you are looking for