Capstreamsound Property; 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
capabilities (System.capabilities)

_capStreamSound property

_capStreamSound
Deprecated since Flash Lite Player 2.0. This action was deprecated in favor of the
System.capabilities.hasStreamingAudio
Numeric variable; indicates whether the device can play streaming (synchronized) sound. If
so, this variable is defined and has a value of 1; if not, this variable is undefined.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example plays streaming sound if
on(press) {
canStreamSound = _capStreamSound;
if (canStreamSound) {
// play a streaming sound in a movieclip with this button
tellTarget("music") {
gotoAndPlay(2);
}
}
See also
capabilities (System.capabilities)

_focusrect property

_focusrect = Boolean;
Specifies whether a yellow rectangle appears around the button or movie clip that has
keyboard focus. If
_focusrect
around the currently focused button or movie clip as the user presses the Tab key to navigate
through objects in a SWF file. Specify
This is a property that can be overridden for specific instances.
102
ActionScript language elements
property.
canStreamSound
is set to its default value of
if you do not want to show the yellow rectangle.
false
is enabled:
, a yellow rectangle appears
true

Advertisement

Table of Contents
loading

Table of Contents