|
The SmartFoxBits Base Pack is currently available, containing the following components:
As the following diagram shows (click to enlarge), the components architecture is simple but effective: a central component, the Connector, takes care of the comminication between SmartFoxServer and all the other SmartFoxBits.
In the ActionScript 2 version, the Connector also acts as an advanced event dispatcher serving the components and your application.

SmartFoxBits for ActionScript 2 architecture diagram

SmartFoxBits for ActionScript 3 architecture diagram
|
|
|
SmartFoxBits' Connector
SmartFoxBits Base Pack

The SmartFoxBits' Connector component lets you establish a connection to a SmartFoxServer instance running on a specified IP address and TCP port. As stated above, the Connector takes care of the communication between SmartFoxServer and the other SmartFoxBits. The ActionScript 2 version also implements an advanced event dispatching system (similar to ActionScript 3 event dispatching) which lets you add multiple listeners for the same event: this is perfect to build modular architectures.
Main features:
- advanced event registration & dispatching system (ActionScript 2 version);
- customizable connection status messages;
- customizable connection status icons;
- fully skinnable user interface;
- complete text styling support.
Images (ActionScript 2 version):
 |
The connectors' five statuses,
with default icons and messages |
 |
Vegetabled: an advanced skin example |

|
|
SmartFoxBits' LoginBox
SmartFoxBits Base Pack

The SmartFoxBits' LoginBox component lets the user login to a zone on a SmartFoxServer instance. This component handles username and (optionally) password input. It also displays login errors and can forbid the default SmartFoxServer guest login.
Main features:
- 7 login form layouts available;
- can be easily integrated with an external server-side page for credentials validation;
- password input textfield and background window-like frame can be visible or hidden;
- guest login can be inhibited;
- customizable labels and error messages;
- auto-show feature on succesful connection and auto-hide feature on successful login;
- char input restriction available;
- fully skinnable user interface;
- complete text styling support.
Images (ActionScript 2 version):
 |
LoginBox's "side-top" layout, with password input
textfield
and background window-like frame
|
 |
LoginBox's "column-center" layout, with customized
username label and no background window-like frame
|
 |
Vegetabled: an advanced skin example |

|
|
SmartFoxBits' ChatBox
SmartFoxBits Base Pack

The SmartFoxBits' ChatBox component enables public interaction among users inside a server room, allowing them to read and write public chat messages or IM-like interaction by means of private, cross-room messages.
Main features:
- private and public messaging supported;
- customizable message headers (custom html text with placeholders for sender name, date, time);
- 2 message layouts (grouped or non-grouped);
- customizable message color;
- injectable chat history;
- message colorpicker and chat clear button can be hidden;
- administrator and moderator messages supported;
- char input restriction available;
- fully skinnable user interface;
- complete text styling support.
Images (ActionScript 2 version):

|
|
SmartFoxBits' RoomList
SmartFoxBits Base Pack

The SmartFoxBits' RoomList component shows a list of available rooms in the zone to which users are connected, so that they can access them by clicking on a list item.
By default the RoomList component shows all the three available room types (chat, game and "limbo"), handles password request for private rooms and allows joining game rooms as player or spectator. Join room errors are also handled.
Main features:
- customizable list items label and icon, which can be changed dynamically on the basis of Room properties;
- overridable default room join process;
- rooms can be grouped or hidden depending on their type, and sorted by name;
- animated join panel;
- customizable room item row renderer for advanced list personalization;
- fully skinnable user interface;
- complete text styling support.
Images (ActionScript 2 version):

|
|
SmartFoxBits' UserList
SmartFoxBits Base Pack

The SmartFoxBits' UserList component displays the list of users in a room an allows private messaging.
This component shows all user types: standard, guest and moderator, where "guests" are recognized by their name.
When a user in the list is clicked, if the feature is enabled, an inner ChatBox component is displayed for private messaging. If the user clicking on the list is a Moderator, also Kick and Ban buttons are shown.
Main features:
- customizable list items label and icon, which can be changed dynamically on the basis of User properties;
- embedded SmartFoxBits' ChatBox, to manage private messaging (can be disabled);
- user highligthing in case of unread private messages (with number of messages displayed);
- moderation features (kick & ban) for Moderators;
- customizable kick and ban messages;
- user icons can be hidden;
- animated private messaging panel;
- customizable room item row renderer for advanced list personalization;
- fully skinnable user interface;
- complete text styling support.
Images (ActionScript 2 version):

|
|