Wow, I haven't used the forum in a while, but here I am again.
I'm quite stumped with this, so I'd appreciate any help that comes my way.
Basically what I want is to have a dynamic text box load an external text file so that I can easily edit my news without having to go into flash every time I want to update.
I know how to load a text file into a dynamic text box, but the way I have it set up right now I have to edit the text file with all the html tags and to have the variable in there.
Is there anyway I can just use word or something to edit my text with fonts/bolds/sizes/colors etc etc etc without all the html code and then just load THAT file into flash? Because I'm not the best at the code, and it's a pain to go through the whole thing every time making sure I have all the <br> and <p> every time I just want a space below my text.
I also noticed that in the dynamic text box, it adds a "}" at the end, is there anyway of getting rid of that?
If you need more info just let me know. Any help and I'll be extremely grateful, thanks.
-Nick
PS: this is the code I have current in the frame:
newsVar = new LoadVars();
newsVar.onLoad = function() {
news_box.htmlText = newsVar.newsData;
}
newsVar.load("news.txt");
}