Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Problems loading text from an external .txt file online
Index -> Graphics and Design, Web Design -> Flash MX Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
wthef_wc3




PostPosted: Sat May 28, 2005 7:49 pm   Post subject: Problems loading text from an external .txt file online

Ok as the subject states i am having trouble having text appear in a dynamic textbox when it is loaded online (geocities). I know the code is right because when i check the movie in publish preview it is all there. but online it is not. the .txt file was in the same directory as the .fla, both on my comp and online (dont worry i loaded the .txt online as well Smile) can anyone offer any ideas as to what is going wrong.
code:

boxOne = new LoadVars();
boxOne .onLoad = function() {
        insantboxOne.text = this.content;
        };
boxOne .load("boxOneData.txt");
stop();

the important properties are as follows:
type :dynamic
instantname: insantboxOne
line type: multiline (selectable)(n/a)(n/a)

note *No var was used*

any help would be very appreciated.
Sponsor
Sponsor
Sponsor
sponsor
[Gandalf]




PostPosted: Wed Jun 01, 2005 6:08 pm   Post subject: (No subject)

I think you need a mySQL server and program or something of that sort to access the text file online. You can't just upload both to geocities because then whoever inputted something into that file from the flash program would have to log in to your accound, and change it wiht those permissions.
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> Flash MX Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: