Adobe AIR, File Paths in AIR

Posted on 2008-11-14
Last Modified: 2012-05-05
Hi i am making an application for Adobe AIR, created in Flash CS3.

In this i browse the directory structure using filesystem class, and load an image file using that path is working great in Windows. But in MAC the image files are not loading.

Can you suggest a remedy ?
Question by:young_buddha
    LVL 7

    Expert Comment


    Can you trace the file path and show us what it is.

    A bit of the code you are using would also be helpful

    Accepted Solution

    actually i managed to get it to work ..

    need to add file:// for mac or else use  the 'url' property instead of 'nativePath' property of File class  i was using.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Suggested Solutions

    Title # Comments Views Activity
    Converting SWF file to earlier swf versions 7 256
    Flex automation testing 8 682
    AS 3 - Movie editor 7 474
    how can i learn adobe flex step by step 4 61
    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now