Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Drag Install
Risk
DisplayRes
PowerPoint / PPT Access
VList Xtra
Go Marker of a Movie in current Directory
Vector Shape - Create Polygon
SaveScripts Xtra
Writing HTML in Text member
DirectConnection
 

 

 

Xtra Spell Check Xtra

Added on 4/7/2007

 

Compatibilities:
D7 D8 D8_5 D9 PC Shockwave US

This item has not yet been rated

Author: kfink (website)

This is a scripting xtra for Macromedia/Adobe Director. This is an extremely fast self contained spell checker. It provides suggestions as well as various find and replace procedures.

Price: $0
Mediamacros makes no guarantees that this price is correct

Get the Xtra
Spell Check Xtra
CLICK HERE TO DOWNLOAD!

ABOUT

Created by Kevin Richard Fink
April 5th 2007

THIS XTRA IS PROVIDED AS IS, WITHOUT ANY IMPLIED WARRANTEE! FOLLOW INSTRUCTIONS CAREFULLY AND USE AT YOUR OWN RISK!

This is a work in progress xtra, as such some features are not yet fully operational. Here is the current status of each call:


Complete features: (stable)

FindAndReplace(word, lookFor, replaceWith) -- Replaces a part of a
string in a string with another string. Returns the result.

FindAndReplaceAll(word, lookFor, replaceWith) -- Replaces all parts of a
string in a string with another string. Returns the result.

CheckWord(Word) -- Returns true if the word is spelled correctly

GetSuggestions(word) -- Returns a list of words closely matching
the specified word.


INSTALLATION

Simply extract and copy "SpellCheckXtra.x32" to your xtra directory of your Director Installation


HOW TO USE

-----------------------------------------------------------------------------
checkWord (Object me, String word)

DESCRIPTION:

Returns true if the word is spelled correctly, false if it is not.


USAGE:

object = new(xtra "SpellCheckXtra")
put object.checkWord("test")

-----------------------------------------------------------------------------
getSuggestions (Object me, String word)

DESCRIPTION:

Returns a list of strings closely matching the word specified


USAGE:

object = new(xtra "SpellCheckXtra")
if object.checkWord("testz") then
alert object.getSuggestions("testz")
end if

-----------------------------------------------------------------------------
findAndReplace (Object me, String word, String lookFor, String replaceWith)

DESCRIPTION:

Replaces a string within a string with the specified string.


USAGE:

object = new(xtra "SpellCheckXtra")
alert output.findAndReplace("Testing", "tin", "lg")

outputs:
"Teslgg"

-----------------------------------------------------------------------------
findAndReplaceAll (Object me, String word, String lookFor, String replaceWith)

DESCRIPTION:

Replaces a string within a string with the specified string.


USAGE:

object = new(xtra "SpellCheckXtra")
alert output.findAndReplace("Testingtin", "tin", "lg")

outputs:
"Teslgglg"

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail