|
Your users can skip the room list page and automatically log directly into a specific chat room. Parameter "init_room" can help you with auto-login-room.
Parameter |
value |
type |
Description |
init_room |
Room_id |
number |
is room ID (init_room=) instead of room name. |
init_room_pwd |
Room password |
string |
If the room is password protected, you need to set init_room_pwd ( init_room_pwd=)
Of course init_room_pwd is not obligatory. |
For example:
If the user name = myusername, password = mypassword, room id=1001, the code you should add into your html will be as follows:
<script language=¡°javascript¡±>
init_user=¡±myusername¡±;
init_password=¡±mypassword¡±;
init_room=¡±1001¡±;
openSWF('123flashchat.swf','634','476');
</script>
<noscript>
<DIV id=¡°flashchat¡±>
<OBJECT classid=¡°clsid:D27CDB6E-AE6D-11cf-96B8-444553540000¡± codebase=¡°http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,19,0¡± WIDTH=¡°634¡± HEIGHT=¡°476¡± id=¡°topcmm_123flashchat¡±>
<PARAM NAME=movie VALUE=¡° 123flashchat.swf?init_user=myusername&init_password=mypassword&init_room=1001 ¡±>
<PARAM NAME=quality VALUE=¡°high¡±>
<PARAM NAME=¡°menu¡± value=¡°false¡±>
<EMBED src=¡° 123flashchat.swf? init_user=myusername&init_password=mypassword&init_room=1001 ¡± quality=high menu=false WIDTH=¡°634¡± HEIGHT=¡°476¡± TYPE=¡°application/x-shockwave-flash¡± PLUGINSPAGE=¡°http://www.macromedia.com/go/getflashplayer¡± scale=¡°noscale¡± name=¡°topcmm_123flashchat¡± swLiveConnect=¡°true¡±></EMBED>
</OBJECT>
</DIV
To be effective, this parameter must be used in conjunction with the other two parameters: init_user and init_password.
updated at 2008-2-28 |