DJ_Foxx
October 25, 2003, 11:15am
1
Whats up yall. Here is my problem. The tutorial that is on this site gives me exactly what i need except for my issue is that i dont use a button for my button i use a movie clip and use scripting to make it work. The problem is is that when i add the script to add the import the text it changes the movie clip into the text. weird i tell yall. how do i target the text box? e-mail me please.
Lukasz@lapdesign.net
Thanks for the help
system
October 25, 2003, 5:17pm
2
Can you post your code here?
system
October 25, 2003, 5:38pm
3
on (release) {
loadText = new loadVars();
loadText.load(“text1.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
system
October 25, 2003, 5:45pm
4
I cant see anything wrong with your code. Can you post your fla?
system
October 25, 2003, 5:47pm
5
would you like me to e-mail it to you?
system
October 25, 2003, 5:48pm
6
email it to claudiodj at yahoo dot com
system
October 25, 2003, 5:51pm
7
you got mail. its a little over 4 mb
system
October 25, 2003, 5:57pm
9
system
October 25, 2003, 5:57pm
10
[edit] nevermind i got the file
system
October 25, 2003, 6:04pm
12
for some reason it wont load the text
system
October 25, 2003, 6:06pm
13
Try this code:
on (release) {
loadText = new loadVars();
loadText.load("text1.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
_parent.newsBox.html = true;
_parent.newsBox.htmlText = this.myNews;
}
};
}
system
October 25, 2003, 6:08pm
14
beautiful!!! it worked. thanks so much
system
October 27, 2003, 7:14pm
16
Hey Dj Foxx,
Do you know why I can’t add special characters
in the text file? If my text1.txt file has … à or é…
for example… the code gets all messed up.
Any ideas?
Thanks! :crazy:
Neuhaus3000
system
October 27, 2003, 7:27pm
17
system
October 27, 2003, 7:30pm
18
Hey, thanks Scotty! :beam: