Mort
06-04-2003, 04:22 PM
Working with subscript and superscript in an input text box. Have found a way to attach script to a button movieclip (for example: button for subscript 1)
on (press) {
workarea = workarea+subscript1;
}
and on frame one:
_global.subscript1 = "\u2081";
var workarea;
This works in that users can type in the input text box and press the button for subscript 1, however, the button does not put the subscript after the text--rather it drops to the next line.
Any ideas?
on (press) {
workarea = workarea+subscript1;
}
and on frame one:
_global.subscript1 = "\u2081";
var workarea;
This works in that users can type in the input text box and press the button for subscript 1, however, the button does not put the subscript after the text--rather it drops to the next line.
Any ideas?