irgendiwe peile ich das gerade nicht mit embedFonts
hier mal ein auszug:
ActionScript:
stop();
System.useCodepage = true;
this.content_txt.embedFonts = true;
lt_xml = new XML();
lt_xml.ignoreWhite = true;
lt_xml.onLoad = function(success) {
if (success) {
fillIt(2);
} else {
trace("Fehler beim laden");
}
};
lt_xml.load("xml_data/test.xml");
function fillIt(num) {
var hl = lt_xml.childNodes[num].attributes.headline;
var con = lt_xml.childNodes[num].childNodes[0].attributes.text;
this.content_txt.htmlText = "<font face='HelveticaNeue-Roman' size='14' color='#25465F'>"+hl+"</font><br><br>"+con;
}
//test
for (var z = 0; z<6; z++) {
var t = this["btn_"+z];
t.z = z;
t.onRelease = function() {
_global.kat = this.z;
mask.play();
};
}