White-board Module
With this optional chat module, users can use whiteboard function during chat to make drawing and all other users in the same room can see the drawings or join him to draw more.
The whiteboard has the basic functions as other painting tool, it will be opened in a standalone window floating over the chat screen but still in the same SWF. Admin has the right to enable/disable the drawing and erasing function. Before purchasing and installing this whiteboard, please purchase Flash Media Server from Macromedia first. Or at least install red5 which may not be very stable when many users use whiteboard at the same time.
The sample code to activate white-board function in 123flashchat:
Parameter |
Type |
Default value |
Description |
enable |
string |
off |
Enable or disable white board function |
userDrawPermission |
number |
11110 |
It defines who are entitled to use the drawing function.The value has 5 digits by default, the sequence of the bits from the left to the right represents the admin, moderator, speaker, regular user(registered user) and guests' drawing permission in turn. "1" means ON and "0" means OFF. For example: if you only want admin, moderator , speaker have the drawing permission, then the value will be set to "11100" |
userModifyPermission |
Number |
11110 |
It defines who can use the eraser. The value has 5 bits in default, the sequence of the bits from the left to the right represent admin, moderator, speaker, regular user(registered user) and guests' permission to erase in turn. "1" means ON and "0" means OFF. For example: if you only want admin, moderator , speaker have the right to erase, then the value will be set to "11100" |
width |
Number |
510 |
The width of the whiteboard window |
height |
Number |
400 |
The height of the whiteboard window |
updated at 2008-2-28 |