but then i get this error when i try to load an XML
SecurityError: Error #2148: SWF file file:///C|/Main.swf cannot access local resource file:///C|/config.xml. Only local-with-filesystem and trusted local SWF files may access local resources.
meaning that my sandbox setting is not correct
You can't have it both ways w/o user intervention. Otherwise, Flash would
be the virus platform of choice. The user will have to allow your SWF to
access local resources.
A better option is to create an AIR version of your app and put that on the
CD. If you plan ahead, you can use most of the same code from the Flash
i've put -use-network=false on the cd-rom version and prevented the application from entering deeper than the loader level of the loaded swfs that caused problems
seems to have fixed the issue