Forceframerate 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

If the global
_focusrect
movieclips is that keyboard navigation is limited to the Tab key. All other keys, including the
Enter and arrow keys, are ignored. To restore full keyboard navigation, you must set
to
. To restore full keyboard functionality for a specific button or movieclip,
_focusrect
true
you can override this global property by using either
MovieClip._focusrect
Note: If you use a component, FocusManager overrides Flash Player's focus handling,
including use of this global property.
Note: For the Flash Lite 2.0 player, when the
Button.focusRect = false
still receives all events. This behavior is different from the Flash player, for when the
property is disabled, the button or movie clip will receive the
_focusrect
events but will not receive the
rollOut
Also for Flash Lite 2.0, you can change the color of the focus rectangle by using the
fscommand2
SetFocusRectColor
where the color of the focus rectangle is restricted to yellow.
Availability: ActionScript 1.0; Flash Lite 1.0
Example
The following example demonstrates how to hide the yellow rectangle around any instances in
a SWF file when they have focus in a browser window. Create some buttons or movie clips
and add the following ActionScript in Frame 1 of the Timeline:
_focusrect = false;
See also
_focusrect (Button._focusrect property)
property)

_forceframerate property

_forceframerate
If set to
, this property tells the Flash Lite player to render at the specified frame rate. You
true
can use this property for pseudo-synchronized sound when the content contains device
sound. It is set to
false
, the Flash Lite player might skip rendering certain frames to maintain the frame rate.
true
Availability: ActionScript 2.0; Flash Lite 2.0
property is set to
false
.
or
MovieClip.focusRect = false
press
command. This behavior is different from Flash Player,
by default, which causes Flash Lite to render normally. When set to
, the default behavior for all buttons and
Button._focusrect
property is disabled (such as
_focusrect
and
events.
release
,
_focusrect (MovieClip._focusrect
or
), the button or movie clip
and
rollOver
Global Properties
103

Advertisement

Table of Contents
loading

Table of Contents