Sunday, May 2, 2010

Subscript Superscript Actionscript 2.0 For Input Text

User Friendliness

1) Created to receive user input.
2) Can change font to format subscript, superscript or normal easily by selecting the text and choose one of appeared option buttons next to the selected text (user input)

3) Simple format for developer to display or check user input.
For example :
user input : E=mc2
answer : E=mc<sup>2</sup>

To check :
var answer:String = "
<sup sub intance name>.text.equals(answer); // this code will return true or false value

No comments:

Post a Comment