flash mx + html text = bug?
- Started
- Last post
- 1 Response
- atze187
following problem with flash mx: i have an html code stored in a variable myhtml and want to display it in a text field.
he does show links, but what he doesn't show is the text within the bold, italic and underline tags.i did
txtfld.html=true;
txtfld.htmlText=myhtml;my first idea was, that there is a timing problem, but a) would that make no sense as he displays hrefs and the when i trace the content of txtfld.htmlText he shows up the whole source, and b) i've constructed an timeout, so he waits 1 second to assign the html code to txtfld.htmlText after settings txtfld.html=true
any ideas?
- intoxicated0
Yeah I've come across that too. I don't know why the hell it doesn't work since Flash dynamic textboxes are "supposed" to handle basic HTML.
What I do it just type a normal "a" and then a bold "b" and then an italic "c" in the textbox. Then for some reason the html text (bolds, italics and all) get rendered in the box after you call the external file. Don't ask me why. Try it and see if it works for you, since I'm still pissed off about this myself.
I hope this makes sence.