I have an mx:HTML control inside a ViewStack with the creationPolicy setting to "all". Unfortunately this seems to trigger this error: "Parameter htmlContent must be non-null" I need this creationpolicy on the ViewStack in order to access certain components in advance.
Any suggestions ?
you could set the default location of the html component to location="about:blank" and it should quit complaining.
Oops, I found the problem:
mx.controls.HTML.htmlText = myClass.myProperty;
public var myProperty:String;
Should have been:
public var myProperty:String = "";
Anyway, thanks again for helping!