User Guide

298 ActionScript classes
_yscale (Button._yscale property)
public _yscale : Number
The vertical scale of the button as applied from the registration point of the button, expressed
as a percentage. The default registration point is (0,0).
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example scales a button called
my_btn. When you click and release the button,
it grows 10% on the x and y axis. Enter the following ActionScript in Frame 1 of the
Timeline:
my_btn.onRelease = function(){
this._xscale ~= 1.1;
this._yscale ~ 1.1;
};
See also
_y (Button._y property), _x (Button._x property), _xscale (Button._xscale
property)
capabilities (System.capabilities)
Object
|
+-System.capabilities
public class capabilities
extends Object
The Capabilities class determines the abilities of the system and player that host a SWF file,
which lets you tailor content for different formats. For example, the screen of a mobile device
is different from a computer screen. To provide appropriate content to as many users as
possible, you can use the
System.capabilities object to determine the type of device a user
has. You can then either specify to the server to send different SWF files based on the device
capabilities or tell the SWF file to alter its presentation based on the capabilities of the device.
You can send capabilities information using a
GET or POST HTTP method.