EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Totalframes; Visible

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 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...
_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.

Table of Contents

Related product manuals