
imageInactiveShaderFilter [read-write]
ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 10.0.0.0
Array; an Array containing one or more ShaderFilter. The array is applied to all inactive thumbnail images, and is added on to any built-in filter effect selected through the imageInactiveFilter parameter. This parameter is only compatible SWFs that are published for Flash Player 10.
The following ActionScript embeds a Pixel Bender filter in a SWF, creates a ShaderFilter, then applies the filter to imageInactiveShaderFilter.
import flash.display.*;
import flash.filters.*;
import flash.utils.ByteArray;
import flash.net.*;
[Embed("grayscale.pbj", mimeType="application/octet-stream")]
var GrayscaleFilter:Class;
var grayShader:Shader = new Shader(new GrayscaleFilter() as ByteArray);
var grayFilter:ShaderFilter = new ShaderFilter(grayShader);
my_tg.imageInactiveShaderFilter = [grayFilter];