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

imageRolloverShaderFilter

imageRolloverShaderFilter [read-write]

ThumbGrid Version: ThumbGrid 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 rolled-over thumbnail images, and is added on to any built-in filter effect selected through the imageRolloverFilter 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 imageRolloverShaderFilter.

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.imageRolloverShaderFilter = [grayFilter];

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