Hi,
Could someone be so kind and help me to convert this to Actionscript 3.0?
Thanks a lot!
stop();
System.useCodepage = true;
mc.textko.htmlText = “Loading contents…Please wait”;
myDataStyle = new TextField.StyleSheet();
myDataStyle.load(“king.css”);
textko.styleSheet = myDataStyle;
myData = new LoadVars();
myData.onLoad = function() {
textko.html = true;
textko.condenseWhite=true;
textko.wordWrap = true;
textko.multiline = true;
textko.htmlText = this.myVariable;
};
myData.load(“http://youDomain.com/getContents.php”);