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_root

The init_root is the string of an URL or a directory.
It is only useful when the chat html file and the 123flashchat.swf are located in different directories.

With init_root, the swf can automatically load client.xml, lang folder and skin folder under the specified root directory:

<script language=¡°javascript¡±>

init_root=¡± http://www.yourhostname.com/yourdir/ ¡°

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_root= http://www.yourhostname.com/yourdir/¡±>
<PARAM NAME=quality VALUE=¡°high¡±>
<PARAM NAME=¡°menu¡± value=¡°false¡±>
<EMBED src=¡°123flashchat.swf?init_root= http://www.yourhostname.com/yourdir/¡± 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>

Note : please add a slash at the end of this value,
It should look like the following:

http://www.yourhostname.com/yourdir/

It should NOT look like the example below:
http://www.yourhostname.com/yourdir

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