Focusenabled (Movieclip.focusenabled Property); Focusrect (Movieclip._Focusrect Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

See also
beginFill (MovieClip.beginFill method)
(MovieClip.beginGradientFill method)

focusEnabled (MovieClip.focusEnabled property)

public focusEnabled :
If the value is
undefined
button. If the
focusEnabled
if it is not a button.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example sets the
my_mc.focusEnabled = false;

_focusrect (MovieClip._focusrect property)

public _focusrect :
A Boolean value that specifies whether a movie clip has a yellow rectangle around it when it
has input focus. This property can override the global
value of the
_focusrect
does not override the global
instance is set to
true
the single movie clip instance.
Note: For Flash Lite 2.0, when the
MovieClip._focusrect
events.
Also for Flash Lite 2.0, you can change the color of the focus rectangle using the fscommand2
SetFocusRectColor
color of the focus rectangle is restricted to yellow.
Availability: ActionScript 1.0; Flash Lite 2.0
464
ActionScript classes
Boolean
or
, a movie clip cannot receive input focus unless it is a
false
property value is
focusEnabled
Boolean
property of a movie clip instance is
property. If the
_focusrect
or
, it overrides the setting of the global
false
_focusrect
is set to
), the movie clip still receives all key press and mouse
false
command. This behavior is different from Flash Player, for which the
,
beginGradientFill
,
moveTo (MovieClip.moveTo method)
, a movie clip can receive input focus even
true
property for the movie clip
_focusrect
null
_focusrect
property is disabled (in other words,
to
my_mc
false
property. The default
; the movie clip instance
property of a movie clip
property for
_focusrect
:

Advertisement

Table of Contents
loading

Table of Contents