make sure ActiveXObject exists before accessing it - fixes #1187
Merge pull request #1234 from patrickkettner/flash-fix

make sure ActiveXObject exists before accessing it - fixes #1187