|
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 |