• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Had to qualify build for AIR 18 with swf-version for File.cacheDirectory

Explorer ,
Aug 30, 2015 Aug 30, 2015

Copy link to clipboard

Copied

I ran into an odd issue today, I created a build using AIR 18 and was getting undefined for File.cacheDirectory. In my build parameters, I only had -target-player 18.0. I added a -swf-version parameter (=20), which I hadn't had to do with AIR 15, then it worked. BTW, I am compiling on Windows Vista 64-bit with the v1 AS compiler. I am in the process of moving my development to the v2 AS compiler, maybe that will solve this issue.


-jonathan

TOPICS
Performance issues

Views

251

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines