Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:


Error: The Flash version you installed is: 0 You need flashplayer: 8 Internet Explorer

We encountered this problem implementing a Wiqet with javascript that loads the Wiqet indirectly.
e.g.:
Description error:
The page first loaded a from that asked for a name of the Wiqet. Then it via javascript it loaded the Wiqet (not refreshing the page (AJAX)) onto the page. In Internet Expolorer it generated the error: "The Flash version you installed is: 0 You need flashplayer: 8"

This is an example code that did NOT work:

Enter email: <input onclick= "loadWiqet();"  name ="email" id="email"  />

<form method="post">

      <div style="hidden" id="formWiqet">Form is loading...</div>
</form>


<script type="text/javascript">
function loadWiqet()
{
var validated = checkValidation(); //some function that validates the input box

if(validated){

var IVcustomerId  = '[customerid]';
var IVuniqueId    = '[uniqueid]'; //Cannot be empty!
var IVWiqetCode  = '[WiqetCode]';
etc. etc..... 
var error = play_wiqet(IVDisplayUrl,IVplayerUrl,'editor',IVWiqetCode,IVcustomerId,IVuniqueId,IVwidth,IVheight,IValign,IVbgColor,IVdivLink,IVdivForm,IVdivPlayer,IVFormName,IVFormnameType, '', '');
}
}
</script>


Better is to hide the div where the Wiqet is loading:

<form method="post">

      <div style="hidden" id="formWiqet">Form is loading...</div>
</form>

<script type="text/javascript">
function loadWiqet()
{
     var validated = checkValidation(); //some function that validates the input box
     if(validated){
                   document.getElementById('formWiqet').style.visibility = "visible";
      }
}
var IVcustomerId  = '[customerid]';

var IVuniqueId    = '[uniqueid]'; //Cannot be empty!

var IVWiqetCode  = '[WiqetCode]';
etc. etc..... 
var error = play_wiqet(IVDisplayUrl,IVplayerUrl,'editor',IVWiqetCode,IVcustomerId,IVuniqueId,IVwidth,IVheight,IValign,IVbgColor,IVdivLink,IVdivForm,IVdivPlayer,IVFormName,IVFormnameType, '', '');

</script>


Solution:
The solution is to load the Wiqet directly so the javascripting behind the Wiqet can detect the Flash version. So hiding the div where the Wiqet is loading seems to do the trick..