Flash Detection Problem

Hey Guys,

I have been implementing the full Flash Detection using the tutorial found here:

http://www.adobe.com/devnet/flash/articles/fp8_detection.html

I got it to work fine when Flash isn’t installed, but when I install FP 6 to test the upgrade prompt, I get the following error:

I looked at the code in detect.htm at line 188, but it does not make any sense as to what is wrong (at least to me :-/ ).

Any ideas?