|
|||
|
??? I loaded some txt. files into flash application at run time, it worked just fine. But when I loaded the swf. file into SWFKit, it did not work. Can anybody help me?
Thanks, CL |
|
|||
|
I thinkyou did check the 'pack movie' checkbox.
The projector runs in a temp folder and therefore can't find the txt-file. You can handle the problem at several ways. - you can add the textfile to the additional files to pack in the application folder. - you can get the application directory with ffishscript and pass it to your flashplayer (getAppDir and Flashplayer.setVariable) (i can make you a demo if you want) - you can uncheck the 'pack movie' option (this is the simplest solution) so the projector is running from its own directory. Be aware that the textfile should also be placed in the application directory |
|
|||
|
???I unchecked the "pack movie" option, and rebuild the swfkit application, but it did not work.
I found out the temp folder using "var filePath = getAppDir() "and sent the path to flash, so that my flash was actually loading the txtfiles from the temp folder, and it did not work. I imported the txtfiles into "application" at step2 in swfkit, and again it did not work. I am using a trial version of SWFKit, could that be the reason? CL |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|