ufdive.blogg.se

Adobe flash shockwave player test
Adobe flash shockwave player test











adobe flash shockwave player test

However, the setMask() method (of the movieClip class) appears in the Actions layer of the Timeline, and puts the mask into effect. The gray mask graphic appears to darken the image at first.

adobe flash shockwave player test

You can see this by selecting the oval shape on the Stage.Īfter creating the mask, you place it in a layer above the flower image.

adobe flash shockwave player test

The oval also has an alpha setting of 50% applied to it in the Property inspector. In this sample, the mask is a simple oval shape with a blur applied so that its edges are diffuse, similar to a gradient effect. This sample demonstrates how you can use a graphic with an alpha channel setting as a semi-transparent mask with ActionScript. This makes the person in the video appear to float on top of the Stage. In this case, the video was created with a color-key background, which was then replaced with a transparent alpha channel. Because the video file has been encoded with an alpha channel, the text instance can be seen behind the video. This sample FLA file consists of the video file, placed in Layer 1 of the Timeline, and a text symbol placed in Layer 2. The sample directory also contains a ClearExternalNoVol.swf file, which contains the skin for the video playback component, and the alpha_vid.flv video file. In general, the video file must meet the following requirements:ĭownload the alpha video sample files. To use a video file to create the alpha effect in Flash, the video file must contain an alpha channel. The video alpha channel allows you to make part of each video frame transparent, so that other items on the Flash Stage can be seen behind the video. This sample illustrates how simple it is to create an alpha channel effect with video in Flash. On the Macintosh, browse to Macintosh HD/Applications/Macromedia Flash 8/Samples and Tutorials/Samples/.

adobe flash shockwave player test

In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\Samples and Tutorials\Samples\.You can find many additional sample source files that install with Flash 8 in the Samples folder on your hard disk.













Adobe flash shockwave player test