Home > Products > 123 Flash Chat > Buy
123 Flash Chat
Introduction
Requirements
Server Requirements
Supported Platforms
Hardware requirements
Java Virtual Machine(JVM) Requirements
Port requirements
Client Requirements
Hardware Requirements
Flash Player Requirements
Installation
Overview of files
Installing Chat Server
Windows NT/2k/XP
Windows Visa
Linux
Mac Operating System
Other Unix Operating System
Web server
Insert code
Easy Way
Advanced Way
Configuration
Server Configuration
Fcserver.xml
Connection Configuration
Global Configuration
Server.xml
General Configuration
User Configuration
Log Configuration
Filterwords Configuration
Robot Message
Server API
Modules
Logo Configuration
<room_id>.xml
Client Configuration
Client.xml
Skin Configuration
Predefined Message
Change Private Message Location
flashEmotion configuration
Client Admin Panel
Integrate Database Configuration
Chat Modules
Moderate chat module
Invisible admin chat module
Change nickname module
Pocket-pc & banner chat module
Audio-Video module
Encrypt-message chat module
Event-chat module
Image-transfer module
White-board module
Flash Media Server Setting
Buddy-List module
Visual Avatar Chat Module
Chat Room Remote Controller (MSN edition)
How to customize skin
Programmers Tools
Server API
Get Server Running Status
Send command to server to operate real-time data
Add room
Delete room
Broadcast
Private message
Client parameters
init_user and init_password
init_nickname
init_root
init_room and init_room_pwd
init_lang
init_skin
Admin mode
init_ad
Loading background
init_private and init_private_message
init_listroom
init_invisible
Avatar Chat Parameters
Lite Client
User Profile Interface
Cross Proxy
configuration
Home -> Manual

init_private and init_private_message

A private window can be automatically created in 123 Flash Chat with some words to start the conversation.
This makes it perfect as a one-to-one live support software.

Parameters "init_ private" and "init_private_message" can help you with "auto create private window".

Parameter

value

type

Description

init_private

Receiver name

string

The receiver name in the destination room.

init_private_message

greeting

string

Words you would like to start with.

For example:

If the user name = "abc"; password = "abc"; room id = "1"; the name of the person you want to talk to is "test";
and you want to create a private window by saying "hello", then the script to add into your html code is as follows:

<script language=“javascript”>

init_user=”myusername”;

init_password=”mypassword”;

init_room=”1001”;

init_private=”destusername”;

init_private_message=”message”;

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
&init_private=destusername&init_private_message=message
”>
<PARAM NAME=quality VALUE=“high”>
<PARAM NAME=“menu” value=“false”>
<EMBED src=“123flashchat.swf? init_user=myusername&init_password=mypassword&init_room=1001
&init_private=destusername&init_private_message=message

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>

The code above will enable you to automatically log in to the chat lobby using this account: username: abc, password: abc. And enter the room with id " 1" . If someone named "test" already exists in that room, a private window will be automatically created and the message: "hello" will be sent out. Of course you can remove the "init_private_message" section to cancel sending messages when creating private windows.

updated at 2008-2-28


Warning: include(/home/daniel/www/footer.php) [function.include]: failed to open stream: No such file or directory in /home/daniel/www/htdocs/server_help.php on line 14

Warning: include() [function.include]: Failed opening '/home/daniel/www/footer.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/daniel/www/htdocs/server_help.php on line 14