Update, 2009-09-13: Added example (number #8) with webcam usage.

Apply nice TV effects to your animations with pure actionscript (both AS2 & AS3 versions).

You can use as source:

  • static movieclip
  • animated movieclip
  • flash video (FLV)
  • video object (Camera/Webcam)

List of effects:

  • BlinkTV
  • ChannelTransformTV
  • DistortNoiseTV
  • GradientLightTV
  • NoiseTV
  • ScanlinesTV
  • TintTV
  • WobbleTV

TVFX class + all 8 effects = only 3.8kb

Only effects you really use in your animation are compiled into final SWF file, so if you use only few effects final SWF file size could be even 2kb weight.

  • Sample code usage (AS3/AS2 – same syntax):
import net.chamboow.effects.TVFX;
import net.chamboow.effects.TVEffects.*;

// set TVFX class - source MC, target MC, width, height    
var myTVFX = new TVFX(mcSrc, mcTarg, 400, 300);

// blink effect
var blinkFX = new BlinkTV();

// distort noise effect (set distort range to 2 in constructor)
var distortFX = new DistortNoiseTV(2);

// noise effect
var noiseFX = new NoiseTV();

// scanlines effect (with params 3 and 3)
var scanlinesFX = new ScanlinesTV(3,3);

// tint effect (to color 0x00FF48)
var tintFX = new TintTV(0x00FF48);

// add all effects to render list
myTVFX.addFX(distortFX);
myTVFX.addFX(blinkFX);
myTVFX.addFX(noiseFX);
myTVFX.addFX(tintFX);
myTVFX.addFX(scanlinesFX);

// start render animation
myTVFX.startRender();

Documentation in one PDF file available here:

AS2+AS3: TVFX-Manual-AS2-AS3

Package includes:

  • 8 usage examples (.FLA + .SWF + .AS) for AS2 version
  • 8 usage examples (.FLA + .SWF + .AS) for AS3 version
  • TVFX-Readme.pdf
  • TVFX-Manual-AS2-AS3.pdf
by
by
by
by
by
by