Secondly, I seem to have a problem with my CSS loading because when I test my
movie, the formatting is not there. Is there something wrong with this?
bhrLV = new LoadVars();
bhrLV.load("bhr.html");
bhrLV.onLoad = function() {
bridesCass_txt = this.brides_cass;
eventsText_txt = this.eventsinfo;
bridesCass_txt.html = true;
eventsText_txt.html = true;
bridesCass_txt.condenseWhite = true;
eventsText_txt.condenseWhite = true;
};
var bhrStyles:TextField.StyleSheet = new TextField.StyleSheet();
bhrStyles.onLoad = function():Void {
bridesCass_txt.styleSheet = this;
eventsText_txt.styleSheet = this;
};
bhrStyles.load("bhr.css");
This is the only thing in my .css so I don't see how it should be so difficult.
.body {
font-family: "Univers 45 Light";
font-size: 11pt;
color: #808080;
}
.bodyital {
font-family: "Univers 45 Light";
font-size: 11pt;
font-style: italic;
color: #808080;
}
.head {
font-family: "Univers 65 Bold";
font-size: 12pt;
color: #84ABDB;
text-align: left;
}
Text
One last thing... do you still set up HTML documents as you do with .txt
documents where you put the &eventsinfo=string?