|
|||
|
You can use the 'Shell.run" method to execute the "mainmovie.exe" in the preload.exe.
You can also add the main movie as an additional file into the "preload" project and check the "pack attachments" option. When you need to load the main movie, call the "getAdditionalFile" method to extract it and use the "FlashPlayer.loadMovie" method to load it. The exe files created by SWFKit won't extract any additional files before calling the "getAdditionalFile" method. So packing a big file into the exe won't affect the loading speed. |
|
|||
|
The second way is recommended.
1. Adding the preload movie into the movie list 2. adding the main movie into the attachment list 3. When you want to load the main movie, using the "getAdditionalFile" to extract the main movie and using the "FlashPlayer.loadMovie" method to load it. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|