I dont understand :-
it seems to be working here
heres one example
and what happens when I scroll down
Look mine
How the hell did you get it to do that?
[edit]Oh, I know why. Its the font! I changed the font and it displays fine. Unbelieveable isn’t it?[/edit]
I sent you the files
Thats weird :!:
thanks claudio. one last question, if i wanted to put a link in, how would I do it? because I tried turning on “render as HTML” and putting in < a href > and all the other associated crap, but it didn’t work, do you know? or know anyone who does know? or know anyone who knows someone who does?
You would have to use something like this:
loadtotal = new LoadVars();
loadstuff = new LoadVars();
loadtotal.load("total-number.txt");
loadtotal.onLoad = function() {
one.html=two.html=three.html=month.html=true;
postnum = this.total;
three.htmlText = this.total;
total = this.total;
loadstuff.load(postnum add ".txt");
loadstuff.onLoad = function() {
one.htmlText = this.content;
two.htmlText = this.yearday;
month.htmlText = this.month;
};
};[/AS]And use html tags on your text files
Thanks alot claudio.
When you say use tags, does that include the < body > <head> etc tags?
Nope.
Check this:
http://www.macromedia.com/support/flash/ts/documents/htmltext.htm
thanks for everything. I’ll post when the site is finished.
(grin)
welcome
erk, I tried putting HTML formatting in the text file, but it doesn’t render the text as html even though one.html = true and one.htmlText = this.content, aint working. Sorry to bother, but how would I get it to work?
example, here is entry 17 edited:
content=<p align=“left”>So much news. not really anything that you care about but Wade and Hanna are now an item, which I’m sure Hanna would not want me to be posting on the internet. It sounds good, but it’s really lame 'cause one of my hobbies was beating on Hanna, but Wade thinks he now has to protect her to the extreme so he keeps shaking his fist at me. One day I’ll kick his *** so bad. I want to play a show and write a newsletter. So for a show, we need a drummer. For a newsletter we need people to sign up for the mailing list. Now. Thank you and I love you.
< a href=“http://www.anklespank.iwarp.com/mailinglist.html”> Mailing List </ a>
last thing - Steve’s essay for english about why ninjas are better than pirates. This is so illin’ yo. It’s Ill-legal… < a href=“http://www.anklespank.iwarp.com/neverendingqu.htm”> Here </ a></p>
&yearday=30th 20 03&month=April
its exactly like above, only minus the spaces in the < a > tags and the < /a > shows up
It works fine here
again? figures.
[edit]I changed the font, and that didn’t make a difference. here is the code I am currently using
stop();
loadtotal = new LoadVars();
loadstuff = new LoadVars();
loadtotal.load("total-number.txt");
loadtotal.onLoad = function() {
one.html=true;
postnum = this.total;
three.text = this.total;
total = this.total;
loadstuff.load(postnum add ".txt");
loadstuff.onLoad = function() {
one.htmlText = this.content;
two.text = this.yearday;
month.text = this.month;
};
};
i did that because one is the only text field that requires HTML formatting.[/edit]
I sent you the files
Ok, that is incredibly weird.
The code there is almost the same as mine, only difference is you turned on html for all text boxes, yet, when I copy paste that into the file i’m using it stops working.
Conclusion: Working on my computer f*cks your files up.
lol
I dunno why it works for me but not for you
Unbelieveable isn’t it? Well, thanks once again.