Home

SWF Scout

SWF Scout screenshot (click to enlarge)



SWF Scout ActiveX/NET library

Reading information (width, height, fps, number of frames, swf format version) using SWF Scout library

Use SWFFileInfo object interface to get information about existing SWF file. This can be useful if you want to use external SWF to create new flash movie

Download ZIP with the source code for this example (swfscout_swffileinfo.zip, 94KB)

Example below will read information about shapes.swf

SWFFileName = "shapes.swf"
Set SWFFileInfo = CreateObject("SWFScout.SWFFileInfo")
SWFFileInfo.LoadFile SWFFileName

FPS = SWFFileInfo.FPS
Height = SWFFileInfo.YMax - SWFFileInfo.YMin
Width = SWFFileInfo.XMax - SWFFileInfo.XMin
FramesCount = SWFFileInfo.FramesCount
Version = SWFFileInfo.Version

MsgBox "FileName="  & SWFFileName &vbCRLF & "Version="  & CStr(Version) &vbCRLF & "FPS="  & CStr(FPS) &vbCRLF & "Width="  & CStr(Width) &vbCRLF & "Height="  & CStr(Height) &vbCRLF & "FramesCount="  & CStr(FramesCount) &vbCRLF

Products  |  Download  |  Purchase  |  Support  |  Contacts  |  Testimonials |  

ByteScout, 2003-2008. All other company and product names may be trademarks of their respective companies. Privacy Statement