_visible
57
_totalframes
Availability
Flash Lite 1.0.
Usage
my_mc
:_totalframes
Description
Property (read-only); returns the total number of frames in the
my_mc
movie clip.
Example
The following code loads mySWF.swf into Level 1, and then 25 frames later, checks to see
whether it is loaded:
loadMovieNum("mySWF.swf", 1);
// 25 frames later in the main timeline
if (_level1._framesloaded >= _level1._totalframes) {
tellTarget("_level1/") {
gotoAndStop("myLabel");
}
} else {
// loop...
}
_visible
Availability
Flash Lite 1.0.
Usage
my_mc
:_visible
Description
Property; a Boolean value that indicates whether the movie clip that
my_mc
specifies is visible.
Movie clips that are not visible (
_visible
property set to
false
) are disabled. For example, a
button in a movie clip with
_visible
set to
false
cannot be clicked. Movie clips are visible
unless explicitly made invisible in this manner.
Содержание FLASH 8-FLASH
Страница 1: ...Flash Lite 1 x ActionScript Language Reference...
Страница 6: ...6 Contents...
Страница 46: ...46 Flash Lite Global Functions...
Страница 62: ...62 Flash Lite Properties...
Страница 76: ...76 Flash Lite Statements...
Страница 110: ...110 Flash Lite Operators...
Страница 162: ...162 Index...