
ADOBE DIRECTOR 11.0
User Guide
136
Install a filter
•
Place the filter in the Xtras folder in the Director application folder. For more information about installing Xtra
extensions, see the Getting Started topics in the Director Help Panel.
You can work with filters through the user interface or through scripting. Filters added through the user interface
can be accessed through scripting by using the
filterList
property of the sprite to which the filters are applied.
Note:
duplicate() function does not work for filterlist.
Create a filter
You can create filters two ways:
•
Use an external bitmap editor to install the filter
•
Write Lingo or JavaScript syntax
Create a filter for a sprite using Lingo/JavaScript
In Lingo
MyFilter=filter(#BlurFilter) OR
MyFilter = filter(#BlurFilter, [#BlurX:5, #BlurY:5])
In JavaScript
var MyFilter = filter(symbol("BlurFilter")); OR
var MyFilter=filter(symbol("BlurFilter"),
propList("BlurX",5,"BlurY",5));
var MyFilter=filter(symbol("BlurFilter"),
propList(symbol("BlurX"),5,symbol("BlurY"),5));
Apply a filter
Use the method you prefer to apply filters to sprites in a Director movie:
•
Use the Filters tab in the Property inspector
•
Write Lingo or JavaScript syntax
You can also apply filters to a sprite after applying an ink to the sprite.
Filters are not supported on film loops.
Note:
Filters applied to DTS-enabled sprites are not reflected.
Apply a filter to a sprite
1
Do one of the following:
•
Open a Score, select a sprite, and in the Property Inspector click the Filters tab.
•
In the Stage window, right-click a sprite, and select Filters. The Property inspector appears with the Filters
tab selected.
2
Click the Filters popup
.
3
Select a filter from the pop-up menu. The filter is applied to the selected sprite.
4
Use the controls that appear in the panel below to customize the filter to your requirements.
Содержание 65036570 - Director - PC
Страница 1: ...i ADOBE DIRECTOR 11 USER GUIDE...