PDA

View Full Version : Simple Dynamic Text Box Question



d9085
January 23rd, 2005, 09:01 PM
I am using a Dynamic Text Box named (headline) that reads an external file saved as Headline.txt. The only thing I haven't been able to do, is center the text. It stays left justified. I tried using the center bars in 'Paragraph' but no use.
I've tried <center> </center> but with no luck.
Any suggestions??

Here is what's in the external file:
headline=<center><font face="Franklin Gothic Heavy" size="30"
color="#FFFFFF">Dinner Party!</font></center>

On Frame 71 I have this AS:
stop ();
ifFrameLoaded (71) {
loadVariablesNum ("Headline.txt", 0);
// loadVariablesNum ("empty2.txt", 0);
// unloadMovie (behind_arrow);
// answer = " ";
}

d9085
January 24th, 2005, 06:29 PM
I looked at my old HTML book and found by using <P ALIGN = "CENTER"> worked out just fine.

lunatic
January 24th, 2005, 06:31 PM
Can't you also just set the dynamic text box to be center justified?

d9085
January 24th, 2005, 06:34 PM
I thought so too. And it can be done as long as you don't check the HTML box. As soon as you do that, you need HTML calls.