You are here: Docs Example Code Simple Registered Flash Widget

Simple Registered Flash Widget

This very simple sample demonstrates how a Flash widget can be registered with the Clearspring platform, and therefore given additional capabilities. Unlike when using the kernel, this sample illustrates the widget loading in the Clearspring Container.

Download Now

Concepts Demonstrated

This sample demonstrates:
  • A simple Flash widget being given the Get & Share menu and its viral sharing services with no programming
  • Accessing context information that is passed from Clearspring's servers into the widget
  • Accessing values for specified configuration parameters
  • Getting basic access to the In-Widget Services API

Prerequisites

To view the source, you will need to have Adobe Flash CS3 or Flash 8 installed.

Using the Sample

To build this sample, just load the FLA file into your Flash development environment. To fully-demonstrate it, you will need to place your built SWF on a web server and register it as a Flash widget with the Clearspring platform. For full functionality, you should configure parameters var1-var4 and turn on the server-side context settings, all in the Widget Console's Edit tool. If you just want to view the live sample in this page, you can do that as well.

The Sample In Action