As you may have heard, Adobe recently released the first beta of Flash Player 10. It looks like unFocus.FlashPlayerInfo has been checking for single version digits, rather than multiple:
[cc lang=’javascript’ ]
_versionRaw.match(/Shockwave Flash (\d)\.(\d)/);
[/cc]
The fix is easy enough (I could swear I actually fixed this at one point too):
[cc lang=’javascript’ ]
_versionRaw.match(/Shockwave Flash (\d+)\.(\d+)/);
[/cc]
This problem doesn’t seem to be limited to just the unFocus Flash Detection script. I’ve seen other claims of failed Flash detection in other corners as well. I’d bet most of the problems are with the plugin detection scripts (Mozilla Firefox, Opera, Safari, etc.) and not with the ActiveX detection scripts (Internet Explorer), since most of the plugin detection scripts out there are using string parsing techniques, and have probably not tested with multiple digit Flash versions (since there haven’t been any until now).
I’ll see about getting a release out soon. If anyone needs any help updating anything, feel free to leave a comment, or email me.
Thank you for solving this. I had a client complaining that all the flash galleries I made from photoshop were broken and I didn’t believe him until I upgraded my own flash and saw the same thing (as above) with my own two eyes. Arg.
Yeah, sorry about that. In retrospect, this should have been easy to predict. 🙁
Hi there,
I have been searching and searching for the solution to this Flash 10 detection and found this. I too used the PS CS3 flash gallery and am getting this detection problem… i tried to find the line of code you posted above but could not find it anywhere in the .js file to replace it. Any help would be much appreciated!!
You can find a corrected copy of the detect script in the SVN repo. I’ll try to get a proper packaged release out soon.
Oh, actually are you using the unFocus detector? If not, you may need to switch your embed code.