Getting Started

You've installed Mesmotronic Multiuser Server, but what now?

Open ports & change your admin password

By default, Mesmotronic Multiuser Server uses port 2040 for applications and 2080 for admin; Windows Server users need to update Local Security Settings by running "secpol.msc /s" from the command line or Start > Run...; users of other Windows products should open the ports in their chosen firewall in the usual way.

The default admin password is "password", which you should change as soon as possible using the Admin Console, found on the Start Menu under:

Add the API

To use the examples and create applications of your own, you need to make sure your chosen integrated development environment (IDE) can find the Mesmotronic Multiuser Server API; the instructions assume Mesmotronic Multiuser Server is installed in the default location.

Please click on the program you use to create SWF files:

Know the basics

Client

Communication between the client and server/other clients is handled by the MultiuserServerClient class, primarily using the call and run methods, and the delegate property:

Server Applications

Document classes for server-side applications must extend the MultiuserServerApplication class and communicate with clients via the application property.

Server-side applications have a main entry point, added as override public function main() in your document class, which should be used in preference to the class constructor.

Server SWFs should be named main.swf or ApplicationName.swf, where "ApplicationName" is the name of your application, and copied to a sub-directory of the applications folder with the same name as your application. For example, if your application is called MyApplication and you installed Mesmotronic Multiuser Server in the default location:

For more information, please take a look at the examples and refer to the Mesmotronic Multiuser Server API Reference.

Try the examples

Along with the server itself, you now have access to a range of examples showing how to use the Mesmotronic Multiuser Server API for ActionScript 3, meaning you can start creating multiuser applications and games right away.

The examples demonstrate client-client, client-server, server-client and inter-room communication and can be accessed via your Start Menu:

Some examples use classes from the open source as3corelib, which you will need to download separately.

Check out the blog

New tutorials and examples, hints and tips are posted on the Mesmotronic Blog on a regular basis.

 

 

Top of page