Advertisement
Guest User

kenneth

a guest
May 15th, 2009
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.35 KB | None | 0 0
  1. <!-- saved from url=(0014)about:internet -->
  2. <html lang="en">
  3.  
  4. <!--
  5. Smart developers always View Source.
  6.  
  7. This application was built using Adobe Flex, an open source framework
  8. for building rich Internet applications that get delivered via the
  9. Flash Player or to desktops via Adobe AIR.
  10.  
  11. Learn more about Flex at http://flex.org
  12. // -->
  13.  
  14. <head>
  15. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  16. <title>${title}</title>
  17. <script src="AC_OETags.js" language="javascript"></script>
  18. <style>
  19. body { margin: 0px; overflow:hidden }
  20. </style>
  21. <script language="JavaScript" type="text/javascript">
  22. <!--
  23. // -----------------------------------------------------------------------------
  24. // Globals
  25. // Major version of Flash required
  26. var requiredMajorVersion = ${version_major};
  27. // Minor version of Flash required
  28. var requiredMinorVersion = ${version_minor};
  29. // Minor version of Flash required
  30. var requiredRevision = ${version_revision};
  31. // -----------------------------------------------------------------------------
  32. // -->
  33. </script>
  34. </head>
  35.  
  36. <body scroll="no">
  37. <script language="JavaScript" type="text/javascript">
  38. <!--
  39. // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
  40. var hasProductInstall = DetectFlashVer(6, 0, 65);
  41.  
  42. // Version check based upon the values defined in globals
  43. var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
  44.  
  45.  
  46. // Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback
  47. if ( hasProductInstall && !hasRequestedVersion ) {
  48.     // MMdoctitle is the stored document.title value used by the installation process to close the window that started the process
  49.     // This is necessary in order to close browser windows that are still utilizing the older version of the player after installation has completed
  50.     // DO NOT MODIFY THE FOLLOWING FOUR LINES
  51.     // Location visited after installation is complete if installation is required
  52.     var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
  53.     var MMredirectURL = window.location;
  54.    document.title = document.title.slice(0, 47) + " - Flash Player Installation";
  55.    var MMdoctitle = document.title;
  56.  
  57.     AC_FL_RunContent(
  58.         "src", "playerProductInstall",
  59.         "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
  60.         "width", "${width}",
  61.         "height", "${height}",
  62.         "align", "middle",
  63.         "id", "${application}",
  64.         "quality", "high",
  65.         "bgcolor", "${bgcolor}",
  66.         "name", "${application}",
  67.         "allowScriptAccess","sameDomain",
  68.         "type", "application/x-shockwave-flash",
  69.         "pluginspage", "http://www.adobe.com/go/getflashplayer"
  70.     );
  71. } else if (hasRequestedVersion) {
  72.     // if we've detected an acceptable version
  73.     // embed the Flash Content SWF when all tests are passed
  74.     AC_FL_RunContent(
  75.             "src", "${swf}",
  76.             "width", "${width}",
  77.             "height", "${height}",
  78.             "align", "middle",
  79.             "id", "${application}",
  80.             "quality", "high",
  81.             "bgcolor", "${bgcolor}",
  82.             "name", "${application}",
  83.             "allowScriptAccess","sameDomain",
  84.             "type", "application/x-shockwave-flash",
  85.             "pluginspage", "http://www.adobe.com/go/getflashplayer"
  86.     );
  87.  } else {  // flash is too old or we can't detect the plugin
  88.    var alternateContent = 'Alternate HTML content should be placed here. '
  89.     + 'This content requires the Adobe Flash Player. '
  90.     + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
  91.    document.write(alternateContent);  // insert non-flash content
  92.  }
  93. // -->
  94. </script>
  95. <noscript>
  96.     <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  97.             id="${application}" width="${width}" height="${height}"
  98.             codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
  99.             <param name="movie" value="${swf}.swf" />
  100.             <param name="quality" value="high" />
  101.             <param name="bgcolor" value="${bgcolor}" />
  102.             <param name="allowScriptAccess" value="sameDomain" />
  103.             <embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
  104.                 width="${width}" height="${height}" name="${application}" align="middle"
  105.                 play="true"
  106.                 loop="false"
  107.                 quality="high"
  108.                 allowScriptAccess="sameDomain"
  109.                 type="application/x-shockwave-flash"
  110.                 pluginspage="http://www.adobe.com/go/getflashplayer">
  111.             </embed>
  112.     </object>
  113. </noscript>
  114. </body>
  115. </html>
  116.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement