SWF SlideShow Scout |
Quick
Start Guide:
How
to create slide show SWF flash file in Visual Basic using SWF SlideShow
Scout:
"Hello, World" example You can download the source code of this example here: swfslideshowscout_vb.zip This guide will teach you how to create simple SWF flash animation using SWF SlideShow Scout library and Visual Basic
1) Install
SWF SlideShow Scout library on your computer and run Visual
Basic. Go to File and click New
![]() The Project
Wizard will appear:
![]() 2) Select
Standard EXE project type and click Open to create a new
project.
Visual Basic will generate new project called Project1 and will automatically open the main form of the generated project: ![]() 3) Click
on Form1 surface and Visual Basic will show the code window
for Form_Load event:
![]() 4) Now
you have to add the code that will create SWF flash movie file using
SWF SlideShow Scout library.
Here is the
source code that you can simply copy and paste into Visual Basic:
Set SlideShow = CreateObject("SWFSlideShowScout.SlideShow")
' initialize library SlideShow.InitLibrary "demo", "demo" SlideShow.BeginSlideShow 320, 240 ' slide #1, show with "stetMosaicLarge" effect (11
= stetMosaicLarge), 1000 msec ' slide #2, show with "stetBlur" effect (6 = stetBlur),
1000 msec ' slide #3, show with "stetZoomCircle" effect (29 =
stetZoomCircle), 1000 msec ' slide #4, show with "stetLiquid" effect (37 = stetLiquid),
1000 msec ' slide #5, show with "stetShuttersBias" effect (16
= stetShuttersBias), 1000 msec ' save to flash movie file ' free slideshow object This function
will create slideshow SWF file "HelloWorld.swf" in the folder with VB
project EXE
Hint:
You can simply
copy the source code from the snippet above and then paste it in the
Visual Basic code editor as it's shown on the screenshot below:
5) Press
F5 to run the application (you can also use "Run" | "Start"
menu command).
![]() 6) Visual
Basic will run the application and application will generate flash slideshow
file "HelloWorld.swf".
You can view
generated flash movie (.SWF) using Internet Explorer or another
application that is capable of viewing and playing of flash animations.
You can download
the source code of this example here: swfslideshowscout_vb.zip
"Hello, World!" flash slideshow movie generation examples for different programming languages will guide you step by step from the very beginning: |
|
|
||