dynamic html text (flash)
- Started
- Last post
- 9 Responses
- kinetic
im using standard 07_55 from miniml and pulling some html text from a .txt file
i have embedded uppercase, lowercase, numbers and punctuation. the font comes through fine...but none of the html parts show up.
i set the text file like this:
loadVarsText = new LoadVars();
loadVarsText.load("news.txt");loadVarsText.onLoad = function(success) {
if (success) {
news.htmlText = this.textVar;
} else {
gotoAndStop("load_error");
}
};easy enough
anyone know why this woudn't be letting the html tags through. ive embedded punctuation so that should work.
thanks :)
- versa0
trying rendering the textBox "as HTML"
- versa0
also try and add this
new.html = true;
before,
news.htmlText = this.textVar;
- kinetic0
its rendered as html already..ill try setting that value to true
- kinetic0
still a no go
weird...ive never had problems with standard in this resepect before
maybe beacuse i haven't used it yet in mx2004...this is the first time
- kinetic0
bump++;
- versa0
dumb question, but did you spell "news" correctly and not just copy what i wrote ( i know yo u are prolly on top of that )
cause i spelled it in singular as
"new"^
- kinetic0
hehe...
i spelt it "news"
- kinetic0
anyone else?
this should be working....i thought maybe it was the file. sometimes in flash something wont work and wont work and then when you make a new file of it its all good.
tried that...still a no go
- kinetic0
well, it would seem that you cannot embed font outlines for a text box AND have it be htmlText.
the two dont seem to go together...i could have sworn i did this before though
grrrr