Hi all,
I'm playing around with the Flash Detection Kit: "Express version". Now it describes in the flash developers tutorial it's possible te set conditions for when a user accepts the install, declines is or if there is an error for some reason.
Code:
function installStatus(statusValue) {
if (statusValue == "Download.Complete") {
// Installation is complete. In most cases the browser window that this SWF
// is hosted in will be closed by the installer or manually by the end user
}
else if (statusValue == "Download.Cancelled") {
getURL("index.php?page=noflash");
// The end user chose "NO" when prompted to install the new player
// by default no User Interface is presented in this case. It is left up to
// the developer to provide an alternate experience in this case
}
else if (statusValue == "Download.Failed") {
getURL("index.php?page=error");
// The end user failed to download the installer due to a network failure
// by default no User Interface is presented in this case. It is left up to
// the developer to provide an alternate experience in this case
}
}
So i tried adding getURL ("link.php"); when it fails or if there are errors, but it doesn't work.
Anyone has an idea what's going wrong and has a solution?
Thanks in advance!