Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Flash ActionScript Help

    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?

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Provo, UT
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In the textbox properties, I think you can choose no wrap and then it will not wrap it. To me that is what it seems like it is doing. So I would try to make the text box bigger or put in nowrap. Just an idea anyway.

    Michael
    I try to convince 'em that I am computer geek, but I just can't do it. Why? Oh why?

  • #3
    New to the CF scene
    Join Date
    Apr 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    I got my Subscript and Superscript fonts from:
    http://www.subscriptfont.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •