EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Capstreamsound Property; Focusrect Property

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
102 ActionScript language elements
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 property.
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
canStreamSound is enabled:
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 is set to its default value of true, a yellow rectangle appears
around the currently focused button or movie clip as the user presses the Tab key to navigate
through objects in a SWF file. Specify
false if you do not want to show the yellow rectangle.
This is a property that can be overridden for specific instances.

Table of Contents

Related product manuals