ActiveDen

TV/Television Static Effect

A television static effect with sound using Flash 8 BitmapData Class and the Noise filter. It also uses EventDispatcher and listeners to trigger a “volumeMax” event and a “kill” event to enable you to add further actions upon each event firing.

Simply create a mask of any shape to define the area you want to become animated static and use code such as this :

tv = this.attachMovie("mc_tvStatic", "mc_tvStatic", this.getNextHighestDepth(),{_x:417, _y:90, seed:1000, low:0, high:255, channelOptions:1|2|4, greyScale:true, sound:"sfx_static", alphaInc:3, volInc:5});

This will pass in variables for different noise effects (eg. greyScale=false will produce coloured noise), positioning, a sound effect linked from the library and some default alpha and volume increment/decrement values to fading the noise in/out.

Then to start, call :

tv.startFadeIn(2,20); //fade in with alpha of 2 and volume of 20 each onEnterFrame

And to stop, call :

tv.startFadeOut(20,50); //fade out with alpha of 20 and volume of 50 each onEnterFrame.

You must sign in or sign up to purchase this item.

$4Regular Licence

$4

Regular Licence a website (commercial, personal, client), free game, e-card, or presentation - Details

$20Extended Licence

$20

Extended Licence an app, paid game, or other software project, a website template for sale - Details

118 Purchases 4 Comments

Buyer Rating
12345 ( 22 ratings )
meerkatlookout

meerkatlookout

  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
View Portfolio
Created 18 July 07
ActionScript Version Unknown
Documentation Unrated
Opens With Flash 8 (8+)
Published Size 76kb
by
by
by
by
by