What's the best way to load and apply a Pixel Bender filter to video during playback?
You can attach a Pixel Bender filter to any Display Object in Flash
The Flash Video object has a filters array property that you can just add a Pixel Bender filter to just as you would an image or movie clip.
If you look at the inherited properties for the video object in ActionScript 3
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Video.html#propertySummary
you'll see the filters property. You can add a Pixel Bender filter to that array:
var shader:Shader = new Shader( <byte array of Pixel Bender bytecode that was embedded or
loaded> ); var shaderFilter:ShaderFilter = new ShaderFilter( shader ); videoObject.filters = [ shaderFilter ];
+