Hi Jeremy,
We greatly appreciate your help to solve this problem !! 🙂
We have carefully followed your latest tips and applying the most recent fix, and these are the new findings:
1) We made a test with the final version of our app.
Now, when we make a deploying selecting multiple directories ("/ data / *", "/ conf / *", "/ audio / *") we check as all files in these directories are included within the APK file, but all are inside "/assets/". That is, our directory structure is not recreated in /assets/. Moreover, with the "monitor" tool we check as it gives an error loading "flash.swf":
September 3 to 10: 56: 01,492: I / GFX (8906): initialize
September 3 to 10: 56: 01,496: I / GFX (8906): register: 0
September 3 to 10: 56: 01,560: I / GFX (8906): Warning: OpenAssetFile: flash.swf not found
September 3 to 10: 56: 01,561: I / GFX (8906): Error: failed to open Loader 'assets: //flash.swf'
September 3 to 10: 56: 01,561: I / GFX (8906): Warning: Failed to load assets: //flash.swf
September 3 to 10: 56: 01,566: I / GFX (8906): register: 2
2) We perform a simple test, using only the intro of our app (a simple animation with a short melody):
In this case everything works fine. "flash.swf" is loaded smoothly and everything runs as expected except it does not sound anything. We can see the following error related with our melody "jingleCayro" using the "monitor" tool:
October 3 to 10: 04: 37,538: I / GFX (10858): initialize
October 3 to 10: 04: 37,542: I / GFX (10858): register: 0
October 3 to 10: 04: 37,639: I / GFX (10858): Loading asset flash.swf: start 1140 size 51934
October 3 to 10: 04: 37,641: I / GFX (10858): Loading asset flash.swf: start 1140 size 51934
October 3 to 10: 04: 37,656: I / GFX (10858): Error: can not find SymbolClassLoader With Resource id = 1 name = 'jingleCayro'
October 3 to 10: 04: 37,665: I / GFX (10858): Socket: Could not associate local address (port 7534) With listener socket. Error 98
3) We made another simple test using a single swf. In this case, it is the main file of our app, which is responsible for loading the intro and the other sections dynamically. It's the same "flash.swf" file that was used in Test 1), but in this case have not been incorporated more files when deploying. Again, we get the same error than test 1):
September 3 to 10: 56: 01,561: I / GFX (8906): Error: failed to open Loader 'assets: //flash.swf'
4) We perform more tests, using a single swf file. In this case, we tried in the "main menu" of our app, and the "game" itself.
- The "main menu" works, but without sound buttons, the same error mentioned in 2)
- The "game" does not work. Same error mentioned in 1) and 3).
At this point, we note two very interesting things:
a: We have different flash files that give error when trying to be loaded as master files "flash.swf".
b: No sounds work embedded in the flash library, such as the jingle that plays in the intro, or the sounds of the buttons on the main menu.
I've sent you a PM with the files involved in these tests. We hope that this info and tests help you to solve these problems...
We are open to any suggestions or to try any new test. Thank you very much in advance, Jeremy!!!!!!!!!