User Manual

Home HomePre page Html Chat Parameters | Data API Next page

Avatar Chat Parameters


Avatar Chat Client offers a group of parameter interface so that it can make the system support passing parameters from outer sources to initialize some settings. Avatar Chat Client supports two ways of passing these parameters.

1. Passing parameters with http get, all parameters should follow up avatarchat.swf.

2. If you use openSWF(123flashchat.swf, '634', '476') to embed Avatar Chat Client to your web page, these parameters should be defined with javascript declaring variables before invoking the openSWF().

Avatar Chat Parameters Sample

<script src="123flashchat.js"></script>
<script language="javascript">
init_host ="";
<DIV id="flashchat">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-99B8-444553540000" codebase=",0,19,0" WIDTH="990" HEIGHT="600" id="topcmm_123flashchat">
<PARAM NAME=movie VALUE="avatarchat.swf?init_user=myusername&init_password=mypassword&init_room=1& view_private=true&init_avatar=boy&">
<PARAM NAME=quality VALUE="high">
<PARAM NAME="menu" value="false">
<EMBED src="avatarchat.swf?init_user=myusername&init_password=mypassword&init_room=1& view_private=true&init_avatar=boy&" quality=high menu=false WIDTH="990" HEIGHT="600" TYPE="application/x-shockwave-flash" PLUGINSPAGE="" scale="noscale" name="topcmm_123flashchat" swLiveConnect="true"></EMBED>

Avatar Chat Parameters List (avatarchat.swf)

Parameter Default value type Description
init_group default String the group's value
init_host * String the primary server's host value
init_port 51127 Number the primary server's port value
init_user username String User's name
init_password   String User's password
init_room   number Your users can skip the room list page and automatically log directly into a specific avatar chat room. "Init_room" could help users with auto-login-room.
init_lang   String This parameter helps the avatar chat client to load a defined language file.
init_lang in HTML code will disable the language value in the client.xml because init_lang has a higher priority.
In this way, a dynamic web application can choose to show the local language for specific users in that country.
view_private   Boolean(true/false) Whether or not to display the private message window when user enters a room.
init_avatar   String Predefine the gender icon of the user.
blueman/ orangeman / redwoman / whitewoman (avatar SWF file name)

Related links:

For Developers

Home HomePre page Html Chat Parameters | Data API Next page

About Us | Contact us | Company Blog | Partnership | Affiliate | Forum | Privacy policy | Terms of Use | SiteMap | Links

Call Sales Now! USA +1 315 636 6657, UK +972 59 9380061, HK +970 56 8169833

Share 123 Flash Chat:

Copyright © TopCMM Software Limited 2001-2016 All Rights Reserved.

Error: Table '123flashchat201311.ip_countries' doesn't exist