rectangle_1.swi
-----------------
This comonent implements a simple button box. It has 8 properties:
Label		- The text associated with the button.
Toggle		- If true then the button works as on / off button. Otherwise it is "momentary action".
OnClick		- The event function (See below).
ShowBevel	- If true then the button is shown with a raised bevel.
ColorText	- The color of the label text (set when .swf file is played).
ColorPress	- The color of the button when it is pressed. If in Toggle mode, the color of the the button
		when it is on.
ColorOver	- The color of the button when the mouse hovers over it.
ColorBgnd	- The non activated color of the button (off state if using toggle mode).


Event Function
--------------
The above components call a user defined event function when changing their state.
The function takes two parameters: 
1. The name (or group name) of the object.
2. The new value associated with the object.

The event function is assumed to exist at the parent level of the object.
A sample event function is shown below:

function EventListener(group,value)
{
    // send the object name and new value to debug panel.
    trace(group add ":" add value);
}

As the function is passed the name of the component that activated it, a common function can be used to handle
events from multiple components.


