Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
3 State Button
Prime Number Xtra
Direct Media Balance Slider
Integer to Hex
Cinemac
Set Sound Property of a Flash member
Foundation Flash 5
Get Key Code
Rollover Sound
cXtraInfo
MediaMacros Xtras Mall
 

 

 

Xtra Spell Check Xtra

Added on 4/6/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"

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail