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

svn commit: r1430712 - in /flex/site/trunk/content/v2: download-installer.cmsPage installerbadge/ installerbadge/InstallApacheFlexBadge.swf installerbadge/disclaimer.mdtext installerbadge/index.chtml

Author: bigosmallm
Date: Wed Jan  9 07:18:12 2013
New Revision: 1430712

URL: http://svn.apache.org/viewvc?rev=1430712&view=rev
Log:
Adding installerbadge to v2

Added:
    flex/site/trunk/content/v2/installerbadge/
    flex/site/trunk/content/v2/installerbadge/InstallApacheFlexBadge.swf   (with props)
    flex/site/trunk/content/v2/installerbadge/disclaimer.mdtext   (with props)
    flex/site/trunk/content/v2/installerbadge/index.chtml
Modified:
    flex/site/trunk/content/v2/download-installer.cmsPage

Modified: flex/site/trunk/content/v2/download-installer.cmsPage
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/v2/download-installer.cmsPage?rev=1430712&r1=1430711&r2=1430712&view=diff
==============================================================================
--- flex/site/trunk/content/v2/download-installer.cmsPage (original)
+++ flex/site/trunk/content/v2/download-installer.cmsPage Wed Jan  9 07:18:12 2013
@@ -3,7 +3,7 @@ Title:     Apache Flex SDK Installer
 The Apache Flex SDK Installer is an application that simplifies the download and installation of the Apache Flex SDK and its (required) components. It is aimed at anyone who wants to use the latest release of the Apache Flex SDK, but who might not necessarily be familiar with the tools and procedures required to compile the Apache Flex SDK from source code. The application will grab the official, current release of the SDK from [apache.org](http://flex.apache.org/download.html), install it onto your computer and prepare it for use with Adobe Flash Builder. Use the badge below to download the Apache Flex SDK Installer.
 **If you had installed a previous (pre-release) version of this app, you will probably get an AIR error because of the mis-matched certificates.  If you see such an error, you may need to uninstall it before continuing.**
 
-<div style="padding: 15px;"><iframe name="afSDKInstallBadgeRegular" src="../installerbadge/index.html" frameborder="0" height="302" marginheight="0" marginwidth="0" scrolling="no" width="302"></iframe></div>
+<div style="padding: 15px;"><iframe name="afSDKInstallBadgeRegular" src="./installerbadge/index.html" frameborder="0" height="302" marginheight="0" marginwidth="0" scrolling="no" width="302"></iframe></div>
 
 Alternatively, you can download the source and/or binaries for the Apache Flex SDK Installer directly:
 

Added: flex/site/trunk/content/v2/installerbadge/InstallApacheFlexBadge.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/v2/installerbadge/InstallApacheFlexBadge.swf?rev=1430712&view=auto
==============================================================================
Binary file - no diff available.

Propchange: flex/site/trunk/content/v2/installerbadge/InstallApacheFlexBadge.swf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: flex/site/trunk/content/v2/installerbadge/disclaimer.mdtext
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/v2/installerbadge/disclaimer.mdtext?rev=1430712&view=auto
==============================================================================
--- flex/site/trunk/content/v2/installerbadge/disclaimer.mdtext (added)
+++ flex/site/trunk/content/v2/installerbadge/disclaimer.mdtext Wed Jan  9 07:18:12 2013
@@ -0,0 +1,21 @@
+Title:     Apache Flex Installer Badge Disclaimer
+Notice:    Licensed to the Apache Software Foundation (ASF) under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 (the
+           "License"); you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.
+
+The Apache Flex Installer Badge is not an official release of the Apache Flex project. It is an utility binary, provided as-is. It's intended use is to promote the Apache Flex SDK by providing an easily accessible download of the Apache Flex SDK Installer application.
+
+More information on the officially released source and accompanying convenience binaries from the Apache Flex project can be found here: [About Binaries](../about-binaries.html)
\ No newline at end of file

Propchange: flex/site/trunk/content/v2/installerbadge/disclaimer.mdtext
------------------------------------------------------------------------------
    svn:eol-style = native

Added: flex/site/trunk/content/v2/installerbadge/index.chtml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/v2/installerbadge/index.chtml?rev=1430712&view=auto
==============================================================================
--- flex/site/trunk/content/v2/installerbadge/index.chtml (added)
+++ flex/site/trunk/content/v2/installerbadge/index.chtml Wed Jan  9 07:18:12 2013
@@ -0,0 +1,76 @@
+<div id="flashContent">
+    <script type="text/javascript"> 
+        var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); 
+        document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='" 
+                        + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" ); 
+    </script> 
+</div>
+
+<!-- 
+    SWFObject v2.2 <http://code.google.com/p/swfobject/> 
+    is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
+-->
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
+
+<script type="text/javascript">
+    /* use strict */
+    
+    var _widget;
+    
+    function displayType() {
+        if ((window.top != window.self) && window.parent)
+            return window.name;
+            
+        return "";
+    }
+    
+    function init() {
+        var prefix, theElement, theHeight, theWidth;
+        
+		if (displayType() != "") {
+    		if (typeof window.innerWidth === 'number') {
+    			theHeight = window.innerHeight;
+    			theWidth = window.innerWidth;
+    		} else {
+        		theElement = window.document.documentElement;
+
+    			theHeight = theElement.clientHeight;
+    			theWidth = theElement.clientWidth;
+    		}
+
+            _widget.style.height = (theHeight - 2) + "px";
+            _widget.style.width = (theWidth - 2) + "px";
+            
+            _widget.style.border = "1px solid #172647";
+        }
+    }
+    
+    function start() {
+        var swfVersionStr, params, attributes;
+        
+        swfVersionStr = "11.1.0";
+        flashVars = { serviceURL: "http://flex.apache.org/" };
+        params = { quality: "high", bgcolor: "#ffffff", allowscriptaccess: "sameDomain",
+            allowfullscreen: "true" };
+        attributes = { id: "InstallApacheFlexBadge", name: "InstallApacheFlexBadge" };
+    
+        swfobject.embedSWF("InstallApacheFlexBadge.swf", "flashContent", "10", "10", 
+            swfVersionStr, "", flashVars, params, attributes);
+    
+        swfobject.createCSS("#flashContent", "display: block;");
+    
+        waitForWidget();
+    }
+    
+    function waitForWidget() {
+        _widget = document.getElementById("InstallApacheFlexBadge");
+        
+        if (!_widget)
+            setTimeout(function () { waitForWidget(); }, 1000);
+        else
+            init();
+    }
+    
+    start();
+    
+</script>