Hi
My dynamically loaded text works fine if I publish to flash 6. When I publish to Flash 7 it won’t show! I did find another thread on this and their problem ended up being syntax. I’ve checked over and over and can’t find a problem. Could someone have a look and let me know if they see anything that might be causing the grief? Here’s the code:
stop();
booksLoadVars = new LoadVars();
booksLoadVars.load("bookTitle.txt");
function showMission(){
_root.attachMovie("mission","mission_mc",this.getNextHighestDepth(),{_x:375, _y:299});
_root.createTextField("mission_txt",101,220,40,330,500);
mission_txt.html=true;
mission_txt.multiline=true;
mission_txt.wordWrap=true;
mission_txt.embedFonts=false;
mission_txt.variable="missionContent";
mission_txt.htmlText=booksLoadVars.missionContent;
myTextFormat = new TextFormat();
myTextFormat.font = "Arial";
myTextFormat.size = 11;
myTextFormat.color=0x000000;
mission_txt.setTextFormat(myTextFormat);
}
mission_btn.onRelease=function(){
showMission()
}
PS. When I set embedFonts to true it won’t work in either flash 6 or 7.
Thanks for having a look!