Flash8 Applying CSS Styles

Hi;

Currently I am restructuring a flash site. The reason to this restructure is that the frequently edited contents should be handled by a club’s staff member. In one part of the site the contents are read from a text file and displayed , which works alright. However when I try to load a CSS file and try to apply the styles the display seems to be empty. When I include trace it shows me that the CSS and the text file are loaded but returns an empty display.

Also the other problem is that even if I load and display the contents of the text file alone, it will not display until I embed some characters such as Uppercase, Lowercase, Numerals and Punctuations (around 114 glyphs).

film : is the movie clip in which the trip_txt dynamic text resides.
Since I am using a custom coded scroll bar the maskTrip_mc movie clip acts as mask.

film.setMask(maskTrip_mc);

function getContent(){
var textData = new LoadVars();
textData.load(“trips.txt”);
textData.onLoad = function(success){
if(success){
trace(“Loading complete…”);
film.trip_txt.html = true;
film.trip_txt.variable = “content”;
film.trip_txt.htmlText = this.content;
film.trip_txt.autoSize = true;
film.autoSize = true;
}
else{
trace(“error Loading”);
}
};
}

var format = new TextField.StyleSheet();
var path = “news_styles.css”;
format.load(path);
format.onLoad = function(success) {
if (success) {
trace(success);
film.trip_txt.styleSheet = format;
getContent();
} else {
trace(success);
film.trip_txt.text = “Error loading CSS file!”;
}
};

P.S Guys I am a newbie therefore keep this in mind during your reply…