Highlighted

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

Explorer ,
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

216

Likes

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

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

Explorer ,
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

217

Likes

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
Aug 30, 2015 0

Have something to add?

Join the conversation