I have a dynamic text box with externally loaded text. I want the text to be centered in the box but i cant seem to figure it out. im pretty new at this so ive been going through loads of tutorials to get this website up.
so is there a code i need to use for the text box or do i need to put a code on my txt document???
im using this code for the text box:
myLoadVar = new LoadVars();
myLoadVar.load(“photos.txt”);
myLoadVar.onLoad = function(success) {
if (success == true) {
output.variable = “photos”;
output.htmlText = myLoadVar.photos;
}
};
and the instance name for the dynamic text box: output
thanks in advance