Our thoughts in real time
« KillerDeals v1.0 iPhone Application submitted to Apple | Main | Launching EC2 On Demand: Video Transcoding »
March 21, 2009
TrackBack
TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a010535c6a007970b01156f2b161f970b
Listed below are links to weblogs that reference Keeping it Clean: Creating a Profanity Filter with Flex:
Comments
Verify your Comment
Previewing your Comment
This is only a preview. Your comment has not yet been posted.
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Hi Kanu,
Unfortunately, I cannot post the exact source files, as they were created for a client. That being said, if you put the two functions listed above in an AS class (e.g. ProfanityFilter.as), you should be good to go (you'll also need a resource bundle(s) with the entry: chat_Blacklist=word1, word2, ...).
You can get a list of profanity words on the internet. Here's a link to a good source list: http://www.jivesoftware.com/jivespace/docs/DOC-1906
Good luck!
d
Posted by: Doug Kadlecek | May 25, 2009 at 01:54 PM
can you please add all the files related with the post as well as the list of profanities.
Posted by: kanu | May 25, 2009 at 09:36 AM