User Manual

Home HomePre page Html Chat Parameters | Data API Next page

Avatar Chat Parameters


Introduction

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_user="myusername";
init_password="mypassword";
init_room=1;
view_private=true;
init_avatar="boy";
init_host ="www.123flashchat.com";
init_port="99";
init_group="default";
openSWF('avatarchat.swf','990','600');
</script>
<noscript>
<DIV id="flashchat">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-99B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,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&init_host=www.123flashchat.com&init_port=99&init_group=default">
<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&init_host=www.123flashchat.com&init_port=99&init_group=default" quality=high menu=false WIDTH="990" HEIGHT="600" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" scale="noscale" name="topcmm_123flashchat" swLiveConnect="true"></EMBED>
</OBJECT>
</DIV>

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 408-728-6398, UK +44-20-3286-1986, HK +852-8121-1988

Share 123 Flash Chat:

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

Powered by Greek-Chat.gr