- Home
- Purchase
- Developer Tools
- BarCode Generator SDK
- BarCode Generator SDK for Javascript for Code 128
- BarCode Reader SDK
- PDF Generator SDK for Javascript
- PDF Extractor SDK
- PDF Renderer SDK
- PDF To HTML SDK
- PDF Viewer SDK
- Spreadsheet SDK
- Image To Video SDK
- Screen Video Capturing SDK
- SWF To Video and Images SDK
- Images Watermarking SDK
- Document SDK beta
- Misc Tools
- Desktop Utilities
- Download
- Support
- Company
How to convert SWF flash movie into video file in Visual Basic Script (.VBS) using SWF To Video SDK
This sample source code shows how to convert SWF flash movie file into a AVI video using Bytescout SWF To Video SDK in VBScript (.VBS). You can save this sample source code as Test.VBS file and run in Explorer by double-clicking on it.
You can use the SDK in both x86 and x64 versions of Windows.
' Create an instance of SWFToVideo ActiveX object Set converter = CreateObject("BytescoutSWFToVideo.SWFToVideo") ' Set debug log 'converter.SetLogFile "log.txt" ' Register SWFToVideo converter.RegistrationName = "demo" converter.RegistrationKey = "demo" ' Add SWF file and set its output filename converter.SetMovie "SlideShowWithEffects.swf", "result.avi" ' Set output movie dimensions converter.OutputWidth = 640 converter.OutputHeight = 480 ' Run conversion converter.RunAndWait ' Open result in default media player Set shell = CreateObject("WScript.Shell") shell.Run "result.avi", 1, false Set shell = Nothing Set converter = Nothing
Filed in:
SWF To Video SDK
Tutorials:






