Documente Academic
Documente Profesional
Documente Cultură
Table of contents
1 Welcome to iSpring PRESENTER Guide....................................................................... 11
2 iSpring PRESENTER Activation.................................................................................... 12
2.1 To register and activate your iSpring PRESENTER: ...................................................12
2.2 Trial version registration............................................................................................... 16
2.3 License Deactivation..................................................................................................... 18
3 Trial version limitations................................................................................................... 19
4 Getting started with iSpring PRESENTER......................................................................21
5 Product Features...............................................................................................................22
5.1 Product features............................................................................................................. 22
5.1.1 Publishing to iSpring Online portal............................................................................ 22
5.1.2 AICC compliant Flash content creation......................................................................22
5.1.3 New quiz question types: Fill-in the Blank and Multiple Choice Text...................... 22
5.1.4 Video-enhanced questions in quizzes......................................................................... 22
5.1.5 Advanced processing of SmartArt objects..................................................................23
5.1.6 Custom company logo in Lite player..........................................................................23
5.1.7 Random Effects animation support.............................................................................23
5.1.8 Standard PowerPoint audio objects sound volume control.........................................23
5.1.9 Keyboard playback control customization..................................................................23
5.1.10 YouTube video insert................................................................................................ 23
5.1.11 Presets........................................................................................................................23
5.1.12 System Fonts Display................................................................................................23
5.1.13 Animations and Slide Transition Cancelling............................................................ 24
5.1.14 Watermark protection of your slides......................................................................... 24
5.1.15 Password protection of your presentation................................................................. 24
Page 3
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 4
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
9.6 Synchronization.............................................................................................................91
10 Insert...............................................................................................................................92
10.1 Insert............................................................................................................................ 92
10.2 Insert Flash...................................................................................................................93
10.3 Insert Quiz....................................................................................................................93
10.3.1 QuizMaker.................................................................................................................93
10.3.2 QuizMaker - Settings.................................................................................................99
10.3.2.1 Main........................................................................................................................ 99
10.3.2.2 Question Defaults................................................................................................. 101
10.3.2.3 Feedback............................................................................................................... 103
10.3.2.4 Result.................................................................................................................... 104
10.3.2.5 Player Customization............................................................................................106
10.4 YouTube video insert.................................................................................................108
11 ActionScript API References....................................................................................... 109
11.1 iSpring ActionScript API...........................................................................................109
11.1.1 Presentation conversion modes overview............................................................... 110
11.1.2 ................................................................................................................................. 113
11.1.3 ................................................................................................................................. 114
11.1.4 ................................................................................................................................. 114
11.2 iSpring Presentation structure....................................................................................114
11.2.1 Presentation assets...................................................................................................115
11.2.2 Player core module..................................................................................................115
11.2.3 Skin module.............................................................................................................116
11.2.4 References............................................................................................................... 117
11.3 Flash Presentation ActionScript API Reference........................................................117
11.3.1 Flash Presentation ActionScript API Reference..................................................... 117
11.3.2 fsplayer.api.ActionType Class................................................................................ 119
11.3.3 fsplayer.api.CPresentationLoader Class..................................................................121
11.3.4 fsplayer.api.IAnimationStep Interface.................................................................... 122
Page 5
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 6
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 7
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 8
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 9
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 10
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 11
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 12
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
2. If you want to use iSpring PRESENTER unlimitedly, please, click Register the product.
The product registration removes all the limitations of the evaluation version and entitles
to free upgrades to all subsequent 4.x versions of the product.
If you want to start a free fully functional 30 days trial of iSpring PRESENTER, please,
click Start free trial usage.
Free 30-day trial period allows evaluating all product features. During the trial period an
evaluation mode watermark will be put into each generated Flash presentation.
3. If you have already purchased iSpring PRESENTER license, please enter your
registration name and license key into the appropriate fields and click Next to proceed to
License Activation.
Page 13
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
If you want to get a license for unlimited use of iSpring PRESENTER, click Purchase a
license.
4. It is strongly recommended that you activate your iSpring PRESENTER right away.
Please click Activate the License via Internet now for immediate license activation. The
activation process requires active Internet connection and usually takes a few seconds
It is necessary to activate your license within 3 days. On the expiry of this period, an
evaluation mode watermark will be added to generate Flash presentations until the
license is activated.
Page 14
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 15
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 16
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
2. Please copy and paste your registration name and license key you have received in an
email when applying for it into the appropriate fields and hit Next.
If you do not have free registration details, please go to Get the Free trial license to
apply for one at our website.
Page 17
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
3. After you entered your trial license data, you can enjoy the full-functional trail for 30
days. After the trial period is expired, you need to purchase iSpring license to continue
using iSpring software.
Page 18
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 19
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 20
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 21
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
5 Product Features
5.1.3 New quiz question types: Fill-in the Blank and Multiple Choice Text
iSpring-made quizzes can now be richer and more diversified with two new question types.
Fill-in the Blank and Multiple Choice Text questions are the novelties for this edition.
Page 22
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
5.1.11 Presets
It's so less time consuming to select an offered by iSpring or individually customized preset
for certain project types. Why bother going through all of the options again and again when
you can have it all nicely preset for your convenience.
Page 23
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
More opportunities for speakers of oriental languages, which now get easily displayed within
Advanced Glossy, Advanced Matte and Crystal player skins.
Page 24
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
5.1.17 QuizMaker
iSpring PRESENTER features a great tool for interactive quizzes creation. iSpring
QuizMaker generates SCORM compatible content that can be published to LMS or
integrated with iSpring.
Page 25
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 26
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 27
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 28
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 29
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Advanced Features
Page 30
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Destination
• All slides/Selected slides
• Possible destinations
• Local folder at My Computer
• Sharing at iSpring Online new
• Sharing at SlideBoom
• Web site via remote FTP server
• E-mail
• SCORM and AICC new compliant LMS
• Output formats
• Flash file (.SWF)
• .EXE file - no Flash Player required
• HTML page
• ZIP archive
Page 31
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 32
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 33
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 34
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 35
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
6 Publish presentation
Publish Window helps you apply individual settings for your presentation conversion. It
consists of five different tabs described below:
• General - determines destination and composition of output Flash presentation
• Advanced - sets playback options, size and scale parameters for your output Flash movie
• Media - manages your multimedia content, and makes large presentations conversion
considerably easier by detaching media content files
• LMS - helps to organize your elearning course and its interaction with LMS
• Protection - provides options for protection of the published presentation from
unauthorized access and distribution
Page 36
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 37
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 38
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 39
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 40
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
You can publish your presentation to iSpring Online portal which allows public or private
sharing of your content and tracking all the user activities on it.
Page 41
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
2. When you enter your account details iSpring validates this data and you will see your
name in the Account field.
3. Click the Publish button. iSpring will save your presentation to a local folder and it
convert to Flash format. This is a time consuming process and it may take a few minutes.
4. Click the Upload button and view your presentation at iSpring Online.
Back to Top
Page 42
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 43
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
2. When you enter your account details SlideBoom validates this data and you will see your
name in the Account field.
3. Click the Publish button. iSpring will save your presentation to a local folder and it
convert to Flash format. This is a time consuming process and it may take a few minutes.
After conversion you can set descriptions and details for your Flash movie.
#Allow public access# option makes your presentation available for viewing for
everyone. If you uncheck this option, your presentation will be uploaded but not shared.
In this case only you will be able to view this presentation.
4. Click the Upload button and view your presentation at SlideBoom.
Back to Top
Page 44
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 45
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
To create a new FTP account, you need to fill in the window shown below:
Page 46
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
FTP Account
3. When you finish with settings click the Publish button to publish and upload your
presentation.
Back to Top
Page 47
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 48
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Back to Top
General
Page 49
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
File name The name for output .swf file, title for a folder if
you publish presentation as separate slides and
name for the .zip file if you archive Flash movie.
Generate HTML file iSpring generates a simple HTML web page with
Flash movie that simplifies publishing on the
Web. You can choose either presentation
publishing as a HTML file or as an executable
(.exe) file.
Page 50
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Standalone Flash Slides iSpring will generate a set of .swf files. Each
slide of your PowerPoint presentation will be
converted into a separate Flash movie and no
Player is created to control Flash clip playback.
This mode can be useful if you plan embed
custom player or integrate Flash slide into web
pages or your blog.
ZIP output Check this box if you want to archive (zip) your
Flash presentation. Note: set of Flash clips is
always zipped when publishing to E-mail.
General | Preveiw
Skin Select skin for Player from the drop-down menu. Ten
skins are available:
Advance Glossy skin is new stylish and fully
customizable Player with support of Multilevel
Navigation, Presenter's video, Marker Tools and
Multiple Presenters and logos.
Advance Matte skin is highly customizable skin that
allows you to adjust unique colors for Player and
Marker tools, customize navigation elements and
specify your own captions for tabs and buttons.
Banner is special skin optimized for Flash banner
creation. It doesn't support transition effects and
sounds but therefore the output file size is smaller in
comparison with no skin option.
Classic skin wraps your Flash movie into the Player
with thumbnails view, outlines view, slide notes view
and Presenter info.
Crystal skin allows you to customize player layout,
navigation elements and create unique presentation
appearance.
Lite updated provides basic navigation options to
control Flash presentation playback and allows to
customize company logo.
None allows you to publish presentation without
visible Player.
Navigation panel supports most commonly used
navigation operations to control slide navigation of
your Flash presentation.
Page 51
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 52
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Note: width, height and scale are related parameters and iSpring maintains the aspect ratio as
you change one of these parameters. iSpring technology allows to reduce the height and the
width of the presentation without loss of clarity.
Advanced | Flash movie
Flash Movie Frame rate The number of Flash frames per second. Small
values are not recommended because this can
Page 53
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Background color You can set a background color for the entire
presentation. Double clicking the current color
next to this option will open a standard window
where you can select an appropriate color.
Disable Flash printing Check the box if you don#t want to allow printing
your output Flash presentation. #Print# option in
the right-click menu will be disabled in the
generated Flash file.
Disable Flash menu Disables right click menu and top menu of
generated Flash movie playback window.
Optimize images for resolution Check the box to optimize images for given
screen resolution which you can select from the
dropdown menu. If set value is smaller than
presentation size, images will be optimized for
the presentation dimensions.
Enable interaction with JavaScript If this option is checked out Flash presentations
will include the JavaScript Connector that allows
Flash movie playback control via HTML code.
Integrate ActionScript 3 connector Tick this option in case you use Flash files
written in ActionScript 3 to control presentation
playback. ActionScript 3 Connector module will
be integrated into output Flash presentation.
Provide complete presentation info Tick this option if you need to perform
ActionScript API programmatic control over Flash presentation. If
checked all information about presentation will
be available via ActionScript API regardless of
the player template used.
Start presentation automatically Tick this option if you would like your Flash
presentation to start playing automatically as
soon as the first slide is loaded.
Page 54
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Change all slides automatically If this option is checked slides in your Flash
presentation will advance automatically.
Advance animations on mouse click Select it to advance to the next animation step
when you click the mouse.
This option applies only for slides that contain
mouse driven animations, 'Automatic
animations' will always start according to the
timings set from within the Custom Animation
dialog of PowerPoint.
Page 55
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Preserve shape animations effects + Unmark these options to reduce the output file
Preserve slide transitions size, disregarding animation effects and slide
transitions
Page 56
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
You can export a set of shortcuts into a file to further apply it to other projects. Once you are
done assigning all the shortcuts, click Export. Name the file and select the directory to save it
to in the Save As dialog window.
Page 57
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
To apply an already saved shortcut set, click Import and select a necessary file with an .isk
extension.
Click Reset defaults to cancel all the implied changes and get back to the default set of
shortcuts.
Page 58
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Compression
Page 59
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Advanced Smart Art Processing This feature allows getting a better quality of
SmartArt objects and save the animation effects
applied to them. As this option is using
Clipboard, it is recommended not to use
Clipboard during the iSpring conversion process.
Due to technical characteristics some SmartArt
objects may look or play slightly differently. In
this case, the option may be turned off so that
SmartArt object will be saved as raster images
and animation will be lost.
Using these options makes sense if you convert presentation into solid Flash movie.
Page 60
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Video clips Check this option if you have large video clips
embedded into your presentation. Each video
file will be converted into separate .flv files and
this will remove the limits of .swf format.
Page 61
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Lesson title / Course identifier Put in your lesson name / Put your course
identifier
Page 62
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
course here.
Keywords / Course creator Specify keywords for your LMS. They will help
people find your training course by these
keywords / Name the course author here
Minimum number of slides viewed to Set a minimum number of slides learner must
complete view to complete the lesson.
Timeout actions When the time given to the lesson is out you can
set the following actions: terminate lesson
and/or show message that the time has run out.
Report progress and completion You can choose how to report student's
progress and completion. Having it by Using
number of slides viewed, you have to specify
the minimum number of slides viewed for the
lesson to be completed.
If you set as Using quiz results, you have to
select the quiz to be counted.
Page 63
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 64
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 65
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
7 Players
Page 66
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 67
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
8 Presentation management
Page 68
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 69
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
You can mark any slide as hidden double clicking its thumbnail. Hidden slides are not shown
in navigation and thumbnails and skipped during presentation playback. Please note that
hidden slides are still exist in you Flash presentation and can be reached via links from other
slides hyperlinks or action buttons.
8.2.4 Presenters
To assign a Presenter to the selected slide, double click on a Presenter photo/name and select
a different one from a drop-down list of available Presenters. By default a Presenter marked
as Default is added to all slides in you presentation. To change a default Presenter, click the
Presenters icon on iSpring toolbar.
Page 70
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Presenter.
Page 71
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Right-click menu You can also manage slide or group of selected slide
via context menu. Right-click in the area of the slide
list to set Presenters, adjust playback mode, change
slide nesting level and show/hide slides.
8.3 Links
8.3.1 Links
Presentation Links manager allows you to add, edit and delete references, file attachments
and web links in a Flash presentation.
Page 72
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 73
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
To open a selected reference in a new browser window, check the box New Window. To
edit and delete reference, use the icons on the right of the References window.
You can also test your references accessibility clicking a reference file path or URL
under Location option. For more effective management you can rearrange the references
clicking the Type, Title, Location, New Window options to sort the references according
to desired attribute. To delete all references from your presentation, use Remove All
References button. You will be asked to confirm the deletion.
3. When you have finished with your references, click OK to save your updates. To quit
without saving, click Cancel.
To add a Web Reference
1. Click Links on iSpring toolbar, Presentation Links window will open.
2. Click the Add Web Reference button at the bottom of the window opened.
Page 74
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
3. Enter a Title for a web link. It will display in the Reference screen of the player.
4. Enter a web address of the web page, blog or other web resource. The URL field is
prefilled with "http//:", please don#t omit this part of URL in your link.
5. Check "Open in new browser" window option to if you want to open each web
reference in a new browser window.
6. When you finished with your settings, click Ok to save a reference. To exit without
saving changes, click Cancel.
To add a File Attachment
1. Click Links on iSpring toolbar, Presentation Links window will launch.
2. Click the Add File Attachment button at the bottom of the window opened.
3. The Explorer window is automatically launched. Find and select the file you want to add
and click Open.
4. Add File Attachment window will be opened and prefilled with descriptions of the file
Page 75
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
you've chose. You can select a different file clicking the ":" button on the right of the
Path field. The Title that is displayed in the Reference screen of the player is taken your
file name by default. You can easily edit it and enter the title you#d like to show your
viewers.
5. Check "Open in new browser" window option to if you want to open each file in a new
browser window. This option makes sense only for files that are viewable via internet
browser, e.g. .jpg or .pdf files.
6. When you finished with your settings, click Ok to save an attachment. To exit without
saving changes, click Cancel.
Page 76
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 77
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Check the Open link in new browser window box if you want to open the destination
web resource in a new browser window.
Flash presentation redirect
Check this option to open automatically a specified web page after presentation playback
is completed.
If the option is enabled, type manually the URL address of web page. By default the path
is prefilled with "http://". Be sure to keep it for your web link.
Check the Open link in new browser window box if you want to open the destination
web resource in a new browser window.
4. Click OK to save your updates. To quit without saving changes, click Cancel.
8.4 Presenters
8.4.1 Presenters
Presenters# manager allows you to add, edit and delete presenters in your Flash presentation
and manage company info.
Presenter and company info are available in Advanced Crystal, Advanced Matte, Crystal and
Classic players. Please, be sure to enable presenter info option within a player.
Since version 4.1 iSpring allows to specify custom company logo for each presenter. Also
you can set a common logo that is applied to all presenters by default.
Page 78
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
presenter to the latest one. And being stored in your computer presenter?s info can be
updated and added to any presentation.
And being stored in your computer presenter#s info can be updated and added to any
presentation.
All presenters you add can be managed in a Presenters window. Use Add Presenter and
Edit Presenter buttons to update information about a presenter. To delete a presenter, select
Page 79
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 80
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 81
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 82
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Company Logo Click the Browse button and select your company
logo. iSpring supports all popu.JPG, .PNG, .GIF,
.BMP, .WFM, .EMF image file formats.
Company Web Site Enter your company#s website URL and your
viewers will be able to get to your website clicking
on your company logo. The field is prefilled with
"http://", please be sure to keep it when adding
website URL.
9 Narration
Page 83
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
To record Audio:
1. Click Record Audio in the Narration area in your iSpring toolbar to launch Record Audio
Narration window.
2. Choose the slide you would like to record audio narration to or the one to start recording
at from the drop-down slide list.
3. Click Start record to start recording audio narration.
4. Click Ok to apply the changes or Cancel to quit Record Audio narrations without saving
any changes.
How to record audio:
Drop-down Slide list Choose the slide you want to record audio to or to
start recording at
Page 84
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Show notes Tick this option to show text notices for the slide
Process this slide only Tick this option to process one chosen slide only
Prompt to overwrite existing audio Tick this option to be additionally asked if you do
want to rerecord an existing audio
To record Video:
Page 85
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
1. Click Record Video to in the Narration area in your iSpring toolbar to launch Narration
Record Video window
2. Choose the slide you would like to record video to from the drop-down slide list
3. Click Start record to start video recording
4. Click Ok to apply the changes or Cancel to quit Record Audio narrations without saving
any changes.
How to record video:
Slide drop-down list Choose the slide you want to record video for
Show notes Tick this option to show text notices for the slide
Process this slide only Tick this option to process one chosen slide only
Prompt to overwrite existing video Tick this option to be additionally asked if you do
want to rerecord an existing video
Page 86
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
To import Audio:
1. Click Import Audio in the Narration area in your iSpring toolbar to launch Open
window
Page 87
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
2. Choose an audio file that you would like to add to your presentation
NOTE: Supported audio files formats are WAV, MP3, WMA.
3. Select the slide you would like your audio to start at from a Start slide drop-down list
4. Click Open to import the selected audio or Cancel to quit without saving any changes
How to import audio:
Page 88
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Adjust slide duration to fit audio Tick this option for an automatic adjustment of slide
timing in accordance with audio duration
Start slide drop-down list Choose the slide that the audio starts at
To import Video:
1. Click Import Video in the Narration area in your iSpring toolbar to launch Open
Window
Page 89
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 90
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Adjust slide duration to fit video Tick this option for an automatic adjustment of slide
timing in accordance with video duration
Copy to presentation resource folder Tick this option to copy the video to an automatically
created Video folder in your original presentation
resource folder
(When converting with iSpring PRESENTER, three
new separate folders Audio, Video and Quiz are
automatically created in the presentation resource
folder that will get the same name as your original
.ppt/.pptx).
Slide drop-down list Select the slide number to add the video to
NOTE: audios and videos can also be imported with Presentation Explorer.
9.6 Synchronization
Perfect playback has to be flawlessly timed and easy-to-handle. Make your slideshow play
smoothly with the Sync option.
Page 91
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
narration window.
Show notes Tick this option to show text notices for the slide
Process this slide only Tick this option to process one chosen slide only
10 Insert
10.1 Insert
iSpring PRESENTER lets you easily insert Flash movies (.SWF files) to your slides, create
interactive Flash Quizzes and add YouTube videos.
Page 92
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
10.3.1 QuizMaker
Page 93
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Quiz section:
Quiz section
Page 94
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Clipboard section:
Clipboard section contains three standard tools Copy, Cut and Paste for copying, cutting and
pasting text fragments correspondingly.
Preview section:
Preview section has the only button Quiz preview for live preview and taking a quiz before
publishing.
Add Question section:
Add Question section is used for adding new questions to the quiz.
Clipboard
Page 95
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
QUESTION area
Each question could be enhanced with a picture, an audio or/and a video.
Page 96
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 97
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
ANSWER area
Answer
OPTIONS area
Options
Page 98
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Use default option Tick this checkbox to apply default options settings
(1 attempt; 10 points awarded per a correct answer;
shuffled answers; partial answer - not allowed).
Allow partial answer Tick this checkbox to count a partial answer for the
question
Main
Page 99
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Main
Allow users to finish without answering all Tick this checkbox to allow quiz takers to quit
questions without answering all the questions
Page 100
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Submit one question at a time Choosing this option you will get feedback message
right away
Submit all at once Choosing this option you will learn your total points
in the end of the quiz
Enable time limit Tick this checkbox to set the time limit
Display remaining time/elapsed time Tick this checkbox to display remaining/elapsed time
Display cumulative score with each question Tick this checkbox to display total score with each
question
Display question point value Tick this option to display the question point value
Question Defaults
Page 101
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Question Defaults
Allow partial answer Tick this checkbox to count partial answer for a
question
Page 102
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Feedback
Feedback
Display actual points awarded Click here to allow to display current points awarded
Page 103
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
When answer is correct, display the following: Type in the message to be displayed when the answer
is correct here
When answer is incorrect, display the following: Type in the message to be displayed when the answer
is wrong here
When answer is partially correct, display the Type in the message to be displayed when the answer
following: is partially correct
Result
Page 104
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Result
Enable Quiz Review Tick this checkbox to allow to review the quiz
Display user score Tick this checkbox to allow the display of the quiz
taker’s score
Display passing score Tick this checkbox to allow viewing the passing
score
Display this message if the user passes: Type in the message to be displayed if the quiz is
completed successfully
Display this message if the user fails: Type in the message to be displayed if the quiz is not
completed
Perform the following actions when the “Finish” Perform the following actions when the “Finish”
button is clicked: button is clicked:
Send quiz result to email Tick this checkbox to automatically email the quiz
result to (specify email address). You can enable the
Send detailed results to received detailed info on the
questions and users' answers, e.g. answers variants
available and the selected one for the Multiple
Choice questions.
NOTE: If this option is ticked, an authorization is
asked when starting the quiz
Send quiz result to server Tick this checkbox to automatically receive the quiz
result on the server.
You can receive detailed quiz results on your server
using the variables and .xml document sent as a
POST request. The following variables are sent to a
server via POST method:
v - report version
dr - detailed result in .xml format corresponding to
the schema below.
sp - gained score in points
ps - passing score OR psp - passing score in percent,
Page 105
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
If user fails: Select either to close the window or send the quiz
taker to web page (specify the URL in the space
provided) if he/she fails
If user passes: Select either to close the window or send the quiz
taker to web page (specify the URL in the space
provided) if he/she passes
Player Customization
Page 106
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Player Customization
Page 107
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Note 1: Internet connection is essential for YouTube videos transmission within your
presentation.
Note 2: your videos should have public access and be viewable for everyone.
To insert a YouTube video:
1. Click YouTube button in the Insert section of the iSpring panel in your PowerPoint.
2. Open www.youtube.com in your browser; find a necessary video clip to later insert it into
your presentation. When you are done searching for a video clip, copy its URL from the
URL option on the right of a video clip or address line of your browser window.
3. Paste a preferred YouTube video URL into the Video Link blank field and click Preview
to view a clip.
Page 108
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
4. Tick "Turn off automatic slide transition for this slide" to cancel automatic advance of a
YouTube video containing slide to a next one.
5. Click OK to insert YouTube video into your slide.
Page 109
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Moreover, Flash content created with iSpring Presenter and iSpring SDK provides
programmatic control facilities - it can be loaded and controlled by external Flash movies.
This article is a brief overview of the following topics:
• Presentation conversion modes
• A solid Flash presentation
• A compound Flash presentation
• Standalone Flash slides
• Presentation playback control facilities
• Slide playback control facilities
• Skin development facilities
Page 110
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 111
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 112
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The detailed description of the Flash Presentation Structure can be found in the following
article.
iSpring Presentation Structure
11.1.2
Presentation playback control facilities
Flash presentations created with iSpring can be controlled programmatically. For this
purposes solid and compound Flash presentations provide Flash Presentation ActionScript
API, a set of ActionScript 2.0 interfaces for controlling presentation playback and
navigation. The following article provides a detailed description of the Presentation API
methods and interfaces.
Page 113
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
11.1.3
Slide playback control facilities
Standalone slides provide Flash Slide ActionScript API, a set of ActionScript 2.0 interfaces
for controlling slide playback and navigation. The following article provides a detailed
description of the Slide API.
Flash Slide ActionScript API Reference
11.1.4
Skin development facilities
iSpring generated presentation can be wrapped into a "skin", a special user interface module
which simplify presentation navigation displaying slide thumbnails and other navigation
elements. There are several predefined skins providing various UI capabilities - from the
"NullSkin" having no navigation elements to the "Advanced" one.
iSpring users are not limited by the set of predefined player skins. Skin modules can be
developed by any Flash developer familiar with ActionScript 2.0 and basic principles of
Object oriented programming. The following article describes the skin development process
Skin Development Reference
See also
Flash format limitations
Flash Presentation ActionScript API Reference
Flash Slide ActionScript API Reference
iSpring Presentation Structure
Skin Development Reference
Page 114
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Presentation assets are various multimedia resources containing within the presentation.
When a presentation is a solid Flash movie file, all resources are stored within this file
optimized for progressive downloading from the Internet. When a presentation is converted
to a set of Flash files with player, each resource is stored in a separate file.
Player core is a Flash module which loads presentation assets and controls slide animations
effects, transition effects and sounds. Player core is a blackbox providing external Flash files
and skin modules with programmatic navigation and playback control via ActionScript API.
Page 115
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
In order to load and play presentation slides the core needs a target MovieClip object where
slide assets are loaded. Since the location of this MovieClip depends on skin user interface,
each skin module exposes the ISkin interface to inform the core about slide assets target
movie clip.
Skins are Flash modules which main responsibility is providing the player core with the
MovieClip where slide assets should be loaded and displayed. Skins also provide viewers
with navigation and playback facilities. Skins interacts with the player core via ActionScript
API provided by player core.
There is a set of predefined skin modules with iSpring products. Some of them provide
simple user interface while other skins provide full featured customizable User Interface.
It is possible to develop a customized skin module using Player Core ActionScript API
functionality. You can find more information in the Skin development article.
Page 116
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
11.2.4 References
IPlayer Interface
ISkin Interface
Skin development
Flash Presentation ActionScript API Reference
The following table lists all interfaces and classes of the Flash Presentation ActionScript API.
They are located within fsplayer.api package.
Name Description
Page 117
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 118
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
iSpring presentation structure
iSpring ActionScript API
Page 119
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
LAST_VIEWED_SLIDE
String Read only lastViewedSlide Defines a return to
the previously
viewed slide action
type
Page 120
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IPlaybackAction Interface
Flash Presentation ActionScript API Reference
Method Description
Properties
Page 121
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Samples
The following example illustrates the usage of the CPresentationLoader class.
import fsplayer.api.*;
var loader:CPresentationLoader = new CPresentationLoader();
// this object (in our case it is _root MovieClip) will listening to the
player
loader.setPlayerListener(this);
// load generated Flash presentation
loader.loadClip("presentation.swf", presentation);
// this method is invoked when player gets initialized
function onPlayerInit(p:IPlayer):Void
{
// add your extra initialization code here
}
See also
IPlayer Interface
IPlayerListener Interface
Flash Presentation ActionScript API Reference
Method Description
Page 122
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Remarks
Each slide consists of one or more animation steps with the following structure.
An Animation step starts playing at the Step start time. Animations are playing for the Play
time. Then, at the Pause start time, animations are suspended for the Pause time period till
the Pause end time. Pause time depends on slide timings that were set using "Record
narration" or "Rehearse timings" menu of PowerPoint.
stepStartTime0 = 0
pauseStartTimei = stepStartTimei + playTimei
pauseEndTimei = pauseStartTimei + pauseTimei
stepStartTimei+1 = pauseEndTimei
Page 123
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
If the slide has no timings (i.e. user has to click slide background to advance mouse-driven
animations), Pause time and Pause end time are undefined. In this case returned timings are
as follows:
pauseStartTimei = stepStartTimei + playTimei
pauseEndTimei = undefined
stepStartTimei+1 = pauseStartTimei
See also
IAnimationSteps Interface
Flash Presentation ActionScript API Reference
Method Description
Remarks
Slide animation timeline consists of one or more animation steps. Animation step is a
sequence of animation effects playing without mouse click requirement.
Slide background, static shapes, and shapes animated before the first mouse driven animation
are playing at the animation step 0. So there is at least 1 animation step in each slide.
Each mouse-driven animation along with the subsequent non mouse-driven animations are
playing at the separate animation step. In other words, the number of animation steps is equal
to number of on-click animations plus 1.
Example
Page 124
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
There are 4 animation effects in the following slide. They are represented by 3 animation
steps in the generated Flash presentation (click to start animations).
Page 125
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The ICompanyInfo Interface provides the following methods for retrieving company
information:
Methods
Method Description
See also
ICompanyLogo Interface
IPresentationInfo Interface
Flash Presentation ActionScript API Reference
Method Description
See also
Page 126
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
ICompanyInfo Interface
ICompanyLogoLoadingListener Interface
Flash Presentation ActionScript API Reference
Method Description
This interface is mainly used for the development of a custom skin displaying company logo.
It allows getting a notification that the company logo has been loaded in order to update skin
layout at the proper time.
Usually you need to create a class implementing this interface and pass its instance to the
load() method of ICompanyLogo interface.
Sampes
The following example illustrates how to load and place the company logo within target
MovieClip.
import fsplayer.api.*;
class MyCompanyLogoPanel implements ICompanyLogoLoadingListener
{
private var m_target:MovieClip;
private var m_logo:MovieClip;
MyCompanyLogoPanel(target:MovieClip, logo:ICompanyLogo)
{
m_target = target;
m_logo = target.createEmptyMovieClip("logo",
target.getNextHighestDepth());
logo.load(target, this);
}
// implementation of
ICompanyLogoLoadingListener.onCompanyLogoLoadInit() method
function onCompanyLogoLoadInit():Void
{
Page 127
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
ICompanyLogo Interface
Flash Presentation ActionScript API Reference
Method Description
See also
IPlayer Interface
IPlaybackAction Interface
Flash Presentation ActionScript API Reference
Page 128
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
See also
ActionType Class
IKeyboardSettings Interface
Flash Presentation ActionScript API Reference
Method Description
onKeyboardFocusStateChanged(acquireFocus:Boolean):Void
Invoked when interactive element of the presentation
Page 129
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
In order to receive event notifications you need to create a class which implements
IPlaybackListener interface and pass the instance of this class to the addListener method of
the IPresentationPlaybackController interface.
Samples
The following example illustrates the simplest implementation of IPlaybackListener
interface.
Create MyPlaybackListener.as source file with the following content.
import fsplayer.api.*;
class MyPlaybackListener implements IPlaybackListener
{
function onPausePlayback():Void
{
trace("Presentation has been paused");
}
function onStartPlayback():Void
{
trace("Presentation playback was started");
}
function onCurrentSlideIndexChanged(slideIndex:Number):Void
{
trace("Current slide index has been changed to " + slideIndex);
}
function onSlideLoadingComplete(slideIndex:Number):Void
{
trace("Slide " + slideIndex + " has been just loaded");
}
function onSlidePositionChanged(position:Number):Void
{
trace("Current slide playback position was changed to " + position);
}
Page 130
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
function onPresentationPlaybackComplete():Void
{
trace("Presentation playback has been completed");
}
function onAnimationStepChanged(stepIndex:Number):Void
{
trace("Animation step index has been changed to " + stepIndex);
}
}
import fsplayer.api.*;
import MyPlaybackListener;
var presentation:MovieClip =
this.createEmptyMovieClip("presentation", 1);
var loader:CPresentationLoader = new CPresentationLoader()
loader.setPlayerListener(this);
loader.loadClip("c:\\test.swf", presentation);
function onPlayerInit(player:IPlayer)
{
var listener:MyPlaybackListener = new MyPlaybackListener();
player.getPlaybackController().addListener(listener);
}
import fsplayer.api.*;
var presentation:MovieClip =
this.createEmptyMovieClip("presentation", 1);
var loader:CPresentationLoader = new CPresentationLoader()
loader.setPlayerListener(this);
loader.loadClip("c:\\test.swf", presentation);
function onPlayerInit(player:IPlayer)
{
var listener = new Object();
listener.onCurrentSlideIndexChanged = function(index:Number):Void
{
trace("Current slide index has been changed to " + index);
}
player.getPlaybackController().addListener(listener);
Page 131
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IPresentationPlaybackController Interface
Flash Presentation ActionScript API Reference
Method Description
Page 132
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Remarks
Page 133
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IKeyboardSettings Interface
IPlayerListener Interface
IPresentationInfo Interface
IPresentationPlaybackController Interface
ISkin Interface
ISoundController Interface
Flash Presentation ActionScript API Reference
Method Description
setExternalPresenterVideoPlayer(player:IVideoPlayer):Void
Method allows replacing of the standard presenter
video player with the custom one during player
initialization. Note: this method should be called
before player gets initialized, in the onPlayerPreInit
event of the IPlayerListenerEx.
See also
IPlayerListenerEx Interface
IPlayerEx Interface
Page 134
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
See also
IPlayer Interface
IPlayerCore Interface
Flash Presentation ActionScript API Reference
Method Description
import fsplayer.api.IPlayerListener;
import fsplayer.api.IPlayer;
class MyPlayerListener implements IPlayerListener
{
// ...
function onPlayerInit(player:IPlayer):Void
{
// write your player initialization handler here
}
// ...
}
Page 135
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
See also
IPlayerEx Interface
IPlayerCore Interface
Flash Presentation ActionScript API Reference
Page 136
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
Page 137
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
ICompanyInfo Interface
IPresentersCollection
IPresenterInfo Interface
IReferencesCollection Interface
ISlidesCollection Interface
IThumbnailsCollection Interface
Flash Presentation ActionScript API Reference
Method Description
Page 138
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
gotoNextSlide([autoStart:Boolean = true]):Void Switches to the next presentation slide and starts its
playback.
Note: if the autoStart parameter was set to false, slide
playback would not be started after switching
Page 139
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
is called
Note: position is a number between 0 and 1
enableAutomaticSlideSwitching(enableSwitching:Boolean):Void
Enables or disables automatic switching to the next
slide.
Note: this method affects automatically switching
slides only.
Page 140
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
gotoFirstSlide([autoStart:Boolean = true]):Void Switches to the first presentation slide and starts its
playback.
Note: if the autoStart parameter was set to false,
slide playback would not be started after switching
gotoLastSlide([autoStart:Boolean = true]):Void Switches to the last presentation slide and starts its
playback.
Note: if the autoStart parameter was set to false,
slide playback would not be started after switching
See also
IPlaybackListener Interface
IPlayer Interface
Flash Presentation ActionScript API Reference
Page 141
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
See also
IPresentationPlaybackController
IPlaybackListener Interface
Flash Presentation ActionScript API Reference
Method Description
Page 142
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
ICompanyInfo Interface
IPresentationInfo Interface
IPresenterPhoto Interface
Flash Presentation ActionScript API Reference
Method Description
Remarks
The IPresenterPhoto interface provides a unified way of the presenter photo loading no
metter if the presentation has been exported into a solid Flash file, or into a set of Flash files
with a player.
It is highly recommended that the target MovieClip resides within the skin MovieClip.
See also
IPresenterInfo Interface
IPresenterPhotoLoadingListener Interface
Flash Presentation ActionScript API Reference
Page 143
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
See also
IPresenterPhoto Interface
Flash Presentation ActionScript API Reference
Method Description
See also
IPresenterInfo Interface
IPresentationInfo Interface
Flash Presentation ActionScript API Reference
Page 144
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
See also
IPresenterInfo Interface
IPresenterVideoListener Interface
Flash Presentation ActionScript API Reference
Method Description
See also
IPresenterVideo Interface
IPresenterVideoListener Interface
Flash Presentation ActionScript API Reference
Page 145
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
In order to receive presenter video notifications you need to create a class which implements
IPresenterVideoListener interface and pass it to the addListener() method of the
IPresenterVideoController Interface.
See also
IPresenterVideo
IPresenterVideoController Interface
Flash Presentation ActionScript API Reference
Method Description
See also
IReferencesCollection Interface
Flash Presentation ActionScript API Reference
Page 146
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
See also
IReferenceInfo Interface
IPresentationInfo Interface
Flash Presentation ActionScript API Reference
Method Description
Page 147
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 148
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
getVisibleEndStepIndex:Number Returns slide end step index within visible slides only
Note: This method returns an undefined value if the
slide is hidden
Remarks
Normalized strings are strings having all characters in the lower case with no extra spaces
between words. This can simplify and speed up full text search implementation.
See also
IAnimationSteps Interface
ISlidesCollection Interface
ISlideResources Interface
Flash Presentation ActionScript API Reference
Method Description
Page 149
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
index.
Note: Slide index is zero-based
Remarks:
There are 2 types of slides in the presentation:
• Visible slides. These are slides which are normally displayed during slide show
• Hidden slides. These are slides which were marked as hidden in PowerPoint during
presentation creation. They are shown only by hyperlink from visible presentation slide.
See also
IPresentationInfo Interface
ISlideInfo Interface
Flash Presentation ActionScript API Reference
Method Description
Remarks
When the presentation is wrapped into a skin which supports thumbnails (Classic, Crystal,
Page 150
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
onSlideThumbnailLoadInit(thumbnail:ISlideThumbnail):Void
Invoked when the thumbnail has been loaded. The
thumbnail parameter can be used to determine the
index of the loaded slide
See also
ISlideThumbnail Interface
Flash Presentation ActionScript API Reference
Page 151
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
presentation slide such as presenter video. The Interface exposes the following methods:
Methods
Method Description
See also
IPresenterVideo Interface
Method Description
Page 152
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Remarks
See also
IPlayer Interface
ISoundListener Interface
Flash Presentation ActionScript API Reference
Page 153
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
onSoundVolumeChanged(soundController:ISoundController):Void
This method is invoked when sound volume is
changed. Use getVolume() method of the passed
ISoundController interface to get new volume
In order to receive sound notifications you need to create a class which implements
ISoundListener interface and pass it to the addListener() method of the ISoundController
Interface.
See also
ISoundController Interface
Flash Presentation ActionScript API Reference
Method Description
Remarks
Page 154
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The IThumbnailsCollection interface is mainly used for the development of custom skins
supporting thumbnails.
See also
ISlideThumbnail Interface
IPresentationInfo Interface
Flash Presentation ActionScript API Reference
This article describes the way of the iSpring generated presentations communication with
Flash applications written in ActionScript 3 and Flex.
Table of contents:
• ActionScript 3.0 and ActionScript 2.0 communication
• ActionScript 3 bridge communication module API
• Integration with Flex applications
• Samples
• ActionScript 3 sample source code
• ActionScript 3 communication demo
• Adobe Flex communication demo
• References
Page 155
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
lc.connect("connectionName");
The first Flash movie will receive and execute commands froth the second. When a two-way
interaction is needed, each Flash movie must create 2 LocalConnection objects: one
connection to send commands and another one to receive them.
There is one thing which must be taken into account. It is possible to create only 1
LocalConnection with a given name on the same PC. So it is recommended to generate
connection name based on some random information such as date. The sending Flash movie
needs a connection name of the receiving Flash movie. This connection name can be passed
as an URL parameter:
var lc:LocalConnection = new LocalConnection();
lc.sayHello = function(name:String):Void
{
trace("Hello, " + name + "!");
}
// generate connection name which is most likely unique
var connectionName:String = "conn" + (new Date().getTime());
lc.connect(connectionName);
var childMove:MovieClip = this.createEmptyMovieClip("mc",
this.getNextHighestDepth());
// load child movie and pass the connection name in URL parameter
childMovie.loadMovie("someMovie.swf?lcid=" + escape(connectionName));
A child Flash movie gets the connection name from URL variables:
The similar way of Flash movies interaction can be used to establish communication
between ActionScript 3 Flash movie and iSpring generated presentations.
iSpring Presenter and iSpring SDK products allow embedding a special ActionScript
communication module (AS3 Connector) into the generated flash presentation. This
communication module provides presentation playback control facilities via
LocalConnection protocol accessible from Flash applications written in ActionScript 3.
Page 156
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
iSpring SDK and iSpring Presenter products include a set of AS3 classes and interfaces
which simplify communication between AS3 applications and iSpring generated
presentations with embedded AS3 connector. These classes and interfaces provide facilities
for presentation loading and playback control. They can also broadcast notifications about
various events during presentation playback.
The communication between ActionScript 3 application and iSprign generated presentation is
illustrated in the following diagram.
ActionScript3 Connector
ActionScript3 Connector (with source code) is included in iSpring Presenter and iSpring
SDK samples. There is also a set of ActionScript 3 classes providing ActionScript 3 API
simplifying communication with iSpring presentations.
Page 157
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 158
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 159
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Samples
The following example illustrates the usage of the ActioScript3 API module in Adobe Flash
CS3:
import ispring.as2player.*;
import flash.events.*;
var g_player:IPlayer;
// load presentation
var loader:PresentationLoader = new PresentationLoader();
addChild(loader);
loader.addEventListener(PlayerEvent.PLAYER_INIT, playerInit);
loader.load(new URLRequest("presentation1.swf"));
// send after presentation loaded and initialized
function playerInit(e:PlayerEvent):void
{
g_player = loader.player;
g_player.playbackController.addEventListener(SlidePlaybackEvent.CURRENT_SLIDE_INDEX_CHAN
onSlideChange);
playButton.buttonMode = true;
playButton.addEventListener(MouseEvent.CLICK, onPlayClick);
pauseButton.buttonMode = true;
Page 160
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
pauseButton.addEventListener(MouseEvent.CLICK, onPauseClick);
}
function onSlideChange(e:SlidePlaybackEvent):void
{
trace("current slide: " + e.slideIndex);
}
function onPlayClick(e:MouseEvent):void
{
g_player.playbackController.play();
}
function onPauseClick(e:MouseEvent):void
{
g_player.playbackController.pause();
}
ActionScript 3 example
Flex example
References
AcquireFocusEvent
IAnimationStep
IAnimationSteps
ICompanyInfo
ICompanyLogo
IPlayer
IPresentationInfo
IPresentationPlaybackController
IPresenterInfo
IPresentersCollection
IPresenterVideo
IReferenceInfo
IReferencesCollection
ISlideInfo
Page 161
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
ISlideResources
ISlidesCollection
ISoundController
PlaybackEvent
PlaybackPositionEvent
PlayerEvent
PresentationLoader
SlidePlaybackEvent
SoundEvent
StepPlaybackEvent
iSpring ActionScript API
ispring.as2player.AcquireFocusEvent Class
The AcquireFocusEvent Class extends the standard flash.events.Event class and exposes the
following constants and properties:
Constants
KEYBOARD_FOCUS_STATE_CHANGED
String keyboardFocusStateChangedDefines the value of the
type property of a
keyboardFocusStateChanged
event object. This type of
event occurs when
interactive element of the
presentation (e.g. a text
field of a Quiz) acquires
or loses keyboard focus.
A
keyboardFocusStateChanged
event contains the
following properties:
acquireFocus.
Properties
Page 162
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
property:
keyboardFocusStateChanged
See also
IPresentationPlaybackController Interface
ActionScript3 and Flex support in iSpring
ispring.as2player.IAnimationStep Interface
The IAnimationStep interface provides the information about animation step timings. It
exposes the following properties:
Properties
Remarks
Each slide consists of one or more animation steps with the following structure.
Page 163
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
An Animation step starts playing at the Step start time. Animations are playing for the Play
time. Then, at the Pause start time, animations are suspended for the Pause time period till
the Pause end time. Pause time depends on slide timings that were set using "Record
narration" or "Rehearse timings" menu of PowerPoint.
stepStartTime0 = 0
pauseStartTimei = stepStartTimei + playTimei
pauseEndTimei = pauseStartTimei + pauseTimei
stepStartTimei+1 = pauseEndTimei
If the slide has no timings (i.e. user has to click slide background to advance mouse-driven
animations), Pause time and Pause end time are undefined. In this case returned timings are
as follows:
pauseStartTimei = stepStartTimei + playTimei
pauseEndTimei = undefined
Page 164
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
stepStartTimei+1 = pauseStartTimei
See also
IAnimationSteps Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.IAnimationSteps Interface
The IAnimationSteps Interface provides the information about animation steps on the slide.
Properties
Methods
Method Description
Remarks
Slide animation timeline consists of one or more animation steps. Animation step is a
sequence of animation effects playing without mouse click requirement.
Slide background, static shapes, and shapes animated before the first mouse driven animation
are playing at the animation step 0. So there is at least 1 animation step in each slide.
Each mouse-driven animation and the subsequent non mouse-driven animations are playing
at the separate animation step. In other words, the number of animation steps is equal to
number of on-click animations plus 1.
Example
Page 165
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
There are 4 animation effects in the following slide. They are represented by 3 animation
steps in the generated Flash presentation (click to start animations).
ispring.as2player.ICompanyInfo Interface
Page 166
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The ICompanyInfo Interface provides the following methods for retrieving company
information.
Properties
Methods
Method Description
See also
ICompanyLogo Interface
IPresentationInfo Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.ICompanyLogo Interface
The ICompanyLogo Interface provides the following methods for retrieving company
information.
Properties
Page 167
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
should be opened
See also
ICompanyLogo Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.IPlayer Interface
Page 168
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Events
Type Description
Remarks
Page 169
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IPresentationPlaybackController Interface
PresentationInfo Interface
ISoundController Interface
flash.events.IEventDispatcher Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.IPresentationInfo Interface
The IPresentationInfo class stores the presentation information and provides the following
properties:
Properties
Page 170
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
frame rate.
Methods
Method Description
See also
CompanyInfo Interface
PresenterInfo Interface
IPresentersCollection Interface
SlidesCollection Interface
ReferencesCollection Interface
ActionScript 3 and Flex support in iSpring
Page 171
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
ispring.as2player.IPresentationPlaybackController Interface
Page 172
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
gotoNextSlide([autoStart:Boolean = true]):Void Switches to the next presentation slide and starts its
playback.
Note: if the autoStart parameter was set to false, slide
playback would not be started after switching
Page 173
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
gotoFirstSlide([autoStart:Boolean = true]):Void Switches to the first presentation slide and starts its
playback.
Notes: Slide index is zero-based.
If the autoStart parameter was set to false, slide
playback would not be started after switching.
Page 174
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
gotoLastSlide([autoStart:Boolean = true]):Void Switches to the last presentation slide and starts its
playback.
Notes: Slide index is zero-based.
If the autoStart parameter was set to false, slide
playback would not be started after switching.
Events
Type Description
SlidePlaybackEvent.CURRENT_SLIDE_INDEX_CHANGED
Occurs when current slide is changed by another
slide of the presentation.
PlaybackEvent.PRESENTATION_PLAYBACK_COMPLETE
Occurs when presentation playback is complete.
AcquireFocusEvent.KEYBOARD_FOCUS_STATE_CHANGED
Occurs when interactive element of the presentation
(e.g. a text field of a Quiz) acquires or loses keyboard
focus.
See also
IPlayer Interface
SlidePlaybackEvent Class
PlaybackEvent Class
StepPlaybackEvent Class
Page 175
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
PlaybackPositionEvent Class
AcquireFocusEvent Class
ActionScript 3 and Flex support in iSpring
ispring.as2player.IPresenterInfo Interface
The IPresenterInfo Interface stores the information about presenter and provides the
following properties:
Properties
Methods
Method Description
See also
IPresentationInfo Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.IPresentersCollection Interface
The IPresentersCollection Interface provides the following methods for retrieving the
presenters information:
Page 176
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Properties
Methods
Method Description
See also
IPresenterInfo Interface
IPresentationInfo Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.IPresenterVideo Interface
The IPresenterVideo interface provides the following methods for presenter video
information retrieving:
Properties
See also
IPresenterInfo Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.IReferenceInfo Interface
The IReferenceInfo Interface provides the following properties for retrieving reference
Page 177
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
information:
Properties
See also
IReferencesCollection Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.IReferencesCollection Interface
The IReferencesCollection interface provides the following properties and methods for
accessing presentation references:
Properties
Methods
Method Description
See also
IReferenceInfo Interface
IPresentationInfo Interface
Page 178
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
iSpring.as2bridge.ISlideInfo Interface
The ISlideInfo Interface provides information about the particular slide of the presentation
such as title, duration, text, etc. It exposes the following properties and methods:
Properties
Page 179
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Remarks
Normalized strings are strings having all characters in the lower case with no extra spaces
between words. This simplifies and speeds up full text search implementation.
See also
Page 180
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
IAnimationSteps Interface
ISlidesCollection Interface
ActionScript 3 and Flex support in iSpring
iSpring.as2bridge.ISlideResources Interface
The ISlideResources Interface provides information about the particular slide of the
presentation such as title, duration, text, etc. It exposes the following properties and methods:
Properties
Methods
Method Description
See also
IPresenterVideo Interface
ISlideInfo Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.ISlidesCollection Interface
Page 181
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
See also
IPresentationInfo Interface
ISlideInfo Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.ISoundController Interface
The ISoundController interface provides sound volume control facilities. It extends the
standard flash.events.IEventDispatcher interface and provides the following properties and
events.
Properties
Events
Type Description
See also
Page 182
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
IPlayer Interface
flash.events.IEventDispatcher Interface
ActionScript 3 and Flex support in iSpring
ispring.as2player.PlaybackEvent Class
The PlaybackEvent Class extends the standard flash.events.Event class and exposes the
following constants and properties:
Constants
PRESENTATION_PLAYBACK_COMPLETE
String presentationPlaybackComplete
Defines the value of the
type property of the
presentationPlaybackComplete
event object. This type of
event occurs when the
playback of the
presentation is
completed.
Page 183
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IPresentationPlaybackController Interface
IPlayer Interface
ActionScript3 and Flex support in iSpring
ispring.as2player.PlaybackPositionEvent Class
SLIDE_POSITION_CHANGED
String slidePositionChanged Defines the value of the
type property of the
slidePositionChanged
event object. This type of
event occurs when the
playback position of the
currently playing slide is
changed.
A slidePositionChanged
event contains the
following properties:
position.
Page 184
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Properties
See also
IPresentationPlaybackController Interface
ActionScript3 and Flex support in iSpring
ispring.as2player.PlayerEvent Class
The PlayerEvent Class extends the standard flash.events.Event class and exposes the
following constants and properties:
Constants
See also
IPlayer Interface
ActionScript3 and Flex support in iSpring
ispring.as2player.PresentationLoader Class
The PresentationLoader Class extends the standard flash.display.Sprite class and exposes
the following methods and events:
Properties
Page 185
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
See also
ActionScript 3 and Flex support in iSpring
ispring.as2player.SlidePlaybackEvent Class
CURRENT_SLIDE_INDEX_CHANGED
String currentSlideIndexChanged Defines the value of the
type property of the
currentSlideIndexChanged
Page 186
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
SLIDE_LOADING_COMPLETE
String slideLoadingComplete Defines the value of the
type property of the
slideLoadingComplete
event object. This type of
event occurs when the
given slide of the
presentation is loaded.
A slideLoadingComplete
event contains the
following properties:
slideIndex.
Properties
See also
IPresentationPlaybackController Interface
ActionScript3 and Flex support in iSpring
ispring.as2player.SoundEvent Class
The SoundEvent Class extends the standard flash.events.Event class and exposes the
following constants and properties:
Constants
Page 187
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
SOUND_VOLUME_CHANGED
String soundVolumeChanged Defines the value of the
type property of the
soundVolumeChanged
event object. This type of
event occurs when the
sound volume is
changed.
A soundVolumeChanged
event contains the
following properties:
volume.
Properties
See also
IPresentationPlaybackController Interface
ActionScript3 and Flex support in iSpring
ispring.as2player.StepPlaybackEvent Class
ANIMATION_STEP_CHANGED
String animationStepChanged Defines the value of the
type property of the
animationStepChanged
event object. This type of
event occurs when
current slide is changed
by another slide of the
Page 188
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
presentation.
A animationStepChanged
event contains the
following properties:
stepIndex.
Properties
See also
IPresentationPlaybackController Interface
ActionScript3 and Flex support in iSpring
This article describes the way of the iSpring generated presentations communication with
Flash applications written in ActionScript 3 and Flex.
Table of contents:
• ActionScript 3.0 and ActionScript 2.0 communication
• ActionScript 3 bridge communication module API
• Integration with Flex applications
• Samples
• ActionScript 3 sample source code
• ActionScript 3 communication demo
• Adobe Flex communication demo
• References
Page 189
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
9 or Flex applications which use ActionScript 3, this API is not accessible anymore -
ActionScript 2 and ActionScript 3 object model are not compatible; Flash movies version 8
or below work in isolated environment within Flash 9 (AS3) and Flex applications.
However, there is a way AS2 and AS3 Flash movies can communicate. It is a
LocalConnection class usage. One Flash movie creates a named LocalConnection object,
defines some functions in it and calls connect() method:
The first Flash movie will receive and execute commands froth the second. When a two-way
interaction is needed, each Flash movie must create 2 LocalConnection objects: one
connection to send commands and another one to receive them.
There is one thing which must be taken into account. It is possible to create only 1
LocalConnection with a given name on the same PC. So it is recommended to generate
connection name based on some random information such as date. The sending Flash movie
needs a connection name of the receiving Flash movie. This connection name can be passed
as an URL parameter:
var lc:LocalConnection = new LocalConnection();
lc.sayHello = function(name:String):Void
{
trace("Hello, " + name + "!");
}
// generate connection name which is most likely unique
var connectionName:String = "conn" + (new Date().getTime());
lc.connect(connectionName);
var childMove:MovieClip = this.createEmptyMovieClip("mc",
this.getNextHighestDepth());
// load child movie and pass the connection name in URL parameter
childMovie.loadMovie("someMovie.swf?lcid=" + escape(connectionName));
A child Flash movie gets the connection name from URL variables:
Page 190
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
A similar way of Flash movies interaction can be used to establish communication between
ActionScript 3 Flash movie and iSpring generated presentations. Flash9 / Flex application
loads a special bridge SWF module written in ActionScript 2 which loads the presentation.
This bridge module communicates with the presentation using its ActionScript API; from
the other hand the bridge communicates with Flash 9 / Flex application using
LocalConnection. This process is illustrated in the following diagram.
Page 191
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 192
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Samples
The following example illustrates the usage of the AS3 bridge module in Adobe Flash CS3:
import ispring.as3bridge.*;
import flash.display.*;
import flash.events.*;
var player:Player;
if (flash.system.Capabilities.playerType == "External")
{
writeLog("This example will work in browser plugin, ActiveX or
Standalone Flash player");
return;
}
Page 193
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 194
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 195
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Flex example
References
AnimationStep Class
AnimationSteps Class
BridgeEvent Class
BridgeLoader Class
PlaybackController Class
Player Class
PresentationContainer Class
PresentationInfo Class
PresenterInfo Class
ReferenceInfo Class
Page 196
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
ReferencesCollection Class
SlideInfo Class
SlidesCollection Class
SoundController Class
iSpring ActionScript API
iSpring.as3bridge.AnimationStep Class
The AnimationStep class provides the information about animation step timings. It exposes
the following properties:
Properties
Remarks
Each slide consists of one or more animation steps with the following structure.
Page 197
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
An Animation step starts playing at the Step start time. Animations are playing for the Play
time. Then, at the Pause start time, animations are suspended for the Pause time period till
the Pause end time. Pause time depends on slide timings that were set using "Record
narration" or "Rehearse timings" menu of PowerPoint.
stepStartTime0 = 0
pauseStartTimei = stepStartTimei + playTimei
pauseEndTimei = pauseStartTimei + pauseTimei
stepStartTimei+1 = pauseEndTimei
If the slide has no timings (i.e. user has to click slide background to advance mouse-driven
animations), Pause time and Pause end time are undefined. In this case returned timings are
as follows:
pauseStartTimei = stepStartTimei + playTimei
pauseEndTimei = undefined
Page 198
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
stepStartTimei+1 = pauseStartTimei
See also
AnimationSteps Class
Obsolete ActionScript 3 API
iSpring.as3bridge.AnimationSteps Class
The AnimationSteps Class provides the information about animation steps on the slide.
Properties
Methods
Method Description
Remarks
Slide animation timeline consists of one or more animation steps. Animation step is a
sequence of animation effects playing without mouse click requirement.
Slide background, static shapes, and shapes animated before the first mouse driven animation
are playing at the animation step 0. So there is at least 1 animation step in each slide.
Each mouse-driven animation and the subsequent non mouse-driven animations are playing
at the separate animation step. In other words, the number of animation steps is equal to
number of on-click animations plus 1.
Example
Page 199
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
There are 4 animation effects in the following slide. They are represented by 3 animation
steps in the generated Flash presentation (click to start animations).
iSpring.as3bridge.BridgeEvent Class
Page 200
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The BridgeEvent Class extends the standard flash.events.Event class and exposes the
following constants and properties:
Constants
Page 201
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
SLIDE_LOAD_COMPLETE
String slideLoadComplete Defines the value of the
type property of the
slideLoadComplete
event object. This type of
event occurs when the
given slide of the
presentation is loaded.
A slideLoadComplete
event contains the
following properties:
playbackController,
slideIndex
Page 202
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 203
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
properties:
playbackController,
position
VOLUME_CHANGING_COMPLETE
String volumeChangingComplete Defines the value of the
type property of the
volumeChangingComplete
event object. This type of
event occurs when the
sound volume property
of the SoundController
object is changed.
A
volumeChangingComplete
event contains the
following properties:
soundController, volume
SLIDE_METADATA_LOAD
String slideMetadataLoad Defines the value of the
type property of the
slideMetadataLoad
event object. This type of
event is generated by
SlideInfo object when its
metadata is loaded.
A slideMetadataLoad
event contains the
following properties:
slideInfo, slideIndex
Properties
Page 204
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 205
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
PlaybackController Class
Player Class
SlideInfo Class
SoundController Class
Obsolete ActionScript 3 API
iSpring.as3bridge.BridgeLoader Class
Method Description
BridgeLoader(target:flash.display.DisplayObjectContainer)
Constructs a new BridgeLoader object which will
load the bridge SWF module into the target
DisplayObjectContainer object
Events
Type Description
See also
BridgeEvent Class
Player Class
flash.events.EventDispatcher Class
flash.display.DisplayObjectContainer Class
Obsolete ActionScript 3 API
iSpring.as3bridge.PlaybackController Class
Page 206
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
gotoNextSlide([autoStart:Boolean = true]):Void Switches to the next presentation slide and starts its
playback.
Note: if the autoStart parameter was set to false, slide
playback would not be started after switching
Page 207
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 208
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
enableAutomaticSlideSwitching(enableSwitching:Boolean):Void
Enables or disables automatic switching to the next
slide.
Note: this method affects automatically switching
slides only.
Events
Type Description
Page 209
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IPlaybackListener Interface
IPlayer Interface
Flash Presentation ActionScript API Reference
iSpring.as3bridge.Player Class
The Player Class extends the standard flash.events.EventDispatcher class and exposes the
following properties and events:
Properties
Page 210
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
• presentationInfo
• playbackController
• soundController
Events
Type Description
See also
PlaybackController Class
PresentationInfo Class
SoundController Class
flash.events.EventDispatcher Class
Obsolete ActionScript 3 API
iSpring.flex.PresentationContainer Class
Samples
This class can be used in Flex applications to put a presentation container UI component to a
Flex form.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
creationComplete="{creationComplete()}"
xmlns:mc="ispring.flex.*" frameRate="30" minWidth="470"
minHeight="200">
<mx:Script source="main.as"/>
<mc:PresentationContainer id="presentationContainer" width="780"
Page 211
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The following code loads the generated presentation into the presentation container (file
main.as).
import iSpring.flex.PresentationContainer;
import iSpring.as3bridge.*;
private function creationComplete():void
{
var bridgeLoader:BridgeLoader = presentationContainer.bridgeLoader;
bridgeLoader.loadPresentation("as3bridge.swf", "presentation.swf");
}
See also
BridgeLoader Class
mx.core.UIComponent Class
Obsolete ActionScript 3 API
iSpring.as3bridge.PresentationInfo Class
The PresentationInfo class stores the presentation information and provides the following
properties:
Properties
Page 212
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
PresenterInfo Class
SlidesCollection Class
ReferencesCollection Class
Obsolete ActionScript 3 API
iSpring.as3bridge.PresenterInfo Class
The PresenterInfo Class stores the information about presenter and provides the following
properties:
Properties
Page 213
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
PresentationInfo Class
Obsolete ActionScript 3 API
iSpring.as3bridge.ReferenceInfo Class
The ReferenceInfo Class provides the following properties for retrieving reference
information:
Properties
See also
ReferencesCollection Class
Obsolete ActionScript 3 API
iSpring.as3bridge.ReferencesCollection Class
The ReferencesCollection class provides the following properties and methods for accessing
presentation references:
Properties
Page 214
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
See also
ReferenceInfo Class
PresentationInfo Class
Obsolete ActionScript 3 API
iSpring.as3bridge.SlideInfo Class
The SlideInfo Class provides information about the particular slide of the presentation such
as title, duration, text, etc. It exposes the following properties and methods.
Properties
Page 215
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Normalized strings are strings having all characters in the lower case with no extra spaces
between words. This simplifies and speeds up full text search implementation.
See also
AnimationSteps Class
SlidesCollection Class
Obsolete ActionScript 3 API
`
iSpring.as3bridge.SlidesCollection Class
Page 216
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
See also
PresentationInfo Class
SlideInfo Class
Obsolete ActionScript 3 API
iSpring.as3bridge.SoundController Class
The SoundController class provides sound volume control facilities. It extends the standard
flash.events.EventDispatcher class and provides the following properties and events.
Properties
Events
Type Description
See also
Player Class
Page 217
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
flash.events.EventDispatcher Class
Obsolete ActionScript 3 API
Page 218
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The following interfaces are used for the development of custom skins. They are located
within fsplayer.ui.skins package.
Name Description
Samples
Page 219
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
import fsplayer.ui.skins.ISkin;
import MySkin;
function createSkin(target:MovieClip):ISkin
{
return new MySkin(target);
}
import fsplayer.ui.skins.ISkin;
class MySkin implements ISkin
{
// implementation of ISkin interface methods
}
A minimal implementation of the ISkin interface can be found in the sampes section of the
ISkin interface description.
See also
ISkin Interface
ISkin Interface implementation
iSpring presentation structure
Method Description
Page 220
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Remarks
Skin initialization can take some time, especially when the skin loads some extra data from
the Internet. In order to get the initialization notification the player core implements the
ISkinListener Interface and passes it to the skin via the setListener() method.
Samples
import fsplayer.ui.skins.*;
import fsplayer.api.*;
class CSkinImpl implements IPlaybackListener, ISkin, ISlideShowWindow
{
private var m_skinTarget:MovieClip;
private var m_slideAssetsTargetMovieClip:MovieClip;
private var m_listener:ISkinListener;
private var m_player:IPlayer;
private var m_skinSettings:Object;
private var m_presentation:IPresentationInfo;
private var m_playbackController:IPresentationPlaybackController;
private var m_skinInitialized:Boolean;
public function CSkinImpl(target:MovieClip)
{
m_skinTarget = target;
}
// This method is called to initialize the skin
function initialize(playerAPI:IPlayer):Void
{
m_player = playerAPI;
Page 221
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
m_skinSettings = m_player.getSettings();
m_playbackController = m_player.getPlaybackController();
m_presentation = m_player.getPresentationInfo();
m_playbackController.addListener(this);
}
// returns slide show window
function getSlideShowWindow():ISlideShowWindow
{
return this;
}
// ISlideShowWindow.getTarget() returns the target MovieClip where slides
will be loaded and displayed by player core
function getTarget():MovieClip
{
if (!m_slideAssetsTargetMovieClip)
{
m_slideAssetsTargetMovieClip = createSlideAssetsTarget();
}
return m_slideAssetsTargetMovieClip;
}
// this method is called by playback core to get notified when the skin is
loaded
function setListener(listener:ISkinListener):Void
{
m_listener = listener;
if (!m_skinInitialized)
{
m_skinInitialized = true;
m_listener.onSkinInit(this);
}
}
// empty implementation of IPlaybackListener interface methods. They can be
overriden by inherited classes
function onPausePlayback():Void{}
function onStartPlayback():Void{}
function onCurrentSlideIndexChanged(slideIndex:Number):Void{}
function onSlideLoadingComplete(slideIndex:Number):Void{}
function onSlidePositionChanged(position:Number):Void{}
function onAnimationStepChanged(stepIndex:Number):Void{}
function onPresentationPlaybackComplete():Void{}
// This method can be used in the inherited classes to get the skin
settings
private function getSkinSettings():Object
{
return m_skinSettings;
}
Page 222
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
// returns the target MovieClip where the skin resides. This method can be
overriden in inherited classes.
private function getSkinTarget():MovieClip
{
return m_skinTarget;
}
// This method creates the MovieClip slides will be loaded into
// This method can be overriden in the inherited classes
private function createSlideAssetsTarget():MovieClip
{
return getSkinTarget().createEmptyMovieClip("assets",
getSkinTarget().getNextHighestDepth());
}
}
See also
IPlayer Interface
IPresentationPlaybackController Interface
ISkinListener Interface
ISlideShowWindow Interface
Skin development
Method Description
Remarks
Skin initialization can require some time especially if the skin needs to load some
information from the Internet in order to finish the initialization process. Skin notifies the
player core via onSkinInit() method call on the ISkinListener interface. The ISkinListener
Interface is passed to the skin via setListener() method of the ISkin Interface.
The player core will not start loading presentation slides until it gets onSkinInit notification.
Page 223
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
ISkin Interface
Skin development
Method Description
setSize(width:Number, height:Number):Void This method allows to set width and height in pixels
of the window where skin is displayed. Applies to the
skin if self-scaling is disabled
Page 224
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
ISkin Interface
Method Description
Remarks
iSpring generated presentations can be wrapped into one of the existing skins or into a
custom made skin. Each skin provides its unique user interface. Slide loading and playback is
a responsibility of the player core while UI and navigation is a responsibility of skins. The
ISlideShowWindow interface provides playback core with the necessary target MovieClip
for presentation slides loading and display.
See also
ISkin Interface
Skin development
Page 225
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
The following table lists all ActionScript interfaces provided by standalone slides. These
interfaces reside in slideplayer.api package.
Name Description
Page 226
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IAnimationStep Interface
IAnimationSteps Interface
IHyperlinksManager Interface
IPlaybackController Interface
IPlaybackListener Interface
ISlideController Interface
ISoundController Interface
Method Description
Page 227
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
remarks section)
Remarks
Each slide consists of one or more animation steps with the following structure.
An Animation step starts playing at the Step start time. Animations are playing for the Play
time. Then, at the Pause start time, animations are suspended for the Pause time period till
the Pause end time. Pause time depends on slide timings that were set using "Record
narration" or "Rehearse timings" menu of PowerPoint.
stepStartTime0 = 0
pauseStartTimei = stepStartTimei + playTimei
Page 228
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
If the slide has no timings (i.e. user has to click slide background to advance mouse-driven
animations), Pause time and Pause end time are undefined. In this case returned timings are
as follows:
pauseStartTimei = stepStartTimei + playTimei
pauseEndTimei = undefined
stepStartTimei+1 = pauseStartTimei
See also
IAnimationSteps Interface
Flash Slide ActionScript API Reference
Method Description
Remarks
Slide animation timeline consists of one or more animation steps. Animation step is a
sequence of animation effects playing without mouse click requirement.
Slide background, static shapes, and shapes animated before the first mouse driven animation
are playing at the animation step 0. So there is at least 1 animation step in each slide.
Each mouse-driven animation along with the subsequent non mouse-driven animations are
playing at the separate animation step. In other words, the number of animation steps is equal
to number of on-click animations plus 1.
Page 229
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Example
There are 4 animation effects in the following slide. They are represented by 3 animation
steps in the generated Flash presentation (click to start animations).
Page 230
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
Samples
The following example illustrates a typical IHyperlinksManager interface implementation
and shows its usage.
CMyHyperlinksManager.as
import slideplayer.api.*;
class CMyHyperlinksManager implements IHyperlinksManager
{
private var m_viewedSlides:Array;
Page 231
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 232
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
import slideplayer.api.*;
System.security.allowDomain("*");
var rootMC:MovieClip = this;
var slidesMC:MovieClip = rootMC.createEmptyMovieClip("slidesMC", 2);
var slideMC1:MovieClip = slidesMC.createEmptyMovieClip("slide1", 1);
var g_slideController:ISlideController;
var g_hyperlinksManager:CMyHyperlinksManager = new CMyHyperlinksManager();
g_hyperlinksManager.loadSlide = function(slideIndex:Number):Void
{
loadSlide(slideIndex);
}
g_hyperlinksManager.gotoSlide(0);
// loads slide with the specified slide index
function loadSlide(slideIndex:Number):Void
{
// remove hyperlinks manager from the current slide
g_slideController.setHyperlinksManager(undefined);
var ml:MovieClipLoader = new MovieClipLoader();
ml.addListener(this);
ml.loadClip("data_hl/slide" + (slideIndex + 1) + ".swf", slideMC1);
}
function onLoadInit(target:MovieClip):Void
{
g_slideController = target.getSlideController();
slideController.setHyperlinksManager(g_hyperlinksManager);
}
Demo
The following demo illustrates hyperlinks and action buttons handling via
IHyperlinksManager interface.
Page 233
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
ISlideController Interface
Flash Slide ActionScript API Reference
Method Description
Page 234
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 235
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
step
Samples
The following example illustrates how to obtain and use the IPlaybackController interface to
control slide playback
import slideplayer.api.*;
// slide loading and initialization code is placed here
// ...
var g_slideController:ISlideController;
var g_playbackController:IPlaybackController;
// this function is called when slide movie clip has been loaded
function onLoadInit(target:MovieClip):Void
{
g_slideController = target.getSlideController();
g_playbackController = g_slideController.getPlaybackController();
}
playPauseSlideButton.onRelease = function()
{
if (g_playbackController)
{
if (g_playbackController.isPlaying())
{
g_playbackController.pause();
}
else
{
g_playbackController.play();
}
}
}
Demo
This demo illustrates slide playback control via IPlaybackController interface.
Page 236
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
References
IPlaybackListener Interface
ISlideController Interface
Flash Slide ActionScript API Reference
Page 237
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
In order to receive event notifications you need to create a class which implements
IPlaybackListener interface and pass the instance of this class to the addListener method
of the IPlaybackController interface.
See also
IPlaybackController Interface
Flash Slide ActionScript API Reference
Method Description
Page 238
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
setHyperlinksManager(manager:IHyperlinksManager):Void
Sets the new IHyperlinksManager interface which
will handle hyperlink actions
Samples
The following example illustrates how to load a flash slide and get its ISlideController
interface.
import slideplayer.api.*;
System.security.allowDomain("*");
// create a movie clip where slide will be loaded
var slideMC1:MovieClip = this.createEmptyMovieClip("slide1", 1);
// load slide with name slide1.swf into slideMC1 movie clip
var ml:MovieClipLoader = new MovieClipLoader();
ml.addListener(this);
ml.loadClip("slide1.swf", slideMC1);
var g_slideController:ISlideController;
// this function is invoked by MovieClipLoader when the loaded Flash slide
is initialized
function onLoadInit(target:MovieClip):Void
{
// now we can get ISlideController interface and access its methods
g_slideController = target.getSlideController();
}
Demo
The following demo illustrates standalone slide loading and playback control via
IPlaybackController interface.
Page 239
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
IAnimationSteps Interface
IHyperlinksManager Interface
IPlaybackController Interface
ISoundController Interface
Flash Slide ActionScript API Reference
Page 240
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Method Description
Samples
var g_slideController:ISlideController;
var g_soundController:ISoundController;
function loadSlide(slideIndex:Number):Void
{
var ml:MovieClipLoader = new MovieClipLoader();
ml.addListener(this);
var fileName:String = "data_snd/slide" + slideIndex + ".swf";
var slashPos:Number = Math.max(this._url.lastIndexOf("/"),
this._url.lastIndexOf("\\"));
var fullPath:String = this._url.substr(0, slashPos + 1) + fileName;
ml.loadClip(fullPath, slideMC1);
loadingLabel.text = this._url;
}
function onLoadInit(target:MovieClip):Void
{
g_slideController = target.getSlideController();
g_soundController = g_slideController.getSoundController();
g_trackBar.setPos(g_soundController.getVolume());
}
g_trackBar.newPos = function(pos:Number):Void
{
g_soundController.setVolume(pos);
}
Demo
The following demo illustrates ISoundController interface usage to control sound volume on
the slide.
Page 241
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
ISlideController Interface
Flash Slide ActionScript API Reference
Page 242
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
12.1.1 References
PlaybackController Class
Player Class
PresentationInfo Class
PresentationLoader Class
PresentersCollection Class
SlideInfo Class
SlidesCollection Class
SoundController Class
Page 243
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Methods
Method Description
See also
PlaybackController Class
PresentationInfo Class
SoundController Class
JavaScript support in iSpring
Method Description
Page 244
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
JavaScript support in iSpring
ANIMATION_STEP_CHANGED
String playbackListener_onAnimationStepChanged
Defines the name of
animation step changed
event.
SLIDE_POSITION_CHANGED
String playbackListener_onSlidePositionChanged
Defines the name of slide
position changed event.
CURRENT_SLIDE_INDEX_CHANGED
String playbackListener_onCurrentSlideIndexChanged
Defines the name of
current slide is changed
event.
SLIDE_LOADING_COMPLETE
String playbackListener_onSlideLoadingComplete
Defines the name of slide
loading is completed
event.
PRESENTATION_PLAYBACK_COMPLETE
String playbackListener_onPresentationPlaybackComplete
Defines the name of
presentation playback
completed event.
PLAYBACK_SUSPENDEDString playbackListener_onPlaybackSuspended
Defines the name of
presentation playback
Page 245
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
suspended event.
Methods
Method Description
Page 246
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
Page 247
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
PlaybackControllerEvents Class
Player Class
JavaScript support in iSpring
Page 248
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
PresentationPlaybackCompleteHandlers
Object Stores array of event handlers
associated with presentation
playback completed event.
Page 249
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
PlaybackController Class
JavaScript support in iSpring
Method Description
See also
PresentersCollection Class
SlidesCollection Class
JavaScript support in iSpring
Method Description
Page 250
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
PresentationInfo Class
JavaScript support in iSpring
Method Description
See also
PresentationInfo Class
SlidesCollection Class
JavaScript support in iSpring
Method Description
Page 251
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
See also
PresentationInfo Class
JavaScript support in iSpring
Methods
Method Description
Page 252
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
fsplayer.api.SoundController.VOLUME_CHANGED
See also
Player Class
JavaScript support in iSpring
13 Support
We are trying to develop our product to the maximum ease of use. But in case you have
problems using iSpring, please first consult the documentation provided with the product and
try to find the competent answers to your questions in the iSpring FAQ base.
If your question remains unanswered, please get in touch with us through online feedback
form. We will be happy to give you our helping hand and to find a quick solution to your
request.
We appreciate any comments, concerns, kudos or critique. Share your opinion on the service
you have received when using our product. Feel free to send us your feedback at support
page on www.ispringsolutions.com. Also now you can post your questions and opinions,
exchange ideas and discuss technical issues on iSpring Community Forum.
Page 253
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
All users of iSpring are entitled to absolutely free and prompt technical support. We stop
providing support only to refunded copies' users.
Free Technical Support includes:
• Unlimited free patches for stability-related bugs
• The iSpring online knowledge base
• Email questions that will be answered within five business days
To get the most benefit out of iSpring PRESENTER, sign up for a Premium Technical
Support or Consulting Service and receive prompt and personalized service from the
iSpring Support Team.
Premium Technical Support includes:
• Free iSpring upgrades including major releases and patches
• Unlimited telephone support
• Email questions answered within one business day
• 20% discount on iSpring Consulting services
Contact us for details about Premium Technical Support and Consulting Services.
14 iSpring solutions
iSpring Solutions provides a product line for online, desktop and server-side PowerPoint to
Flash conversion. Having years of experience in PowerPoint to Flash conversion area iSpring
engineers implements the latest researches and achievements in iSpring PowerPoint and
Flash technology.
iSpring Online
iSpring Online lets you easily publish presentations online for public or private sharing and
courses online and track viewing and e-learning activities.
register learn more
SlideBoom
SlideBoom online slide hosting portal allows you share presentations online for free or create
your own customized slidelog under PRO account.
register learn more
iSpring SDK
iSpring SDK provides effective server-side PowerPoint to Flash conversion facilities for web
Page 254
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.
iSpring Presenter 4.3 Guide
sites and online applications. It is optimized for multitasking processing and produces fast
batch conversion of thousands of PowerPoint presentations to high-quality Flash clips.
download learn more
ActiveSWF SDK
ActiveSWF SDK provides smart components for Flash applications development in C++,
C#, VisualBasic, ASP, PHP for .NET/COM/Win32 platforms.
download learn more
Page 255
Copyright © 2005 iSpring Solutions, Inc. All rights reserved.