und das nächste problem:
ActionScript:
meinFormat = new TextFormat();
meinFormat.font = "Arial";
meinFormat.color = 0xFFFFFF;
meinLoadVars = new LoadVars();
meinLoadVars.load("inhalte.php?was=fachbereich");
meinLoadVars.onLoad = function(success) {
if (success) {
for (i=1; i<=3; i++) {
_root.createEmptyMovieClip("fachbereich"+i, 1+i);
_root["fachbereich"+i].attachMovie("area_1", "fachbereich_content_"+i, 1);
_root["fachbereich"+i]._x = 50;
_root["fachbereich"+i]._y = 50+i*30;
_root["fachbereich"+i].onPress = function() {
this.startDrag();
};
_root["fachbereich"+i].onRelease = _root["fachbereich"+i].onReleaseOutside=function () {
this.stopDrag();
};
_root["fachbereich"+i]["fachbereich_content_"+i].createTextField("meinText", 0, -4, -7, 200, 20);
_root["fachbereich"+i]["fachbereich_content_"+i].meinText.setTextFormat(meinFormat);
_root["fachbereich"+i]["fachbereich_content_"+i].meinText.text = _root.meinLoadVars["var_fachbereich"+i];
}
}
};
warum geht das nicht, das textfeld wird nicht formatiert, sprich schrift arial, farbe weiß...
seba