Editing Dynamic Text with HTML

myVari="Top line<BR><BR>Bottom line";

works fine for me.


myVari="<FONT SIZE=4>Top line<BR><BR>Bottom line</FONT>";

does not work for me.

What is the correct way to use the the font size tag?


myVari="<FONT SIZE="4">Top line<BR><BR>Bottom line</FONT>";


I put in quotes, but now it tells me that I don’t have a “;”. But I do!

Scene=intro, Layer=AS, Frame=1: Line 6: ';' expected
     main.main = "<FONT SIZE="24">Testing</FONT>";

Problem Solved.

You must use ‘24’, not “24”. Flash gets confused with 4 ". So you must use 2 ’ and 2 ".