var my_str:String = String(url_array.pop());
output_txt.text = unescape(my_str);
};
When you click each button, the file name of the SWF containing the buttons displays in the
Output panel.
useHandCursor (Button.useHandCursor property)
public useHandCursor : Boolean
A Boolean value that, when set to
cursor) displays when the mouse rolls over a button. If this property is set to
pointer is used instead.
You can change the
useHandCursor
takes on the new cursor behavior. The
prototype object.
Availability: ActionScript 1.0; Flash Player 6
Example
Create two buttons on the Stage with the instance names
Enter the following ActionScript in Frame 1 of the Timeline:
myBtn1_btn.useHandCursor = false;
myBtn1_btn.onRelease = buttonClick;
myBtn2_btn.onRelease = buttonClick;
function buttonClick() {
trace(this._name);
}
When the mouse is over and clicks
the pointing hand when the button is over and clicks
_visible (Button._visible property)
public _visible : Boolean
A Boolean value that indicates whether the button specified by
are not visible (
_visible
Availability: ActionScript 1.0; Flash Player 6
(the default), indicates whether a pointing hand (hand
true
property at any time; the modified button immediately
useHandCursor
myBtn1_btn
property set to
false
property can be read out of a
myBtn1_btn
, there is no pointing hand. However, you see
.
myBtn2_btn
my_btn
) are disabled.
, the arrow
false
and
.
myBtn2_btn
is visible. Buttons that
Button
375
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?