[alicebot-general] Actionscript 3 Pandorabot Chat Class

Marcus Dickinson waarangel at gmail.com
Thu May 15 11:26:09 PDT 2008


With Actionscript 3 so prevalent as an internet language nowadays, I thought
I might update Jamie Durante's old Flash Chat interface into something more
current.

Some features:

One line implementation - You can get a basic Flash Chat Pandorabot going by
filling in the "yourbotid" and "Common Bot Name" arguments in this one line
of code:
var botChat:Chat = new Chat("yourbotid","Common Bot Name",
stage.stageWidth/2,stage.stageHeight/1.3, 85, false);

Drag - The topbar is draggable like any other application window.

Close Button - Want users to stay on your site but able to turn the chatbot
off? There's a handy close button for that.

Typing Speed - A simple variable (85 up above), that controls the typing
speed of your robot. Want it to respond more slowly or quickly? Adjust that.

Anyway, there are a lot more subtle things in the class as well, and I hope
you enjoy it.

You can download the necessary files at
http://www.diariesofwar.com/downloads/AS3Chat.zip

Help me get my own Superbot, make a paypal donation to waarangel at gmail.com

Thanks

Marcus J. Dickinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.alicebot.org/pipermail/alicebot-general/attachments/20080515/c708e05e/attachment.html 


More information about the alicebot-general mailing list