Maybe you can try calling one or all of these methods on your text field after the style changes:
invalidateProperties(); invalidateSize(); invalidateDisplayList(); If I had to choose one, I think invalidateSize() should work on it's own. This isn't my expert opinion, I just know I have to call these methods in my custom item renderers after updating the data or text styles. Hope this helps, ~Aaron On Mon, Mar 31, 2008 at 7:48 AM, doug31415 <[EMAIL PROTECTED]> wrote: > I am writing an application that uses CSS files compiled to SWFs. The > different CSS files > reference different embedded fonts, for example A.css uses Arial while > B.css references > Courier. In the main application, when I want to change styles, I call a > method with this line: > > StyleManager.loadStyleDeclarations (newStyleURL, true, false, > ApplicationDomain.currentDomain); > > However, the result is that the textFields get unusual formatting. For > example, they "forget" > to line-wrap. They do pick up the new embedded font and other styles. > > Can anyone suggest what might cause this and what to do about it? > > >