Microsoft Producer for PowerPoint 2003 SDK banner art
PreviousNext

effect

An effect element specifies a Producer effect to use on a specified piece of media. Producer includes a list of standard effects, such as Ripple or Grayscale, which are referred to by a zero-based index, determined by the index attribute. A media element can have zero or more effect elements. If you apply an effect to an inappropriate media element (such as an HTML media element), the effect will be ignored.

Syntax

<effect index="integer value"/>

Attributes

index (required)

A zero-based index specifying the effect to use. Possible values are shown in the following table.

Value Effect Name
0 Fade Out, To Black
1 Fade In, From Black
2 Fade Out, To White
3 Fade In, From White
4 Brightness, Increase
5 Brightness, Decrease
6 Pixelate
7 Mirror Image
8 Rotate 90
9 Rotate 180
10 Rotate 270
11 Grayscale
12 Film Grain
13 Ripple
14 Smudge Stick
15 Graphic Pen
16 Watercolor

17

Example

The following code adds the "Ripple" effect to a segment of video. This segment appears in the first thirty seconds of the project, and has ten seconds trimmed from the start of the original video.

<media src="c:\my videos\beach.wmv" begintime="0"  endtime="30" 
                                    begintrim="10" endtrim="0">
    <effect index="13"/>
</media>

Parent/Child Elements

Hierarchy Elements
Parent media
Child
  • None

See Also

PreviousNext


© 2001-2003 Microsoft Corporation. All rights reserved.