This is probably very easy. I’ve had this problem before, but I can’t remember how to solve it.
I’ve got this text-field where a text file called “jonas.txt” is loaded into. This is working fine, I’ve got the åäö-signs to work, but my problem is that I can’t use htmltags in the txt-file.
I’ve checked the <>-box in the text-field’s properites. Is there anything else you need to do?
Sorry for this… There’s been too long since I did this…
Check for these mistakes:[list=1]
[]Make sure the textbox is dynamic.
[]Make sure it is set to Render Text as HTML- <>.
[*]Your actionscript should be:
loadVariablesNum("jonas.txt", 0);
[]Make sure that the txt file does not have a .txt extension as it’s name. All you need to rename it to is jonas. It’s already a .txt so don’t put that in the name.
[]Make sure the textbox has a variable.
[*]Make sure your text file has: WhateverVariable=<b>Whatever Text</b>
[/list=1]If all of the above doesn’t work, tell me…:puzzle:
Sharif…
This is exactly what I’ve done.
The thing was that I had to include some characters in the dynamic textfield that was bold and italic. Maybe flash had to understand how the fonts looked like in bold and italic because I’m embedding the fonts. But… It’s the same effect for Verdana so that really can’t be it. Well, it works fine now. Thanks anyway!
*Originally posted by claudio *
**http://www.kirupaforum.com/forums/showthread.php?s=&threadid=26083&highlight=text+field **
Although u embedded the font, Flash doesnt include bold and italic automatically. Thats y bold and italic tags may not work.
To solve dis problem, create an text box using the same font u want, using bold, italic and regular style. Embeed the font.
Just in case u dont know, if you embed the font in one text field, all text fields in the movie can use it.
Keep in mind dat embedding the bold and italic style will triplicate the file size. So only embed bold and italic if u really need to use them.