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

Run from CD

Community Beginner ,
Sep 03, 2014 Sep 03, 2014

Copy link to clipboard

Copied

Hi,

I have built a Desktop application with captive runtime that runs OK when I run it from my hard disk, when i burn everything to a CD the application doesn't start, it shows a white screen but never loads the intro.

My question is if the exported applications can run from a CD in general or if there is something wrong with my code.

Thanks in advance.

Views

368

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

correct answers 1 Correct answer

Community Beginner , Dec 05, 2014 Dec 05, 2014

Problem solved !!! I managed to run the application, either  by burning the CD from a MAC, which writes it in Hybrid CD format, or on Windows using UDF filesystem and not ISO I was burning it to.

Votes

Translate

Translate
Advocate ,
Sep 09, 2014 Sep 09, 2014

Copy link to clipboard

Copied

This is errors in your code only. I done many different CD/DVD and it's works.

Do you copy to CD folder with all files from Adobe AIR app?

Votes

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
Community Beginner ,
Sep 12, 2014 Sep 12, 2014

Copy link to clipboard

Copied

I have found where the problem is. It hangs at code:

homeAssetManager.enqueue(appPath.resolvePath("assets/home"));

where:

private var homeAssetManager:AssetManager = new AssetManager();

var appPath:File = File.applicationDirectory;

Any ideas why it hangs? I'm suspecting it tries to write to the directory. Should I in a way declare that the directory is read-only?

Votes

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
Advocate ,
Sep 12, 2014 Sep 12, 2014

Copy link to clipboard

Copied

homeAssetManager.enqueue(appPath.resolvePath("assets/home"));

why not code directly homeAssetManager.enqueue(File.applicationDirectory.resolvePath("assets/home"));

Also I don't know what you doing inside homeAssetManager

Votes

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
Community Beginner ,
Sep 12, 2014 Sep 12, 2014

Copy link to clipboard

Copied

I did code it directly as homeAssetManager.enqueue(File.applicationDirectory.resolvePath("assets/home"));

but obviously this wasn't the problem.

Does AssetManager enqueue assets from read-only directories?

Votes

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
Advocate ,
Sep 12, 2014 Sep 12, 2014

Copy link to clipboard

Copied

Does AssetManager enqueue assets from read-only directories?

This is your AssetManager How I can know this? )
I don't know how you loading your files and etc. I used Adobe AIR on CD / DVD and don't have any issues with resources loading.

Votes

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
Community Beginner ,
Sep 12, 2014 Sep 12, 2014

Copy link to clipboard

Copied

It is not my Asset Manager, it's the starling.utils.AssetManager.

Votes

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
Community Beginner ,
Dec 05, 2014 Dec 05, 2014

Copy link to clipboard

Copied

LATEST

Problem solved !!! I managed to run the application, either  by burning the CD from a MAC, which writes it in Hybrid CD format, or on Windows using UDF filesystem and not ISO I was burning it to.

Votes

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