You are here: Home > Programming > Flash programming > Code repository > Useful code > checkPluginVersion
function checkPluginVersion(minimalMajorNumber, minimalMinorNumber, updateURL)
Checks player version. Redirects to url updateURL if:
- major number is smaller than should
- major number is equal to minimal major number but minor number is smaller
- minimalMajorNumber
- minimalMinorNumber - can set to null or undefined and will be ignored then
- updateURL - url to go to if test fails. Can also be a javascript string.
Attachment: ![]() | Action: | Size: | Date: | Who: | Comment: |
|---|---|---|---|---|---|
| | action | 872 | 16 Jan 2004 - 14:26 | ArthurClemens |


