Syntax
expression.GenerateStandaloneSlides
[folderName], [filePrefix],
[slideRange]
Description
This method is available since FlashSpring Server 2.3 and avaliable only
in FlashSpring3 object. It converts each slide of your presentation into
standalone SWF files - one SWF file per slide.
| Parameters |
| Name |
Description |
Type |
Optional |
Default value |
| folderName |
A full or relative path to the destination directory where slide files
will be saved. |
String |
Yes |
The current directory. |
| filePrefix |
Slide file name prefix. Generate slide files will have consequent
names such as:
slide1.swf
slide2.swf
...
slideNNN.swf |
String |
Yes |
slide |
| slideRange |
Indices of the slides to be converted into Flash format. Slide
Range may be a string, a number or an array. If you want to convert
all slides of the presentation you need to omit this parameter
or pass either an empty string on null. |
Variant |
Yes |
All slides |
|
Return value
none.
Example
The following example illustrates how to convert a presentation into standalone
flash slides.
Sub GenerateStandaloneSlides()
Dim fs As FlashSpringAPI.FlashSpring3
Set fs = New FlashSpringAPI.FlashSpring
fs.OpenPresentation "d:\temp\test.ppt"
' generate standalone flash slides from slides 2 and 4
fs.GenerateStandaloneSlides "c:\presentations\", "myslide", "2,4"
End Sub