« Back to slideshowpro.net
SlideShowPro Help Wiki
Recent changes / Search

SlideShowPro for Flash

SlideShowPro for Lightroom

SlideShowPro Director

SlideShowPro Director Hosting

SlideShowPro ThumbGrid

Extras

Screencasts

SlideShowPro for Flash
albumPreviewFilter
Page last modified by tdominey on October 22, 2008, at 12:39 PM

Usage

slideShowProInstance.albumPreviewFilter = [];

Description

Array; an Array containing one or more ShaderFilter. The array is applied to all album preview images. This parameter is only compatible with the ActionScript 3 version of SlideShowPro for Flash, and must be used with Adobe Flash CS4. Published SWF must also target 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 albumPreviewFilter.

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


© 2008 Dominey Design Inc. All Rights Reserved.
About | Contact | Privacy policy | License agreements