In previous article we have learned the ActionScript class about sound, string, bitmap. This time we will introduce you more about Textfield class. Some of them is small but very powerful, it will help you create text search engine easily in flex or allows you to use the SpellChecker’s functionality with every normal TextField in Flash. If you are interested why not have a try now?
Posts Tagged ‘TextField’
Someone asked me how to insert text into input components such as TextInput and TextArea at a specified position programmatically.
Solution Summery:TextInput and TextArea are warped for the TextField interactive object contained in the package flash.text. TextField class provides the function replaceText() to help us to complete the insertion.
Maybe you have read RegExr: Online Regular Expression sample(www.regexr.com) , the high-light effect of matched characters is perfect and with the mouse moving will show the detail information of the alphabetic string as the following image show.