Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 820 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 820 Bytes

SWFPlayerVersion

Shockwave Flash Player version utility. GCC ADVANCED optimizations compatible.

// Test if SWF Player version is supported and output the actual version.
if (SWFPlayerVersion.isSupported('10.0')) {
  alert('SWF Player ' + SWFPlayerVersion.get() + ' is installed');
}

API

get()
  returns {?string} '#.#.#' or null.

  Get available SWF Player version. Result is cached.
isSupported(requiredString)
  requiredString {string} '#.#.#', '#.#', '#' or ''.
  returns {boolean} true if supported.

  Determine if available SWF Player meets version requirement.