i have a site that i’m making that is getting its txt dynamically from external .txt files. this is easy but the problem comes when i want to format in a link or some other html code. i have done it before so i know if can be done but i can’t seem to find the source for what i did before.
when the text is displayed it looks like html code in a txt viewer not the way it’s supposed to look in a browser … you can see all the tags n stuff.
yes on the dynamic txt box in flash i have the lil button pressed down that says format txt as html. but it’s not working. i know its something simple that i’m missing … could someone please help
the dynamic text field should contain a var like myText… then at the begining of your text file put myText=“yada yada yada” then like you said format as HTML in flash (I am sure youve done all this, but I had to say it in case)…
Mind you Flash only supports HTML ol.d ( ) you can only use links and basic text formatting. It seems like what you posted should work… maybe post your fla with a txt?
You shuga,
forget about the variable, this is MX forum, so use MX way:
myText.text=variableUsedInExternalFile;
myText.html=true;
So in your external file: &content=whatever<tag>linl</tag>etcetc
then
textfieldInFlash.html=true;
textfieldInFlash.text=content; (after checking it’s finished loading of course…).
This MUST work!
It’s really time i get the tutorial finished for all this text crap…