GenerateCompoundPresentation() Method

Syntax

expression.GenerateCompoundPresentation [filePath], [skinName], [slideRange]

Description

Converts current PowerPoint presentation into separate Flash slides with Player.

Parameters
Name Description Type Optional Default value
filePath Output Flash file path. String Yes PowerPoint presentation file directory + presentation name + ".SWF"
SkinName The skin name of the current player. If you specify empty skin name, your Flash presentation will not be wrapped with the Player. Currently supported by standard player skins are: Standard, NavigationPanel and NullSkin. To see a list of available skins you need to check an XML file in C:\Program Files\FlashSpring Server 2\players\default\player.xml String Yes Empty string
SlideRange Index numbers of the slides to be converted into Flash format. Slide Range may be string, number or array. If you want to convert all slides in presentation simply pass this parameter as empty string. Variant Yes All slides

Return value

none.

Remarks

Standard skin for Player option will wrap your Flash movie into customizable player with thumbnails view, outlines view, slide notes view and presenter info. NavigationPanel supports most commonly used navigation operations to control slide navigation of your Flash presentation. NullSkin will allow you to publish presentation without visible Player. If you pass empty skin name as a parameter, your Flash presentation will not be wrapped with the Player. In FlashSpring 2.3 you can set Banner skin that is specially optimized for banner creation. It doesn't support transition effects and sounds but therefore the output file size is smaller in comparison with no skin option.

Example

The following example shows how to convert a presentation into separate Flash slides with Player.
Sub GenerateCompoundPresentation()
    Dim fs As FlashSpringAPI.FlashSpring3
    Set fs = New FlashSpringAPI.FlashSpring
    fs.OpenPresentation "d:\temp\test.ppt"
    fs.GenerateCompoundPresentation "c:\presentations\myMovie.swf", "Standard", "2,4"
End Sub