|
|||
|
Have a try:
1. In the "Step 1", check the "Pack additional files", then in the "step 2", add your xml file in the "Application" 2. Add the below code to your Initialize FFish code: Code:
mySWFs = getMovies();
tmpfile = new File(mySWFs[0]);
destpath = tmpfile.parentPath;
var xmlfile = getAdditionalFile("your.xml");
fxml = new File(xmlfile);
fxml.copy(destpath + "\\your.xml");
![]() |
|
|||
|
Could you send me an example to make it clear how's your situation, support@swfkit.com
|
|
|||
|
Ok. I'll try it again
![]() It is a vb app that forms an xml file from a database. The app burns into a CD the xml file and the movie that loads the file. The movie must be a projector, so I have transformed it into an exe file with swfkit. And here is the problem: If I don´t check "Pack movies" the movie loads the xml correctly, but it doesn't work when I check it. żIs there any way to keep the movie packed and load the xml that is not packed? Thanks |
|
|||
|
Hi,
The packed swf file will be extracted to a temporary folder, you can copy the xml file to the temporary folder that contains the extracted swf file, then the situation is the same as without checking "Pack movies". Daniel Jiang's code shows how to do this, please have a try ![]() |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|