Flash Script – TV Static Effect

Tweet


type = 'application/x-shockwave-flash'
data = 'http://sitepointstatic.com/flash/tvstatic.swf'
width = '400'
height = '400'
bgcolor = 'black'
>

It’s easy to create a cool TV static effect in Flash. Here’s how it’s done.

Download the sample files here.

1. Create a picture of TV static in your favopurite image editing application. Import this picture in to Flash.

1181_1

2. Convert the picture to a graphic object, and name it "static_img".

3. Select the graphic object, convert it to a movie clip, and name it "static".

4. Double click the static movie clip to access its timeline. Select the existing layer in the static timeline, and create 4 keyframes.

5. Modify the graphic object in each keyframe by rotating it and applying modifications.

That’s it. Now, go back to the main timeline, and test the movie.

Free JavaScript: Novice to Ninja Sample

Get a free 32-page chapter of JavaScript: Novice to Ninja and receive updates on exclusive offers from SitePoint.

No Reader comments