reckitt telemetry test - call #3


/ Published in: HTML
Save to your folder(s)

3rd call in sequence ( call & response )


Copy this code and paste it in your HTML
  1. http://dev1.realtimematrix.net/dvrtx/Flex/anothertest/Reckittnew.html?minivID=miniV000001&spaceguid=BoWELXzGDUq4
  2.  
  3. <!-- saved from url=(0014)about:internet -->
  4. <html lang="en">
  5.  
  6. <!--
  7. Smart developers always View Source.
  8.  
  9. This application was built using Adobe Flex, an open source framework
  10. for building rich Internet applications that get delivered via the
  11. Flash Player or to desktops via Adobe AIR.
  12.  
  13. Learn more about Flex at http://flex.org
  14. // -->
  15.  
  16. <head>
  17. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  18.  
  19. <!-- BEGIN Browser History required section -->
  20. <link rel="stylesheet" type="text/css" href="history/history.css" />
  21. <!-- END Browser History required section -->
  22.  
  23. <script src="AC_OETags.js" language="javascript"></script>
  24.  
  25. <!-- BEGIN Browser History required section -->
  26. <script src="history/history.js" language="javascript"></script>
  27. <!-- END Browser History required section -->
  28.  
  29. body { margin: 0px; overflow:hidden }
  30. <script language="JavaScript" type="text/javascript">
  31. <!--
  32. // -----------------------------------------------------------------------------
  33. // Globals
  34. // Major version of Flash required
  35. var requiredMajorVersion = 9;
  36. // Minor version of Flash required
  37. var requiredMinorVersion = 0;
  38. // Minor version of Flash required
  39. var requiredRevision = 124;
  40. // -----------------------------------------------------------------------------
  41. // -->
  42. </head>
  43.  
  44. <body scroll="no">
  45. <script language="JavaScript" type="text/javascript">
  46. <!--
  47.  
  48.  
  49. // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
  50. var hasProductInstall = DetectFlashVer(6, 0, 65);
  51.  
  52. // Version check based upon the values defined in globals
  53. var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
  54.  
  55. //var tv2nreferrer = this.window.document.referrer;
  56. //var tv2nreferrer = window.location
  57. var tv2nreferrer = escape(this.window.document.referrer);
  58. //var tv2nreferrer = escape(window.document.location);
  59. //alert("tv2nreferrer outside: " + tv2nreferrer);
  60. //var tv2nspaceguid = "BoWELXzGDUq4";
  61. //var minivID = window.location.search.substring(1);
  62. var query = window.location.search.substring(1);
  63. //var minivID = getQueryParamValue("minivID");
  64. //alert("tv2nreferrer minivID: " + minivID);
  65.  
  66. var parms = query.split('&');
  67. for (var i=0; i<parms.length; i++) {
  68. var pos = parms[i].indexOf('=');
  69. if (pos > 0) {
  70. var key = parms[i].substring(0,pos);
  71. var val = parms[i].substring(pos+1);
  72. //alert("key/val: " + key + "/" + val);
  73. if (key == "spaceguid") {
  74. tv2nspaceguid = val;
  75. } else if (key == "minivID") {
  76. minivID = val;
  77. }
  78. }
  79. }
  80.  
  81. //alert ("minivID: " + minivID);
  82. //alert ("tv2nspaceguid: " + tv2nspaceguid);
  83.  
  84. if ( hasProductInstall && !hasRequestedVersion ) {
  85. //alert ( "hasProductInstall && !hasRequestedVersion" );
  86. // DO NOT MODIFY THE FOLLOWING FOUR LINES
  87. // Location visited after installation is complete if installation is required
  88. var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
  89. var MMredirectURL = window.location;
  90. document.title = document.title.slice(0, 47) + " - Flash Player Installation";
  91. var MMdoctitle = document.title;
  92.  
  93. AC_FL_RunContent(
  94. "src", "playerProductInstall",
  95. "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+'&tv2nreferrer='+tv2nreferrer+'&tv2nspaceguid='+tv2nspaceguid+"&minivID="+minivID+"",
  96. "width", "300",
  97. "height", "250",
  98. "align", "middle",
  99. "id", "Reckittnew",
  100. "quality", "high",
  101. "bgcolor", "#869ca7",
  102. "name", "Reckittnew",
  103. "allowScriptAccess","sameDomain",
  104. "type", "application/x-shockwave-flash",
  105. "pluginspage", "http://www.adobe.com/go/getflashplayer"
  106. );
  107. } else if (hasRequestedVersion) {
  108. //alert ("hasRequestedVersion");
  109. //alert("tv2nreferrer inside: " + tv2nreferrer);
  110. // if we've detected an acceptable version
  111. // embed the Flash Content SWF when all tests are passed
  112. AC_FL_RunContent(
  113. "src", "Reckittnew",
  114. "FlashVars", 'tv2nreferrer='+tv2nreferrer+'&tv2nspaceguid='+tv2nspaceguid+"&minivID="+minivID+"",
  115. "width", "300",
  116. "height", "250",
  117. "align", "middle",
  118. "id", "Reckittnew",
  119. "quality", "high",
  120. "bgcolor", "#869ca7",
  121. "name", "Reckittnew",
  122. "allowScriptAccess","sameDomain",
  123. "type", "application/x-shockwave-flash",
  124. "pluginspage", "http://www.adobe.com/go/getflashplayer"
  125. );
  126. } else { // flash is too old or we can't detect the plugin
  127. var alternateContent = 'Alternate HTML content should be placed here. '
  128. + 'This content requires the Adobe Flash Player. '
  129. + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
  130. document.write(alternateContent); // insert non-flash content
  131. }
  132. // -->
  133. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  134. id="Reckittnew" width="300" height="250"
  135. codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
  136. <param name="movie" value="Reckittnew.swf" />
  137. <param name="quality" value="high" />
  138. <param name="bgcolor" value="#869ca7" />
  139. <param name="allowScriptAccess" value="sameDomain" />
  140. <embed src="Reckittnew.swf" quality="high" bgcolor="#869ca7"
  141. width="300" height="250" name="Reckittnew" align="middle"
  142. play="true"
  143. loop="false"
  144. quality="high"
  145. allowScriptAccess="sameDomain"
  146. type="application/x-shockwave-flash"
  147. pluginspage="http://www.adobe.com/go/getflashplayer">
  148. </embed>
  149. </object>
  150. </body>
  151.  
  152. </html>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.