Yscale (Button._Yscale Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

mouse_txt.htmlText = table_str;
};
Mouse.addListener(mouseListener);
See also
_xmouse (Button._xmouse property)

_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 Player 6
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)
380
ActionScript classes
my_btn
,
_x (Button._x property)
. When you click and release the button,
,
_xscale (Button._xscale

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF