I have externally loaded html text controlled by CSS which works fine but when it loads the text it is in the middle of the dynamic text box. Not centered vertically but horizontaly (very strange) I can’t seem to get it to start at the top of the text box any suggestions? Here is my AS:
var styles = new TextField.StyleSheet();
styles.load(“editText.css”);
myText.html = true;
myText.styleSheet = styles;
var lv:LoadVars = new LoadVars();
lv.onData = function(content) {
myText.text = content;
}
lv.load(“johannesburg.html”);
That works fine. I even tried to add some height margins to the CSS buit Flash doesn’t support very much CSS.
Thanks,
-josh