Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  

Back
Products

ThumbGrid


Using ThumbGrid without Director

Additional support

  1. Community forums
  2. Email support staff

Company

  1. Products
  2. About SlideShowPro
  3. News
  4. Follow SlideShowPro on Twitter
ThumbGrid

imageInactiveShaderFilter

imageInactiveShaderFilter [read-write]

ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 10.0.0.0

Description

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.

Note: This parameter is not available in the Component Inspector. It is modifiable through ActionScript only.

Example

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];

Page last modified by tdominey on October 14, 2010, at 11:46 AM
© 2011 SlideShowPro. All Rights Reserved.