EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Alpha; Currentframe

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...
_currentframe 49
Example 3: The car variable in the movie clip instance mc2 nested in the movie clip instance
mc1 that resides on the main Timeline:
/mc1/mc2/:car
Example 4: The car variable in the movie clip instance mc2 that resides on the current
Timeline:
mc2/:car
_alpha
Availability
Flash Lite 1.0.
Usage
my_mc:_alpha
Property; the alpha transparency value of the movie clip specified by the my_mc variable. Valid
values are 0 (fully transparent) to 100 (fully opaque), which is the default value. Objects in a
movie clip with
_alpha set to 0 are active, even though they are invisible. For example, you
can click a button in a movie clip whose
_alpha property is set to 0.
Example
The following code for a button event handler sets the _alpha property of the my_mc movie
clip to 30% when the user clicks the button:
on(release) {
tellTarget("my_mc") {
_alpha = 30;
}
}
_currentframe
Availability
Flash Lite 1.0.
Usage
my_mc:_currentframe
Description
Property (read-only); returns the number of the frame in which the playhead is located in the
timeline that the
my_mc variable specifies.

Table of Contents

Related product manuals