Hi...
I am trying to make a box 100X100 for pictures in flash- so they will fade-in-fade-out... I don't want to lose the other surfers who doesn't install flash... so I decided to use a flesh edtection script... and the other people who doesn't have flash will have a 100X100 box with php or something else- a substitusion for the flash they don't have...
<script language="javascript" type="text/javascript" src="flash_detect.js">
<!--
function getFlashVersion() { return null; };
//-->
</script>
<script language="javascript" type="text/javascript">
<!--
var flashVersion = getFlashVersion();
if (flashVersion < 6) {
location.replace("upgrade.html");
//-->
</script>
- <script language="javascript" type="text/javascript" src="flash_detect.js">
- <!--
- function getFlashVersion() { return null; };
- //-->
- </script>
-
- <script language="javascript" type="text/javascript">
- <!--
- var flashVersion = getFlashVersion();
- if (flashVersion < 6) {
- location.replace("upgrade.html");
- //-->
- </script>
This Script is taken from a full flash page I have.
Ok, so the script change URL to upgrade.html. But I want to make just for the other way to show the image and not to change my URL.
If there is no FLASH detection- so I want to call another JS to swap images in another language...
I don't have expirience with Scripts and Flash. How can I do it?
Thanks in advance for any help...
Cdx.