Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

kenneth

By: a guest on May 15th, 2009  |  syntax: HTML  |  size: 4.35 KB  |  hits: 66  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  15. <title>${title}</title>
  16. <script src="AC_OETags.js" language="javascript"></script>
  17. body { margin: 0px; overflow:hidden }
  18. <script language="JavaScript" type="text/javascript">
  19. <!--
  20. // -----------------------------------------------------------------------------
  21. // Globals
  22. // Major version of Flash required
  23. var requiredMajorVersion = ${version_major};
  24. // Minor version of Flash required
  25. var requiredMinorVersion = ${version_minor};
  26. // Minor version of Flash required
  27. var requiredRevision = ${version_revision};
  28. // -----------------------------------------------------------------------------
  29. // -->
  30. </head>
  31.  
  32. <body scroll="no">
  33. <script language="JavaScript" type="text/javascript">
  34. <!--
  35. // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
  36. var hasProductInstall = DetectFlashVer(6, 0, 65);
  37.  
  38. // Version check based upon the values defined in globals
  39. var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
  40.  
  41.  
  42. // Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback
  43. if ( hasProductInstall && !hasRequestedVersion ) {
  44.         // MMdoctitle is the stored document.title value used by the installation process to close the window that started the process
  45.         // This is necessary in order to close browser windows that are still utilizing the older version of the player after installation has completed
  46.         // DO NOT MODIFY THE FOLLOWING FOUR LINES
  47.         // Location visited after installation is complete if installation is required
  48.         var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
  49.         var MMredirectURL = window.location;
  50.    document.title = document.title.slice(0, 47) + " - Flash Player Installation";
  51.    var MMdoctitle = document.title;
  52.  
  53.         AC_FL_RunContent(
  54.                 "src", "playerProductInstall",
  55.                 "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
  56.                 "width", "${width}",
  57.                 "height", "${height}",
  58.                 "align", "middle",
  59.                 "id", "${application}",
  60.                 "quality", "high",
  61.                 "bgcolor", "${bgcolor}",
  62.                 "name", "${application}",
  63.                 "allowScriptAccess","sameDomain",
  64.                 "type", "application/x-shockwave-flash",
  65.                 "pluginspage", "http://www.adobe.com/go/getflashplayer"
  66.         );
  67. } else if (hasRequestedVersion) {
  68.         // if we've detected an acceptable version
  69.         // embed the Flash Content SWF when all tests are passed
  70.         AC_FL_RunContent(
  71.                         "src", "${swf}",
  72.                         "width", "${width}",
  73.                         "height", "${height}",
  74.                         "align", "middle",
  75.                         "id", "${application}",
  76.                         "quality", "high",
  77.                         "bgcolor", "${bgcolor}",
  78.                         "name", "${application}",
  79.                         "allowScriptAccess","sameDomain",
  80.                         "type", "application/x-shockwave-flash",
  81.                         "pluginspage", "http://www.adobe.com/go/getflashplayer"
  82.         );
  83.  } else {  // flash is too old or we can't detect the plugin
  84.    var alternateContent = 'Alternate HTML content should be placed here. '
  85.         + 'This content requires the Adobe Flash Player. '
  86.         + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
  87.    document.write(alternateContent);  // insert non-flash content
  88.  }
  89. // -->
  90.         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  91.                         id="${application}" width="${width}" height="${height}"
  92.                         codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
  93.                         <param name="movie" value="${swf}.swf" />
  94.                         <param name="quality" value="high" />
  95.                         <param name="bgcolor" value="${bgcolor}" />
  96.                         <param name="allowScriptAccess" value="sameDomain" />
  97.                         <embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
  98.                                 width="${width}" height="${height}" name="${application}" align="middle"
  99.                                 play="true"
  100.                                 loop="false"
  101.                                 quality="high"
  102.                                 allowScriptAccess="sameDomain"
  103.                                 type="application/x-shockwave-flash"
  104.                                 pluginspage="http://www.adobe.com/go/getflashplayer">
  105.                         </embed>
  106.         </object>
  107. </body>
  108. </html>