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.
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.
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?
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?
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
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?
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.
Copy link to clipboard
Copied
It is not my Asset Manager, it's the starling.utils.AssetManager.
Copy link to clipboard
Copied
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.