This content has been marked as final. Show 6 replies
1. you can't load an html file into a textfield.
2. what's storyText?
3. and you want to use htmText if you're using a stylesheet
Changed to this:
kglad: can you point me to a good tutorial that can straighten this out. The tut I was looking at got me to this sorry state.
you really need two tutorials. one to use css and the other to assign htmlText to a textfield.
only i'm not sure you really need tutorials. you just have one big misconception and a logic problem.
the misconception is that you can load a html document and have it display in a textfield. you cannot.
the logic problem is whatever you're doing in the styles.onLoad handler.
basically, you need to assign your stylesheet to your textfield BEFORE you assign its htmlText property. and hopefully, the html text you assign makes use of the stylesheet tags (or there wouldn't be any point to using that stylesheet).
here's a tutorial http://oman3d.com/tutorials/flash/css/
kglad: Thank you for the link, as I said I used a tut to do this so...................
I'm sure yours will work better and explain better. I'll let you know how it went and what I learned.