2 Replies Latest reply on Apr 20, 2011 3:53 AM by Tauqeer_QAU

    Squiggly with UITextfield

    Tauqeer_QAU Level 1

      Hi All

      I am using Squiggly allright with textarea but unable to do with UITextfield

      because SpellUI.enableSpelling(); takes UIComponent as an argument

      Can anyone give me an idea . how to use squiggly with UITextfield.???


        • 1. Re: Squiggly with UITextfield




          The following may help you:


          1.Download the squibbly package.

          2.It has src, lib and example folders.

          3. Open a flex project and in libs folder copy all the contents of squibbly/libs folder

          4. Similarly copy all the contents of squibbly/src to your src folder in flex application


          Now in your flex application try this code


          <?xml version="1.0" encoding="utf-8"?>

          <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"




          import com.adobe.linguistics.spelling.SpellUI;

          import mx.events.FlexEvent;



          protected function application1_creationCompleteHandler(event:FlexEvent):void


          // TODO Auto-generated method stub

          SpellUI.enableSpelling(textArea, "en_US");






          <mx:TextArea id="textArea" width="20%" height="20%" fontSize="20" text="Test Speling in TextArea "/>






          Hope this Helped You




          • 2. Re: Squiggly with UITextfield
            Tauqeer_QAU Level 1

            I have done all this, it is working with textarea.

            But I am not able to use Squiggly with UITextfield