- Flash Multiplayer Virtual Worlds
- Makzan
- 384字
- 2021-08-03 15:29:09
Running examples
The easiest way to run the examples is to browse the examples through the embedded web server.
- Start the SmartFoxServer if it is not running.
- Browse to
http://localhost:8080
in the web browser. - It will load the default page of the embedded web server with SmartFoxServer logo.
- Click the Install Examples if this is the first time while running the examples.
- Click the Browse Examples after the installed examples.
- A list of examples appear and you click on them to have some ideas on what SmartFoxServer can basically do.
Loading a simple chat application
Let's test the Simple Chat in Tutorials (AS 3.0) category.
After loading the simple chat, a progress bar appears with the text connecting to server. If the example failed to connect the server, it will freeze at that screen. If it is connected to the server, a login box appears and asks for the login name.
If you failed to see the login box, there is something wrong. It may be a wrong setting in the configuration file, it may be some other issue that failed to start up the SmartFoxServer, or it may be some issue between the testing browser and the server, for example, firewall port blocking.

As we are testing a multiuser application, we can actually launch many instances of the chat applications to test the real-time chatting.
- Open several new browsers.
- Type in the same address of the chat application in the new browsers. The default URL is
http://localhost:8080/Examples/AS3/SmartFoxChat/bin/.
- Log in to the chat application with different names for different browsers.
- Test the application by sending messages in different browsers. The messages will all appear (almost) at the same time in all browsers.
Let's take a look on how the messages are sent between different chat application clients.
- One of the users types in "Hi" in the chat application.
- The user clicks the Send button to send the "Hi" message.
- The message is sent from the chat application to SmartFoxServer.
- SmartFoxServer decodes the message and broadcasts this messages to all connected clients in the same room.
- All clients who receive the "Hi" message display it on the chat application.
To further understand what SmartFoxServer can do, we may not only test the simple chat example but also test other examples that are provided by SmartFoxServer.
- JasperReports for Java Developers
- Oracle Business Intelligence : The Condensed Guide to Analysis and Reporting
- Adobe 創(chuàng)意大學動漫設計師Flash CS5 + Photoshop CS5 標準實訓教材
- Illustrator CS6核心應用案例教程(全彩慕課版)
- SolidWorks 2021中文版機械設計從入門到精通
- Adobe創(chuàng)意大學InDesign CS5 版式設計師標準實訓教材
- Drools JBoss Rules 5.0 Developer's Guide
- 中文版Rhino 5.0完全自學教程(第3版)
- After Effects 2022從新手到高手
- Microsoft SQL Azure Enterprise Application Development
- 金融精英PPT實操手冊:世界知名公司這樣展示研究報告
- Cinema 4D基礎培訓教材
- 零基礎學Photoshop CS6(全視頻教學版)
- 寫給大家看的PPT設計書(第2版)
- Stata統(tǒng)計分析從入門到精通