Flash us all

I have been trying to add the script to see if a user has flash installed, and if they do not they are sent to a different page, but the problem is that the I am using a perl script that calls the header of the page to be printed;

I want to add a section to the script but since its java, it will not allow the perl script to work… Here is what I wan to add,


if ( MM_FlashCanPlay ) {
window.location.replace("print $config{'header'}";);
} else{
window.location.replace("print $config{'header2'}";);
}

The original that javascript that tells which page to go to is attached since the forum would not allow me to add it here, unless I did something wrong with that.

ANY help from the FLASH people would be appeciated on this…

Dont tell me that no one here has a answer to this?

Anyone…:!:

you’re trying to add Perl to a Javascript function? You can’t do that…

http://www.kirupa.com/developer/mx/detection.htm

Yes I understand that, i was hoping there could be a perl solution… Without it the java entry is really useless as far as detection.

well you need to use a language that is Client-side (javascript) so that the script can read the user’s files and get information about which version of the Flash plug is installed. A server-side script (like perl) can’t do that because it is executed on the server…