Flash Version
-
Hi All, How to Find the Flash version in client's PC? We are developing Flash chat application, in that we have to check Whether the User having Flash when they access our chat application, So plz help me how to find the version. Thanks in Advance
-
Hi All, How to Find the Flash version in client's PC? We are developing Flash chat application, in that we have to check Whether the User having Flash when they access our chat application, So plz help me how to find the version. Thanks in Advance
Hi i did this check using Javascript find below the script
<!--
var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length)
{
x = navigator.plugins["Shockwave Flash"];
if (x)
{
flashinstalled = 2;
if (x.description)
{
y = x.description;
flashversion = y.charAt(y.indexOf('.')-1);
}
}
else
flashinstalled = 1;
if (navigator.plugins["Shockwave Flash 2.0"])
{
flashinstalled = 2;
flashversion = 2;
}
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
x = navigator.mimeTypes['application/x-shockwave-flash'];
if (x && x.enabledPlugin)
flashinstalled = 2;
else
flashinstalled = 1;
}
else
MSDetect = "true";// -->
-- modified at 8:33 Monday 30th April, 2007
WaelA Software Engineer WaelA@hotmail.com
-
Hi i did this check using Javascript find below the script
<!--
var flashinstalled = 0;
var flashversion = 0;
MSDetect = "false";
if (navigator.plugins && navigator.plugins.length)
{
x = navigator.plugins["Shockwave Flash"];
if (x)
{
flashinstalled = 2;
if (x.description)
{
y = x.description;
flashversion = y.charAt(y.indexOf('.')-1);
}
}
else
flashinstalled = 1;
if (navigator.plugins["Shockwave Flash 2.0"])
{
flashinstalled = 2;
flashversion = 2;
}
}
else if (navigator.mimeTypes && navigator.mimeTypes.length)
{
x = navigator.mimeTypes['application/x-shockwave-flash'];
if (x && x.enabledPlugin)
flashinstalled = 2;
else
flashinstalled = 1;
}
else
MSDetect = "true";// -->
-- modified at 8:33 Monday 30th April, 2007
WaelA Software Engineer WaelA@hotmail.com
Hey mate, that is a nice piece of script there, could I recommend that you place it in PRE tags so that it is easier to read (especially with so many nested statements).
Brad Australian - peterchen on "Who has the worst keyboard" Keyboard? Ha! I throw magnets over the RAM chips!
-
Hey mate, that is a nice piece of script there, could I recommend that you place it in PRE tags so that it is easier to read (especially with so many nested statements).
Brad Australian - peterchen on "Who has the worst keyboard" Keyboard? Ha! I throw magnets over the RAM chips!
Be My Guest Done
WaelA Software Engineer WaelA@hotmail.com