_yscale (Button._yscale property)
public _yscale :
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
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)
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
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
298
ActionScript classes
Number
,
_x (Button._x property)
System.capabilities
. When you click and release the button,
my_btn
,
_xscale (Button._xscale
object to determine the type of device a user
or
HTTP method.
GET
POST
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?