dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Dynamic Text & SubScript

  1. #1
    Senior Member
    Join Date
    Nov 2000
    Location
    Allentown PA
    Posts
    350
    Does ANYONE know how to get Flash to display Super and Sub script text in a Dynamic HTML formated Text box? The SUP tag doesn't work and I NEED to find a way to do this.

    Thanks in Advance

    Frequent-C
    http://www.Freq-Fest.com

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    682
    What's with your comment on Oldnewbie? Is that a joke?

  3. #3
    FK's Official War Driver wiReZ's Avatar
    Join Date
    Jun 2002
    Location
    wireless
    Posts
    615
    Well, Frequentc, I do not think the sub and superscript is supported in dynamic text. I believe that it only allows HTML 1.0 formatting.

    Try this...
    http://www.macromedia.com/support/fl...s/htmltext.htm

  4. #4
    Junior Member
    Join Date
    Apr 2008
    Posts
    8

    yes

    I want to share with you the way I get may subscript and superscript inin dynamic and input text field in Flash:
    <sub> & <sup> tags are not supported by Flash but you can
    use Subscript & Superscript in dynamic and input text field in Flash:

    Download & install Subscript & Superscript fonts from http://www.subscriptfont.com or http://www.superscriptfont.com
    You will need to restart Flash software after installed fonts.
    Create a dynamic text field with Arial font embeded. Set the HTML property to true.
    Create a dynamic text field with Subscript font embeded.
    Create a dynamic text field with Superscript font embeded.
    Use HTML tag to set text to subscript or superscript like below:
    Some text<font face="Superscript\"></font>
    If you are using ActionScript to test the htmlText, use script like below:
    my_txt.htmlText = "Some text<font face='Superscript'>TM</font>";
    Data can come from a XML file, TEXT file or from flash itself.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center