You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2012/09/09 13:18:03 UTC

svn commit: r1382453 - in /incubator/flex/site/trunk/content/flex/installerbadge: InstallApacheFlexBadge.swf index.chtml

Author: erikdebruin
Date: Sun Sep  9 11:18:02 2012
New Revision: 1382453

URL: http://svn.apache.org/viewvc?rev=1382453&view=rev
Log:
Minor update to fix sizing problem on the small version of the badge.

Modified:
    incubator/flex/site/trunk/content/flex/installerbadge/InstallApacheFlexBadge.swf
    incubator/flex/site/trunk/content/flex/installerbadge/index.chtml

Modified: incubator/flex/site/trunk/content/flex/installerbadge/InstallApacheFlexBadge.swf
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/content/flex/installerbadge/InstallApacheFlexBadge.swf?rev=1382453&r1=1382452&r2=1382453&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/site/trunk/content/flex/installerbadge/index.chtml
URL: http://svn.apache.org/viewvc/incubator/flex/site/trunk/content/flex/installerbadge/index.chtml?rev=1382453&r1=1382452&r2=1382453&view=diff
==============================================================================
--- incubator/flex/site/trunk/content/flex/installerbadge/index.chtml (original)
+++ incubator/flex/site/trunk/content/flex/installerbadge/index.chtml Sun Sep  9 11:18:02 2012
@@ -1,3 +1,10 @@
+<style type="text/css"> 
+    body { margin: 0; padding: 0; }   
+    object:focus { outline: none; }
+    #flashContent { display: none; }
+    #${application} { border: 1px solid #172647; }
+</style>
+
 <div id="flashContent">
     <script type="text/javascript"> 
         var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); 
@@ -47,12 +54,13 @@
     }
     
     swfVersionStr = "11.1.0";
+    flashVars = { serviceURL: "http://incubator.apache.org/flex/" };
     params = { quality: "high", bgcolor: "#ffffff", allowscriptaccess: "sameDomain",
         allowfullscreen: "true" };
     attributes = { id: "InstallApacheFlexBadge", name: "InstallApacheFlexBadge" };
     
-    swfobject.embedSWF("InstallApacheFlexBadge.swf", "flashContent", "300", "300", 
-        swfVersionStr, "", {}, params, attributes);
+    swfobject.embedSWF("InstallApacheFlexBadge.swf", "flashContent", "10", "10", 
+        swfVersionStr, "", flashVars, params, attributes);
     
     swfobject.createCSS("#flashContent", "display: block;");