You can now easily use the Squiggly spell-checking library with every TextField in Actionscript (not only Flex).
import com.apdevblog.text.spelling.ApdevSpellChecker; // ... // create + add new TextField var txt:TextField = new TextField(); addChild(txt); // create new SpellChecker and set TextField as target // second parameter is the URL to the dictionary var url:String = "data/usa.zwl"; var checker:ApdevSpellChecker = new ApdevSpellChecker(txt, url);
© 2009 apdeblog.com