| Parameter | 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_host_s | * | String | the secondary server’s host value | | init_port_s | 51128 | Number | the secondary server’s port value | | init_http_s | * | String | the HTTP server’s host value | | init_http_s | 35555 | Number | the HTTP server’s port value | These 7 parameters are added in version 6.8 in order to replace the Connection and Group configuration originally in the client.xml which was removed there now, the admin should configure the 7 parameters to make the 123flashchat.swf communicate with the chat server properly if necessary. Please leave the init_host, init_host_s and init_host_h value to "*" if the chat server and the web server (which hosts 123flashchat.swf file) are located on the same server. If the SWF file is on another web server, you should configure the init_host, init_host_s, init_host_h value according to the chat server domain or IP address. The init_port, init_port_s and init_port_h value must be identical with the ones in fcserver.xml. Notice: if you are upgrading to the current version from the older version (before version 6.8), don’t forget to add the 7 parameters to your HTML page which include the 123flashchat.swf file, otherwise the 123flashchat.swf file will use the default value init_host="*", init_port=51127 and init_group="default" to communication with the chat server. Example: <script src="123flashchat.js"></script> <script language="javascript"> init_host="*"; init_port=51127; init_host_s="*"; init_port_s=51128; init_host_h="*"; init_port_h=35555; init_group="default"; 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_host=*&init_port=51127&init_host_s=*&init_port_s=51128&init_host_h=*&init_port_h=35555&init_group=default"> <PARAM NAME=quality VALUE="high"> <PARAM NAME="menu" value="false"> <EMBED src="123flashchat.swf?init_host=*&init_port=51127&init_host_s=*&init_port_s=51128&init_host_h=*&init_port_h=35555&init_group=default" 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> </noscript> If you want to change client host, keep it match the server host value anyway. One more issue is about flash player. The flash player earlier than version 7 only allow connection with the same domain name for security reason. In flash player 6, For example: the domain "www.123flashchat.com" resolves to 69.93.110.158, the client SWF file located at http://www.123flashchat.com/123flashchat.swf cannot connect to the server if you set host value to: 69.93.110.158, you should set host value to www.123flashchat.com instead. A SWF file located at http://69.93.110.158/123flashchat.swf cannot connect to the server if you set host value to: www.123flashchat.com, you should set host value to 69.93.110.158. Identical numeric IP addresses are compatible. However, a domain name is not compatible with an IP address, even if the domain name resolves to the same IP address. The following table shows examples of compatible domains: |