Chatter bot in Actionscript 3.0

Hi everyone:

I am working in a AI project: a Chatterbot and it works fine.
I work in webdesign, video, 3D and illustration and this personal project eats my free time :slight_smile:

You should set the answers and questions in the XML file called “bdenglish.xml”, it contains a basic example. The bot will understand the new nodes. 
Actionscript(FLA) processes the user input text and search for an answer in the XML file. The bot can understand several ways to make a question. Also it can memorise the conversation subject if you use XML propierties (It is unfinished)
The user can use ENTER key or the SEND button.
The bot can know the genre of the user because it is male like default, but it search in a female names list.
The output field answer is HTML text, also it support images, animations or sounds.
The bot can chat in several languages.
You can synchronize video with the answers (bot expression), I am woking in a basic function with video.
I am workin in a alternative answer motor, it would work with the XML.
I want to use lipsync in the future for a talking version.
How it works?
- The bot converts the XML database to an multidimensional array.
- The user writes a question
- This input is processed in the AS code
- The bot searchs in the multidimensional array
- The first word must be found
- The bot answer the question or it responds something if the question is not found

I am not programmer and the AS3 bot was hard for me, but it works.
I was trying get a good code and I am work in a better search function.

I hope some criticism and comment from Kirupa masters!

It is in my personal site:
http://www.viewpoint.cl/ai_actionscript_3eng.html