AudreyLucy
Technical User
How do you format text (FlashMX) in a INPUT text block? I've tried using the properties panel, it changes the text on the stage but then when the movie is tested it all looks the same, no italics or underlining (just an example) or anything.
Then I tried to do the same Formating with ActionScript I used the tutorial in Macromedia's FLASH MX ADVANCED TRAINNING FROM THE SOURCE. That didn't work either.
Is ActionScript only for use controlling Dynamic Text Fields? I suspect that "style1" was to represent the text file that the text field would draw from. But would It work if I used it as an instance name for my text block? Heres the script:
style1 = new TextFormat();
with (style1) {
align = "left";
bold = false;
color = 0x1A1917;
font = arial;
indent = 2;
italic = true;
leading = 0;
leftMargin = 20;
rightMargin = 20;
size = 20;
target = null;
underline = false;
url = null;
}
Then I tried to do the same Formating with ActionScript I used the tutorial in Macromedia's FLASH MX ADVANCED TRAINNING FROM THE SOURCE. That didn't work either.
Is ActionScript only for use controlling Dynamic Text Fields? I suspect that "style1" was to represent the text file that the text field would draw from. But would It work if I used it as an instance name for my text block? Heres the script:
style1 = new TextFormat();
with (style1) {
align = "left";
bold = false;
color = 0x1A1917;
font = arial;
indent = 2;
italic = true;
leading = 0;
leftMargin = 20;
rightMargin = 20;
size = 20;
target = null;
underline = false;
url = null;
}