well, thanks for the pointer! my textfield’s instance name is "box; variable name “textbox.” after your hints i found in the actionscript manual the methods & attributes you were kind enough to offer.
so the alignment portion of the code is now:
//instantiate the format
myformat = new TextFormat();
//set margins for textfield
myformat.leftMargin = 10;
myformat.rightMargin = 25;
//apply format to textfield instance
however, while this does work when the text content is a variable inside the flash movie, it doesn’t seem to work when you are loading an external html file. what dumb thing am i missing?
is there a different method or attribute for the html? should i just put this alignment in the external file, as i can with the html tags? the actionscript manual doesn’t offer an example of the correct usage of the alignment tags as supported html, although it does say they are supported. . .