Helpful Information
Home
Categories
Contact us
Category: Flash
Flash with CSS
Hi
I used this script in flash
extranal text file is run but css is not working
plz help me
myData = new LoadVars();
myData.onLoad = function() {
myHeadline_txt.htmlText = this.content;
myText_txt.htmlText = this.content;
loadtextStyle = new TextField.StyleSheet();
myText_txt.setStyle("backgroundColor","0x8F908E");
loadtextStyle.load("css.css");
};
myData.load("example1.txt");
stop();
my_txt.html = true;
my_txt.htmlText = exampleText;
Try that.
Thanks
privacy (GDPR)