the stylesheet class has a load() method you should be using. you should not be using the loadvars class.
I don't think that I am using the LoadVars class. That appears to be for the external HTML file (which I'm trying **not** to use.)
Shouldn't I just be able to change the innerHTML of the textfield object, without affecting its stylesheet connections?
The docs make it sound like I just need to set .html to true, and .multiline to true. The AS3 docs, while more precise, also seem a little ambiguous about what happens after you've set the data. My hope is to change the contents over and over again without having to reload the style sheet or create (potentially hundreds) of one line HTML files.
Well, nevermind. I switched the whole widget to AS3 and now it works.
1 person found this helpful
you were assigning a style before your stylesheet was loaded.
Ah, thanks. Right. I always forget that these things take time -- even when it's just on my local system.