Share

Subscribe to 123FlashChat Facebook Twitter
Tutorial

Tutorial: How to use 123 flash banner chat or Pocket PC chat module?

Introduction

We call it a module, but actually it's just a special chat client.

Similar to the 123 Flash Chat flash client, it connects to the 123 Flash Chat server and it can communicate well with the flash client. In this mini chat client, you can also send and receive messages.

However it's different to the flash client because it's smaller (both in dimension and in filesize: only 13kb) and fast. It doesn't have to load anything: neither client configuration, skin files or language files.

Remember: to use this chat module you must have already installed the standard version of 123 Flash Chat (whether demo or full version).

Demo

Free usage

This module is FREE.

What you CAN do in HTML code without purchasing this chat module:

  1. Resize it while retaining width and height proportions.
  2. Re-direct the SWF to connect to your host and your port instead of 123 Flash Chat main chat server by adding parameters.
  3. Enable single sign-on by adding parameter.
  4. Enable auto-login-room by adding parameter.
  5. Skip user enter or exit notification by adding parameter.

We'll explain the parameters later.

tandard flash object tag to insert a banner chat or Pocket PC chat to your webpage:

 

<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="176" height="208">
<param name="movie" value="lite_ppc_176_208.swf">
<param name="quality" value="high">
<embed src="lite_ppc_176_208.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="176" height="208">
</embed>
</object>

 

By editing: width="176" height="208", you can adjust its size.
You'd better retain the proportion of the width and height.

If you have already purchased this chat module( the source code), you can configure everything in "config.as", and you can insert the above standard code to your html, skip all the parameters that follows!

Parameters

As we stated before, by adding parameters to HTML code, you can partially customize the inserted Banner Chat or Pocket PC chat.

1). Add the parameter to where?


In standard code, after "lite_ppc_176_208.swf",add a "?", follow with your parameter string. Like this:

init_host=www.yourhost.com&init_user=abc&init_password=pwd&init_room=1001

2). How to add multiple parameters then?


Each parameter has to be delimited by "&", the full flash object code will be like:

 

<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="176" height="208">
<param name="movie" value="lite_ppc_176_208.swf?init_host=www.yourhost.com&init_user=abc&init_password=pwd&init_room=1001">
<param name="quality" value="high">
<embed src="lite_ppc_176_208.swf?init_host=www.yourhost.com&init_user=abc&init_password=pwd&init_room=1001" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="176" height="208">
</embed>
</object>

 

Check the code and you will find that parameters have to be added simultaneously at two places.

3).The parameters list:

lite_ppc_176_208.swf supports following parameters:

parameterdefault value description
init_hostwww.123flashchat.com

Host of the chat server, which can be IP address or hostname.

By default it's the host value defined in config.as.

config.as is included in the chat module source code, which you can get after purchase. If you have already purchased it, edit config.as with text editor, then open lite_ppc_176_208.fla with flash MX 2004 and generate a new SWF file. In this way you can directly call the new lite_ppc_176_208.swf without attaching this parameter "init_host".
init_port51127It must be numerical. Similar with "init_host". If you don't configure it in config.as, you will be connected to the default port. Unless you buy the source code, edit port value in "config.as" with text editor, then open lite_ppc_176_208.fla with flash MX 2004 and generate a new swf file. In this way you can directly call the new lite_ppc_176_208.swf without attaching this parameter "init_port".
init_user 

Without the parameters: init_user=username&init_password=password
users will auto login as guest with a random name: "guestXXXX"

(under these circumstances, please confirm that you enable guest login in the chat server Admin Panel.)

init_password 
init_room1Optional. You will connect to the "defaultRoom" if you don't set this parameter.
skip_notifyfalse

It defines display or ignore notifications of user enter-room and exit-room.

By default it's "false", meaning all information will be displayed.

By setting it to "true", the notification of other enter-room and exit-room events will be skipped, only keeping one's own enter or exit information.

init_keyXH00-YPWS-TI3E-KQLWUsually you just leave it as default.
This value is equivalent with the siteKey in client.xml, which has to be identical with the site-key value in server configuration.

Install flash player for Pocket PC

How to flash chat in Pocket PC with 123 Flash Chat Pocket PC Module?

You must install Flash Player on your pocket PC first. Download Macromedia Flash Player 6 for Pocket PC 2003 (exe 473 KB) .

With Flash Player installed, now you can access the webpage with Flash Chat SWF embedded (rather than a standalone swf)to chat.

What do you get by purchasing the paid edition of the pocket PC and banner chat module?

By purchasing the chat module, by default you can get one hour service, so we can help you with changing the following items:

- logo
- "powered by" information (but if you'd like to keep it, we'll be appeciated it.)
- skin
- dimensions
- language

Just drop us an email to support@123flashchat.com with the details of your purchase and we'll take care of the rest things.

The default dimensions and color schemes:

- 176x208, 468x60, 728x 90;
- blue , orange.

About Us | Contact us | Company Blog | Partnership | Affiliate | Forum | Privacy policy | Terms of Use | SiteMap | Links

Call Sales Now! USA 408-728-6398, UK +44-20-3286-1986, HK +852-8121-1988

Share 123 Flash Chat:

Copyright © TopCMM Software Limited 2001-2014 All Rights Reserved.