How to set
the transparency of a movie clip with actionscript:
- Create a movie
clip and place
it on stage (in the first frame of the main timeline).
- Click on
the first keyframe in the main
timeline then open the "Actions"
panel.
- Enter this code in
the "Actions-Frame" panel:
onClipEvent(load){
this._alpha = 40;
}
- Press Ctrl
+ Enter to test the movie.
|