vbmethods.vbscript 316 B

12345678910111213
  1. Function VBGetSwfVer(i)
  2. on error resume next
  3. Dim swControl, swVersion
  4. swVersion = 0
  5. set swControl = CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" + CStr(i))
  6. if (IsObject(swControl)) then
  7. swVersion = swControl.GetVariable(\"\$version\")
  8. end if
  9. VBGetSwfVer = swVersion
  10. End Function