I’m still not sure how to link Dynamic text boxes to HTML documents, even after reading many articles on Dynamic text in Flash MX. Can anyone help or point me to the code, if any.
bigjake
I’m still not sure how to link Dynamic text boxes to HTML documents, even after reading many articles on Dynamic text in Flash MX. Can anyone help or point me to the code, if any.
bigjake
can you please describe exactly what you’re trying to accomplish?
No problem.
Currently I am manually inputing copy into a text box in MX and selecting the Dynamic text option so I can attach a scrollbar. What I would like to do is have the text box automatically update from a HTML document, and be able to have the formatting and links of the HTML document appear in the text box. Is this possible? If I am still not being clear let me know, it’s hard being a bigjake.
Im trying to do this as well. So that I can format my text and be able to update from a html file
Why not a txt file, check this out:
Actually i did that and that tutorial worked great. Only problem was I need html formating. So I found out how to do that and link to the text file. Then another problem arouse. For some reason my scroller would not scroll the whole .txt document. As if the .txt document was too long. Right now Im just pasting into flash (I have a long list of games) and the scroller works no matter how much text. Of course I wanted to use a .txt file fo reasier updating but it just isnt working with my long .txt file for some reason.
To HTML enable the text box you are using for the above tutorial change the code to this…
loadText = new loadVars();
loadText.load("kirupa.txt");
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.html = true;
scroller.htmlText = this.kirupatext;
};
And if your code seems to chop off, make sure there isn’t a “&” symbol in your text file, because that starts a new variable so flash will cut it off at that point.
:: Copyright KIRUPA 2024 //--