User Manual
|
||||||||||||||||||||||||||||||||||||||||||||||
Avatar Chat ParametersIntroduction 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="93"; init_group="default"; openSWF('avatarchat.swf','930','600'); </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="930" 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=93&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=93&init_group=default" quality=high menu=false WIDTH="930" 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)
Related links:
|
||||||||||||||||||||||||||||||||||||||||||||||