Access your Activa Live Chat account here »

Activa Live Chat Features

contact us Contact Us by E-mail

call us 888–4–CHAT–44
(888–424–2844)

Free Trial

Get full access to Activa Live Chat for 14-days with a trial sign up.

Professional Services

Inquire about Activa Live Chat's professional services for your custom needs.

Create custom Buttons & Links for Flex/AIR Application

Activa Live Chat Support » Customization » How To

Article ID: 43 | Last Modified: 06/01/2008

When deploying Activa Live Chat for a Flex/AIR Application, you can create custom buttons or links to enable users to request a chat.

Follow these simple steps:

  1. Login to your Account Dashboard at http://www.activalive.com
  2. Click "Buttons & Links" from your Account Dashboard
  3. Click "Add New Button/Link"
  4. Under Step 6 "Creation Options", select "Develop a Custom Button/Link for a Flex/AIR Application"
  5. Save your new button or link
  6. You will be provided with a link to download the ALC SDK (choose Flex 2 or Flex 3 depending on your Application)

After downloading the SDK, you will find a sample file named "Chat_Application_Sample.mxml" inside the "Custom RIA Integration" folder. In this sample source code, there is an example of how you can use a simple Flex LinkButton in place of a standard ALC ChatButton.

You can use any Flex Component, but it is recommended to use a component that you can add a click event handler to so that the user can request a chat when they click the component.

The sample also provides the code necessary to register your custom component as an ALC Button/Link, and how to request a chat when a user clicks the component.