Dynamic text

try this

make a movie with 3 buttons (1,2 and 3)

for each button you need a .txt file.

now on each button add these actions

[AS]
on (release) {
loadText = new loadVars();
loadText.load(“NAME OF YOU TEXT FILE.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
[/AS]

now call your dyanamic text box “newsBox” [no “”]

and that is it, save the .fla, .swf and the 3 different .txt files in the same folder. (very important:) )

here is a winzip file you you to look at

============
be warned it is a whole 6kb:smirk:

i have just found my fault

in the text files you MUST add

myNews=

on the first line

then there it is:trout:

let me explain

the code is this

[AS]on (release) {
loadText = new loadVars();
loadText.load(“NAME OF YOU TEXT FILE.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
[/AS]

the part you need is

[AS]newsBox.htmlText = this.myNews;[/AS]

the part that says

[AS]myNews[/AS]

you can change this to anything you want.

this is what you add to the start of the text files

so if you change it to

[AS]newsBox.htmlText = this.chris9902;[/AS]

the start of you text file would start

[AS]chris9902=[/AS]

hope that help

i will wirte a full tutorial when i get some time:)