Groups | Blog | Home
all groups > flash (macromedia) > october 2004 >

flash (macromedia) : Building a spell checker as one types



rastapasta
10/14/2004 10:47:44 PM
Trying to build an flash app that checks Spelling, Capitalization, Punctuation
and Indentation compaired to an exsiting string as one type into the app.

any suggestions could be emailed to me at jahred@pobox.com

or answer here...

Thanks in advance


RTalisman
10/14/2004 11:02:48 PM
rastapasta,

Simply use a .txt file (with break-points) with loadVariables, into a Dynamic
Text Field. Then you compare from " " to |Current User Position| as a string,
with each break-point segment. Each break-point segment contains a word from
the dictionary, propper name, etc. However, building the algorithim that
determines possible fixes for mis-spelt words and Grammar corrections is not as
easy as I think you are hoping, i.e. you can't just expect the computer to know!
But you can try. Get used to String commands, and how to transfer strings and
read them ni and out of variables from a start point to an end point, etc. If
you want code I've already made to let you read multiple lines of strings that
contain more than 100 characters in total length, let me know, and I'll post it
again (the code has been posted on this General forum before...) Good luck with
your project, it's not an easy one.

Regards,

Rangar Talisman
AddThis Social Bookmark Button