11 Replies Latest reply on May 14, 2009 7:33 AM by ahmed.malik

    [AIR] File Not Found in MAC OS but Works in Windows

    ahmed.malik Level 1

      Hi All

       

      I have an htmlFolder in my "src" which contains html files. What I do is, that at runtime i render the html File in <mx:HTML id="htmlView"> using the following code.

       

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

       

       

      Problem ->

      This works fine in windows, but does not work in MAC OS. Probably because windows uses folder structure, not sure about MAC OS, but i guess it installs as a single file containing sub-folders hidden from user. Does anyone knows a solution to it?

       

      Thanks and Regards,

      Ahmed.