Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2003, 10:58 AM
CL CL is offline
Junior Member
 
Join Date: May 2003
Posts: 3
Default Loading txt files does not work in SWFKit        

??? 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
Reply With Quote
  #2 (permalink)  
Old 05-19-2003, 03:48 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re: Loading txt files does not work in SWFKit * *

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
Reply With Quote
  #3 (permalink)  
Old 05-19-2003, 10:33 AM
CL CL is offline
Junior Member
 
Join Date: May 2003
Posts: 3
Default Re: Loading txt files does not work in SWFKit * *

???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
Reply With Quote
  #4 (permalink)  
Old 05-19-2003, 10:55 AM
CL CL is offline
Junior Member
 
Join Date: May 2003
Posts: 3
Default Re: Loading txt files does not work in SWFKit * *

Figured it out!

I loaded the flash and the txtfiles into different levels. After I changed the levels to be the same, you methods worked!

Thanks a lot!

CL
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:46 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.