Actionscript:
var scale9_example:Rectangle = new Rectangle(6,6,105,20);
/* Initialize the button with all 3 states (normal, hover, down) using 3 different bitmaps */
var button_example:Scale9SimpleStateButton = new Scale9SimpleStateButton(
scale9_example,
button_skin_normal.bitmapData,
button_skin_hover.bitmapData,
button_skin_down.bitmapData
);
/*
* Scale the button using "width" and "scaleY" properties
* (in general you can use "width", "height", "scaleY", "scaleX" properties for scaling)
*/
button_example.width = 300;
button_example.scaleY = 2;
SWFAddress is a small, but powerful library that provides deep linking for Flash and Ajax. It’s a developer tool, allowing creation of unique virtual URLs that can point to a website section or an application state. SWFAddress enables a number of important capabilities which are missing in today’s rich web technologies including:
Bookmarking in a browser or social website
Sending links via email or instant messenger
Finding specific content with the major search engines
Comments