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 2014/08/23 10:48:22 UTC
svn commit: r1619987 [2/22] - in /flex/site/trunk/content/tourdeflex: ./ mx/
mx/charts/ mx/containers/ mx/containers/assets/ mx/controls/
mx/controls/assets/ mx/core/ mx/effects/ mx/effects/assets/ mx/formatters/
mx/printing/ mx/states/ mx/validators/ ...
Added: flex/site/trunk/content/tourdeflex/AC_OETags.js
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/AC_OETags.js?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/AC_OETags.js (added)
+++ flex/site/trunk/content/tourdeflex/AC_OETags.js Sat Aug 23 08:47:51 2014
@@ -0,0 +1,282 @@
+/*
+ * 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.
+ */
+var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
+var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
+var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
+
+function ControlVersion()
+{
+ var version;
+ var axo;
+ var e;
+
+ // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
+
+ try {
+ // version will be set for 7.X or greater players
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
+ version = axo.GetVariable("$version");
+ } catch (e) {
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 6.X players only
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
+
+ // installed player is some revision of 6.0
+ // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
+ // so we have to be careful.
+
+ // default to the first public version
+ version = "WIN 6,0,21,0";
+
+ // throws if AllowScripAccess does not exist (introduced in 6.0r47)
+ axo.AllowScriptAccess = "always";
+
+ // safe to call for 6.0r47 or greater
+ version = axo.GetVariable("$version");
+
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 4.X or 5.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
+ version = axo.GetVariable("$version");
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 3.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
+ version = "WIN 3,0,18,0";
+ } catch (e) {
+ }
+ }
+
+ if (!version)
+ {
+ try {
+ // version will be set for 2.X player
+ axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
+ version = "WIN 2,0,0,11";
+ } catch (e) {
+ version = -1;
+ }
+ }
+
+ return version;
+}
+
+// JavaScript helper required to detect Flash Player PlugIn version information
+function GetSwfVer(){
+ // NS/Opera version >= 3 check for Flash plugin in plugin array
+ var flashVer = -1;
+
+ if (navigator.plugins != null && navigator.plugins.length > 0) {
+ if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
+ var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
+ var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
+ var descArray = flashDescription.split(" ");
+ var tempArrayMajor = descArray[2].split(".");
+ var versionMajor = tempArrayMajor[0];
+ var versionMinor = tempArrayMajor[1];
+ if ( descArray[3] != "" ) {
+ tempArrayMinor = descArray[3].split("r");
+ } else {
+ tempArrayMinor = descArray[4].split("r");
+ }
+ var versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
+ var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
+ }
+ }
+ // MSN/WebTV 2.6 supports Flash 4
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
+ // WebTV 2.5 supports Flash 3
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
+ // older WebTV supports Flash 2
+ else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
+ else if ( isIE && isWin && !isOpera ) {
+ flashVer = ControlVersion();
+ }
+ return flashVer;
+}
+
+// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
+function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
+{
+ versionStr = GetSwfVer();
+ if (versionStr == -1 ) {
+ return false;
+ } else if (versionStr != 0) {
+ if(isIE && isWin && !isOpera) {
+ // Given "WIN 2,0,0,11"
+ tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
+ tempString = tempArray[1]; // "2,0,0,11"
+ versionArray = tempString.split(","); // ['2', '0', '0', '11']
+ } else {
+ versionArray = versionStr.split(".");
+ }
+ var versionMajor = versionArray[0];
+ var versionMinor = versionArray[1];
+ var versionRevision = versionArray[2];
+
+ // is the major.revision >= requested major.revision AND the minor version >= requested minor
+ if (versionMajor > parseFloat(reqMajorVer)) {
+ return true;
+ } else if (versionMajor == parseFloat(reqMajorVer)) {
+ if (versionMinor > parseFloat(reqMinorVer))
+ return true;
+ else if (versionMinor == parseFloat(reqMinorVer)) {
+ if (versionRevision >= parseFloat(reqRevision))
+ return true;
+ }
+ }
+ return false;
+ }
+}
+
+function AC_AddExtension(src, ext)
+{
+ if (src.indexOf('?') != -1)
+ return src.replace(/\?/, ext+'?');
+ else
+ return src + ext;
+}
+
+function AC_Generateobj(objAttrs, params, embedAttrs)
+{
+ var str = '';
+ if (isIE && isWin && !isOpera)
+ {
+ str += '<object ';
+ for (var i in objAttrs)
+ str += i + '="' + objAttrs[i] + '" ';
+ for (var i in params)
+ str += '><param name="' + i + '" value="' + params[i] + '" /> ';
+ str += '></object>';
+ } else {
+ str += '<embed ';
+ for (var i in embedAttrs)
+ str += i + '="' + embedAttrs[i] + '" ';
+ str += '> </embed>';
+ }
+
+ document.write(str);
+}
+
+function AC_FL_RunContent(){
+ var ret =
+ AC_GetArgs
+ ( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
+ , "application/x-shockwave-flash"
+ );
+ AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
+}
+
+function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
+ var ret = new Object();
+ ret.embedAttrs = new Object();
+ ret.params = new Object();
+ ret.objAttrs = new Object();
+ for (var i=0; i < args.length; i=i+2){
+ var currArg = args[i].toLowerCase();
+
+ switch (currArg){
+ case "classid":
+ break;
+ case "pluginspage":
+ ret.embedAttrs[args[i]] = args[i+1];
+ break;
+ case "src":
+ case "movie":
+ args[i+1] = AC_AddExtension(args[i+1], ext);
+ ret.embedAttrs["src"] = args[i+1];
+ ret.params[srcParamName] = args[i+1];
+ break;
+ case "onafterupdate":
+ case "onbeforeupdate":
+ case "onblur":
+ case "oncellchange":
+ case "onclick":
+ case "ondblClick":
+ case "ondrag":
+ case "ondragend":
+ case "ondragenter":
+ case "ondragleave":
+ case "ondragover":
+ case "ondrop":
+ case "onfinish":
+ case "onfocus":
+ case "onhelp":
+ case "onmousedown":
+ case "onmouseup":
+ case "onmouseover":
+ case "onmousemove":
+ case "onmouseout":
+ case "onkeypress":
+ case "onkeydown":
+ case "onkeyup":
+ case "onload":
+ case "onlosecapture":
+ case "onpropertychange":
+ case "onreadystatechange":
+ case "onrowsdelete":
+ case "onrowenter":
+ case "onrowexit":
+ case "onrowsinserted":
+ case "onstart":
+ case "onscroll":
+ case "onbeforeeditfocus":
+ case "onactivate":
+ case "onbeforedeactivate":
+ case "ondeactivate":
+ case "type":
+ case "codebase":
+ case "id":
+ ret.objAttrs[args[i]] = args[i+1];
+ break;
+ case "width":
+ case "height":
+ case "align":
+ case "vspace":
+ case "hspace":
+ case "class":
+ case "title":
+ case "accesskey":
+ case "name":
+ case "tabindex":
+ ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
+ break;
+ default:
+ ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
+ }
+ }
+ ret.objAttrs["classid"] = classid;
+ if (mimeType) ret.embedAttrs["type"] = mimeType;
+ return ret;
+}
+
+
Propchange: flex/site/trunk/content/tourdeflex/AC_OETags.js
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/SourceTab.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/SourceTab.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/SourceTab.mxml (added)
+++ flex/site/trunk/content/tourdeflex/SourceTab.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ 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.
+ -->
+
+<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%">
+
+ <fx:Script>
+ <![CDATA[
+
+ import mx.rpc.events.ResultEvent;
+ import mx.rpc.events.FaultEvent;
+ import mx.controls.Alert;
+
+ public function set source(file:String):void
+ {
+ label = file.substring(file.lastIndexOf("/")+1);
+ srv.url = file;
+ srv.send();
+ ta.verticalScrollPosition = 19; // at end of header
+ }
+
+ private function resultHandler(event:ResultEvent):void
+ {
+ var str:String = String(event.result);
+ var r:RegExp = new RegExp("\r\n", "gs");
+ str = str.replace(r, "\r");
+ ta.text = str;
+ }
+
+ private function faultHandler(event:FaultEvent):void
+ {
+ Alert.show("Error loading source file");
+ }
+
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <mx:HTTPService id="srv" useProxy="false" resultFormat="text" result="resultHandler(event)" fault="faultHandler(event)"/>
+ </fx:Declarations>
+
+ <mx:TextArea id= "ta" color="#0000A0" fontFamily="Courier" editable="false" wordWrap="false" width="100%" height="100%"/>
+
+</mx:VBox>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/SourceTab.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/SourceTab.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/SourceTab.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/SourceTab.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/explorer.html
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/explorer.html?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/explorer.html (added)
+++ flex/site/trunk/content/tourdeflex/explorer.html Sat Aug 23 08:47:51 2014
@@ -0,0 +1,65 @@
+<!--
+ ~ 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.
+ -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>Apache Flex Tour De Flex Component Explorer</title>
+<script src="AC_OETags.js" language="javascript"></script>
+<style>
+body { margin: 0px; overflow:hidden }
+</style>
+</head>
+
+<body scroll='no'>
+<script language="JavaScript" type="text/javascript">
+<!--
+ AC_FL_RunContent(
+ "src", "explorer",
+ "width", "100%",
+ "height", "100%",
+ "align", "middle",
+ "id", "explorer",
+ "quality", "high",
+ "bgcolor", "#869ca7",
+ "name", "explorer",
+ "allowScriptAccess","sameDomain",
+ "type", "application/x-shockwave-flash",
+ "pluginspage", "http://www.adobe.com/go/getflashplayer"
+ );
+// -->
+</script>
+<noscript>
+ <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
+ id="explorer" width="100%" height="100%"
+ codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
+ <param name="movie" value="explorer.swf" />
+ <param name="quality" value="high" />
+ <param name="bgcolor" value="#869ca7" />
+ <param name="allowScriptAccess" value="sameDomain" />
+ <embed src="explorer.swf" quality="high" bgcolor="#869ca7"
+ width="100%" height="100%" name="explorer" align="middle"
+ play="true"
+ loop="false"
+ quality="high"
+ allowScriptAccess="sameDomain"
+ type="application/x-shockwave-flash"
+ pluginspage="http://www.adobe.com/go/getflashplayer">
+ </embed>
+ </object>
+</noscript>
+</body>
+</html>
Propchange: flex/site/trunk/content/tourdeflex/explorer.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/explorer.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/explorer.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/explorer.mxml (added)
+++ flex/site/trunk/content/tourdeflex/explorer.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ 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.
+ -->
+
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:explorer="*"
+ width="100%" height="100%" pageTitle="{TITLE}"
+ initialize="sdk.send()" layout="vertical">
+
+ <fx:Script>
+ <![CDATA[
+
+ static protected const VERSION:String = "1.0";
+ static protected const TITLE:String = "Tour De Flex Component Explorer";
+ static protected const FULL_TITLE:String = "Apache Flex⢠Tour De Flex Component Explorer " + VERSION;
+
+ private function treeChanged(event:Event):void
+ {
+ var nodeApp:String = compLibTree.selectedItem.@app;
+ if (nodeApp != null && nodeApp != "")
+ {
+ swfLoader.loadApp(nodeApp + ".swf");
+ vs.loadSource(nodeApp, compLibTree.selectedItem.@src);
+ }
+ else
+ {
+ compLibTree.expandItem(compLibTree.selectedItem, true, true);
+ }
+ }
+
+ private function xmlLoaded():void
+ {
+ explorerTree = XML(sdk.lastResult.node);
+ compLibTree.dataProvider = explorerTree;
+ }
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <fx:XML id="explorerTree"/>
+
+ <mx:HTTPService id="sdk" url="explorer.xml" resultFormat="e4x" result="xmlLoaded()" />
+ </fx:Declarations>
+
+ <mx:HBox width="100%">
+ <mx:Image source="./mx/controls/assets/ApacheFlexIcon.png" />
+ <mx:Label text="{FULL_TITLE}" fontSize="20" fontWeight="bold" />
+ </mx:HBox>
+ <mx:HDividedBox width="100%" height="100%">
+ <mx:Panel width="30%" height="100%" title="{TITLE}" dropShadowVisible="false">
+ <mx:Tree id="compLibTree" width="100%" height="100%" showRoot="false" labelField="@label" borderStyle="none"
+ change="treeChanged(event)"/>
+ </mx:Panel>
+ <mx:VDividedBox width="100%" height="100%">
+ <explorer:loaderPanel id="swfLoader" width="100%" height="50%"/>
+ <mx:VBox width="100%" height="50%" backgroundColor="#FFFFFF">
+ <explorer:viewsource id="vs" width="100%" height="100%"/>
+ </mx:VBox>
+ </mx:VDividedBox>
+ </mx:HDividedBox>
+ <mx:HBox width="100%">
+ <mx:Label fontSize="9" width="100%" text="Copyright © 2014 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache Flex is trademark of The Apache Software Foundation." />
+ </mx:HBox>
+</mx:Application>
Propchange: flex/site/trunk/content/tourdeflex/explorer.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/explorer.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/explorer.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/explorer.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/explorer.xml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/explorer.xml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/explorer.xml (added)
+++ flex/site/trunk/content/tourdeflex/explorer.xml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,443 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ 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.
+ -->
+
+<compTree>
+ <node>
+ <node label="MX Framework Components">
+ <node label="Visual Components">
+ <node label="General Controls">
+ <node label="Alert" app="mx/controls/SimpleAlert" />
+ <node label="ColorPicker" app="mx/controls/ColorPickerExample" />
+ <node label="ComboBox" app="mx/controls/SimpleComboBox" />
+ <node label="DataGrid" app="mx/controls/SimpleDataGrid" />
+ <node label="HorizontalList" app="mx/controls/HorizontalListExample" />
+ <node label="HRule" app="mx/controls/SimpleHRule" />
+ <node label="HScrollBar" app="mx/controls/HScrollBarExample" />
+ <node label="HSlider" app="mx/controls/SimpleImageHSlider" />
+ <node label="List" app="mx/controls/SimpleList" />
+ <node label="NumericStepper" app="mx/controls/NumericStepperExample" />
+ <node label="ProgressBar" app="mx/controls/SimpleProgressBar" />
+ <node label="Spacer" app="mx/controls/SpacerExample" />
+ <node label="TabBar" app="mx/controls/TabBarExample" />
+ <node label="TileList" app="mx/controls/TileListExample" />
+ <node label="Tree" app="mx/controls/TreeExample" />
+ <node label="VRule" app="mx/controls/SimpleVRule" />
+ <node label="VScrollBar" app="mx/controls/VScrollBarExample" />
+ <node label="VSlider" app="mx/controls/SimpleImageVSlider" />
+ </node>
+ <node label="Button Controls">
+ <node label="Button" app="mx/controls/ButtonExample" />
+ <node label="ButtonBar" app="mx/controls/ButtonBarExample" />
+ <node label="CheckBox" app="mx/controls/CheckBoxExample" />
+ <node label="LinkBar" app="mx/controls/LinkBarExample" />
+ <node label="LinkButton" app="mx/controls/LinkButtonExample" />
+ <node label="PopUpButton" app="mx/controls/PopUpButtonExample" />
+ <node label="RadioButton" app="mx/controls/RadioButtonExample" />
+ <node label="RadioButtonGroup" app="mx/controls/RadioButtonGroupExample" />
+ <node label="ToggleButtonBar" app="mx/controls/ToggleButtonBarExample" />
+ </node>
+ <node label="Date Controls">
+ <node label="DateChooser" app="mx/controls/DateChooserExample" />
+ <node label="DateField" app="mx/controls/DateFieldExample" />
+ </node>
+ <node label="Loader Controls">
+ <node label="Image" app="mx/controls/SimpleImage" />
+ <node label="SWFLoader" app="mx/controls/SimpleLoader" src="mx/controls/Local.mxml" />
+ <node label="VideoDisplay" app="mx/controls/VideoDisplayExample" />
+ </node>
+ <node label="Menu Controls">
+ <node label="Menu" app="mx/controls/SimpleMenuExample" />
+ <node label="MenuBar" app="mx/controls/MenuBarExample" />
+ <node label="PopUpMenuButton" app="mx/controls/PopUpButtonMenuExample" />
+ </node>
+ <node label="Text Controls">
+ <node label="Label" app="mx/controls/LabelExample" />
+ <node label="RichTextEditor" app="mx/controls/RichTextEditorExample" />
+ <node label="Text" app="mx/controls/TextExample" />
+ <node label="TextArea" app="mx/controls/TextAreaExample" />
+ <node label="TextInput" app="mx/controls/TextInputExample" />
+ </node>
+ <node label="Containers">
+ <node label="Application" app="mx/core/SimpleApplicationExample" />
+ <node label="Accordion" app="mx/containers/AccordionExample" />
+ <node label="ApplicationControlBar" app="mx/containers/SimpleApplicationControlBarExample" />
+ <node label="Box" app="mx/containers/SimpleBoxExample" />
+ <node label="Canvas" app="mx/containers/SimpleCanvasExample" />
+ <node label="ControlBar" app="mx/containers/SimpleControlBarExample" />
+ <node label="DividedBox" app="mx/containers/DividedBoxExample" />
+ <node label="Form, FormHeading, FormItem" app="mx/containers/FormExample" />
+ <node label="Grid, GridItem, GridRow" app="mx/containers/GridLayoutExample" />
+ <node label="HBox" app="mx/containers/HBoxExample" />
+ <node label="HDividedBox" app="mx/containers/HDividedBoxExample" />
+ <node label="Panel" app="mx/containers/SimplePanelExample" />
+ <node label="TabNavigator" app="mx/containers/TabNavigatorExample" />
+ <node label="Tile" app="mx/containers/TileLayoutExample" />
+ <node label="TitleWindow" app="mx/containers/TitleWindowApp"
+ src="mx/containers/SimpleTitleWindowExample.mxml" />
+ <node label="VBox" app="mx/containers/VBoxExample" />
+ <node label="VDividedBox" app="mx/containers/VDividedBoxExample" />
+ <node label="ViewStack" app="mx/containers/ViewStackExample" />
+ </node>
+ <node label="Repeater Control">
+ <node label="Repeater" app="mx/core/RepeaterExample" />
+ </node>
+ </node>
+ <node label="Print Controls">
+ <node label="FlexPrintJob, PrintDataGrid" app="mx/printing/PrintDataGridExample"
+ src="mx/printing/FormPrintView.mxml&printing/FormPrintHeader.mxml&mx/printing/FormPrintFooter.mxml" />
+ </node>
+ <node label="Validators and Formatters">
+ <node label="Validators">
+ <node label="CreditCardValidator" app="mx/validators/CreditCardValidatorExample" />
+ <node label="CurrencyValidator" app="mx/validators/CurrencyValidatorExample" />
+ <node label="DateValidator" app="mx/validators/DateValidatorExample" />
+ <node label="EmailValidator" app="mx/validators/EmailValidatorExample" />
+ <node label="NumberValidator" app="mx/validators/NumberValidatorExample" />
+ <node label="PhoneNumberValidator" app="mx/validators/PhoneNumberValidatorExample" />
+ <node label="RegExpValidator" app="mx/validators/RegExValidatorExample" />
+ <node label="SocialSecurityValidator" app="mx/validators/SocialSecurityValidatorExample" />
+ <node label="StringValidator" app="mx/validators/StringValidatorExample" />
+ <node label="Validator" app="mx/validators/SimpleValidatorExample" />
+ <node label="ZipCodeValidator" app="mx/validators/ZipCodeValidatorExample" />
+ </node>
+ <node label="Formatters">
+ <node label="CurrencyFormatter" app="mx/formatters/CurrencyFormatterExample" />
+ <node label="DateFormatter" app="mx/formatters/DateFormatterExample" />
+ <node label="Formatter" app="mx/formatters/SimpleFormatterExample" />
+ <node label="NumberFormatter" app="mx/formatters/NumberFormatterExample" />
+ <node label="PhoneFormatter" app="mx/formatters/PhoneFormatterExample" />
+ <node label="SwitchSymbolFormatter" app="mx/formatters/SwitchSymbolFormatterExample" />
+ <node label="ZipCodeFormatter" app="mx/formatters/ZipCodeFormatterExample" />
+ </node>
+ </node>
+ <node label="Effects, View States, and Transitions">
+ <node label="Effects">
+ <node label="AddItemActionEffect" app="mx/effects/AddItemActionEffectExample" />
+ <node label="AnimateProperty" app="mx/effects/AnimatePropertyEffectExample" />
+ <node label="Blur" app="mx/effects/BlurEffectExample" />
+ <node label="Dissolve" app="mx/effects/DissolveEffectExample" />
+ <node label="Effect" app="mx/effects/SimpleEffectExample" />
+ <node label="Fade" app="mx/effects/FadeEffectExample" />
+ <node label="Glow" app="mx/effects/GlowEffectExample" />
+ <node label="Iris" app="mx/effects/IrisEffectExample" />
+ <node label="Move" app="mx/effects/MoveEffectExample" />
+ <node label="Parallel" app="mx/effects/ParallelEffectExample" />
+ <node label="Pause" app="mx/effects/PauseEffectExample" />
+ <node label="RemoveItemActionEffect" app="mx/effects/AddItemActionEffectExample" />
+ <node label="Resize" app="mx/effects/ResizeEffectExample" />
+ <node label="Rotate" app="mx/effects/RotateEffectExample" />
+ <node label="Sequence" app="mx/effects/SequenceEffectExample" />
+ <node label="SoundEffect" app="mx/effects/SoundEffectExample" />
+ <node label="WipeDown" app="mx/effects/WipeDownExample" />
+ <node label="WipeLeft" app="mx/effects/WipeLeftExample" />
+ <node label="WipeRight" app="mx/effects/WipeRightExample" />
+ <node label="WipeUp" app="mx/effects/WipeUpExample" />
+ <node label="Zoom" app="mx/effects/ZoomEffectExample" />
+ </node>
+ <node label="View States">
+ <node label="State" app="mx/states/StatesExample" />
+ </node>
+ <node label="Transitions">
+ <node label="Transition" app="mx/states/TransitionExample" />
+ </node>
+ </node>
+ <node label="Datavisualization Components">
+ <node label="Charts">
+ <node label="Chart Controls">
+ <node label="AreaChart" app="mx/charts/Line_AreaChartExample" />
+ <node label="AxisRenderer" app="mx/charts/HLOCChartExample" />
+ <node label="BarChart" app="mx/charts/Column_BarChartExample" />
+ <node label="BubbleChart" app="mx/charts/BubbleChartExample" />
+ <node label="CandlestickChart" app="mx/charts/CandlestickChartExample" />
+ <node label="CategoryAxis" app="mx/charts/HLOCChartExample" />
+ <node label="ColumnChart" app="mx/charts/Column_BarChartExample" />
+ <node label="DateTimeAxis" app="mx/charts/DateTimeAxisExample" />
+ <node label="GridLines" app="mx/charts/GridLinesExample" />
+ <node label="HLOCChart" app="mx/charts/HLOCChartExample" />
+ <node label="Legend" app="mx/charts/PlotChartExample" />
+ <node label="LinearAxis" app="mx/charts/HLOCChartExample" />
+ <node label="LineChart" app="mx/charts/Line_AreaChartExample" />
+ <node label="LogAxis" app="mx/charts/LogAxisExample" />
+ <node label="PieChart" app="mx/charts/PieChartExample" />
+ <node label="PlotChart" app="mx/charts/PlotChartExample" />
+ </node>
+ <node label="Chart Series">
+ <node label="AreaSeries" app="mx/charts/Line_AreaChartExample" />
+ <node label="BarSeries" app="mx/charts/Column_BarChartExample" />
+ <node label="BubbleSeries" app="mx/charts/BubbleChartExample" />
+ <node label="CandlestickSeries" app="mx/charts/CandlestickChartExample" />
+ <node label="ColumnSeries" app="mx/charts/Column_BarChartExample" />
+ <node label="HLOCSeries" app="mx/charts/HLOCChartExample" />
+ <node label="LineSeries" app="mx/charts/Line_AreaChartExample" />
+ <node label="PieSeries" app="mx/charts/PieChartExample" />
+ <node label="PlotSeries" app="mx/charts/PlotChartExample" />
+ </node>
+ <node label="Chart Effects">
+ <node label="SeriesInterpolate" app="mx/charts/SeriesInterpolateExample" />
+ <node label="SeriesSlide" app="mx/charts/SeriesSlideExample" />
+ <node label="SeriesZoom" app="mx/charts/SeriesZoomExample" />
+ </node>
+ </node>
+ <node label="AdancedDataGrid">
+ <node label="AdvancedDataGrid" app="mx/controls/AdvancedDataGridExample" />
+ </node>
+ <node label="OLAPDataGrid">
+ <node label="OLAPDataGrid" app="mx/controls/OLAPDataGridExample" />
+ </node>
+ <node label="Printing">
+ <node label="ADG Printing" app="mx/printing/AdvancedPrintDataGridExample" />
+ </node>
+ </node>
+ </node>
+ <node label="Spark Framework Components">
+ <node label="Techniques and Examples">
+ <node label="Advanced CSS">
+ <node label="Descendant Selector" app="spark/css/CSSDescendantSelectorExample" />
+ <node label="ID Selector" app="spark/css/CSSIDSelectorExample" />
+ <node label="Type + Class Selector" app="spark/css/CSSTypeClassSelectorExample" />
+ </node>
+ <node label="Binding">
+ <node label="Bidirectional Binding" app="spark/other/BidirectionalBinding1Example" />
+ <node label="Bidirectional Binding" app="spark/other/BidirectionalBinding2Example" />
+ </node>
+ <node label="Cursors">
+ <node label="Busy Cursor" app="spark/other/Cursor1Example" />
+ <node label="Custom Cursor" app="spark/other/Cursor2Example" />
+ </node>
+ <!-- Require remote service to work
+ <node label="DataGrid">
+ <node label="DataGrid" app="spark/controls/DataGridExample2"/>
+ <node label="Custom Renderer" app="spark/controls/DataGridCustomRendererExample"/>
+ <node label="Custom Renderer" app="spark/controls/DataGridCustomRendererPrepareExample"/>
+ <node label="Custom Skin" app="spark/controls/DataGridCustomSkinExample"/>
+ <node label="Columns" app="spark/controls/DataGridSimpleColumnsExample"/>
+ <node label="No wrap" app="spark/controls/DataGridSimpleNoWrapExample"/>
+ <node label="Sizing" app="spark/controls/DataGridSizingExample"/>
+ </node>
+ <node label="Data Paging">
+ <node label="Data Paging" app="spark/controls/ListDataPagingExample" />
+ </node>
+ -->
+ <node label="Drag and Drop">
+ <node label="List to List" app="spark/other/DragAndDrop1Example" />
+ <node label="List to Panel" app="spark/other/DragAndDrop2Example" />
+ </node>
+ <node label="Custom Components">
+ <node label="Search" app="spark/components/SearchExample" />
+ <node label="Video Player" app="spark/components/VideoPlayerExample" />
+ </node>
+ <node label="i18n">
+ <node label="Collator" app="spark/i18n/SparkCollatorExample"/>
+ <node label="Basic Collator" app="spark/i18n/SparkCollator2Example"/>
+ <node label="Currency Validator" app="spark/i18n/SparkCurrencyValidatorExample"/>
+ <node label="Basic Currency Validator" app="spark/i18n/SparkCurrencyValidator2Example"/>
+ <node label="Number Validator" app="spark/i18n/SparkNumberValidatorExample"/>
+ <node label="Basic Number Validator" app="spark/i18n/SparkNumberValidator2Example"/>
+ <node label="Date Time Formatter" app="spark/i18n/SparkDateTimeFormatterExample"/>
+ <node label="Basic Date Time Formatter" app="spark/i18n/SparkDateTimeFormatter2Example"/>
+ <node label="Currency Formatter" app="spark/i18n/SparkCurrencyFormatterExample"/>
+ <node label="Basic Currency Formatter" app="spark/i18n/SparkCurrencyFormatter2Example"/>
+ <node label="Number Formatter" app="spark/i18n/SparkNumberFormatterExample"/>
+ <node label="Basic Number Formatter" app="spark/i18n/SparkNumberFormatter2Example"/>
+ <node label="Sort" app="spark/i18n/SparkSortandSortFieldExample"/>
+ <node label="Basic Sort" app="spark/i18n/SparkSortandSortField2Example"/>
+ <node label="String Tools" app="spark/i18n/SparkStringToolsExample"/>
+ <node label="Formatters" app="spark/i18n/SparkFormatterExample"/>
+ </node>
+ <node label="Item Renderers">
+ <node label="List" app="spark/itemRenderers/ListItemRendererExample"/>
+ <node label="Scale Image" app="spark/itemRenderers/ItemRenderer1Example" />
+ <node label="3D Rotate" app="spark/itemRenderers/ItemRenderer2Example" />
+ </node>
+ <node label="Events">
+ <node label="Inline property" app="spark/events/EventExample1" />
+ <node label="Inline block" app="spark/events/EventExample2" />
+ <node label="Function" app="spark/events/EventExample3" />
+ <node label="addEventListener" app="spark/events/EventExample4" />
+ <node label="Dispatch" app="spark/events/EventExample5" />
+ <node label="Custom" app="spark/events/EventExample6" />
+ </node>
+ <node label="Forms">
+ <node label="Help Form" app="spark/controls/SampleHelpFormExample"/>
+ <node label="Sequence Form" app="spark/controls/SampleSequenceFormExample"/>
+ <node label="Simple Form" app="spark/controls/SampleSimpleFormExample"/>
+ <node label="Stacked Form" app="spark/controls/SampleStackedFormExample"/>
+ </node>
+ <node label="Modules">
+ <node label="Load" app="spark/modules/ModuleExample" />
+ </node>
+ <node label="Repeater">
+ <node label="Repeater" app="spark/other/RepeaterExample" />
+ </node>
+ <node label="ScrollBars">
+ <node label="ScrollBars" app="spark/other/ScrollBarsExample" />
+ </node>
+ <node label="Skinning">
+ <node label="Button With Icon" app="spark/skinning/ButtonWithIconExample"/>
+ <node label="Application" app="spark/skinning/SkinningApplication1Example"/>
+ <node label="Application" app="spark/skinning/SkinningApplication2Example"/>
+ <node label="Application" app="spark/skinning/SkinningApplication3Example"/>
+ <node label="Container" app="spark/skinning/SkinningContainerExample"/>
+ </node>
+ <node label="Viewport">
+ <node label="Controlling Viewport" app="spark/other/ControllingViewportExample" />
+ </node>
+ </node>
+ <node label="Effects and Filters">
+ <node label="Move 3D" app="spark/effects/Move3DExample" />
+ <node label="Filter" app="spark/other/FilterExample" />
+ <node label="Wipe" app="spark/effects/WipeExample" />
+ <node label="Animate Property" app="spark/effects/AnimatePropertiesExample" />
+ <node label="Animate Transform" app="spark/effects/AnimateTransformExample" />
+ <!-- not working
+ <node label="Cross Fade" app="spark/effects/CrossFadeExample" />
+ -->
+ <node label="Fade" app="spark/effects/FadeExample" />
+ <node label="Rotate 3D" app="spark/effects/Rotate3DExample" />
+ <node label="Scale 3D" app="spark/effects/Scale3DExample" />
+ </node>
+ <node label="Visual Components">
+ <node label="Containers">
+ <node label="Accordion" app="spark/controls/AccordionExample" />
+ <node label="Border" app="spark/containers/BorderExample"/>
+ <node label="DataGroup" app="spark/controls/DataGroupExample" />
+ <node label="Form" app="spark/controls/FormExample" />
+ <node label="HGroup" app="spark/containers/SampleHGroup" />
+ <node label="Group" app="spark/containers/GroupExample"/>
+ <node label="Panel" app="spark/containers/PanelExample"/>
+ <node label="SkinableDataContainer" app="spark/containers/SkinableDataContainerExample" />
+ <node label="TabNavigator" app="spark/containers/TabNavigator1Example" />
+ <node label="TabNavigator" app="spark/containers/TabNavigator2Example" />
+ <node label="TitleGroup" app="spark/containers/TileGroupExample" />
+ <node label="TitleWindow" app="spark/controls/TitleWindowExample" />
+ <node label="ViewStack" app="spark/controls/ViewStackExample" />
+ <node label="VGroup" app="spark/containers/SampleVGroup" />
+ <node label="Vertical Horizontal Align" app="spark/containers/SampleVerticalHorizontalAlign" />
+ </node>
+ <node label="Graphics and FXG">
+ <node label="Drop Shadow" app="spark/fxg/DropShadowGraphicExample" />
+ <node label="Image" app="spark/fxg/BitmapImageExample" />
+ <node label="Eclipse" app="spark/fxg/EclipseExample" />
+ <node label="Ellipse Transform" app="spark/fxg/EllipseTransformExample" />
+ <node label="Line" app="spark/fxg/LineExample" />
+ <node label="Linear Gradient" app="spark/fxg/LinearGradientsSpreadMethodExample" />
+ <node label="Rectangle" app="spark/fxg/RectExample" />
+ <node label="RichText" app="spark/fxg/RichTextExample" />
+ <node label="Static FXG" app="spark/fxg/StaticFXGExample" />
+ </node>
+ <node label="General Controls">
+ <node label="AdvancedDataGrid" app="spark/controls/AdvancedDatagridExample" />
+ <node label="Checkbox" app="spark/controls/CheckboxExample"/>
+ <node label="ColorPicker" app="spark/controls/ColorPickerExample" />
+ <node label="ComboBox" app="spark/controls/ComboBoxExample" />
+ <node label="DropDown" app="spark/controls/DropdownExample"/>
+ <node label="DataGrid" app="spark/controls/DataGridExample" />
+ <node label="Image" app="spark/controls/ImageExample" />
+ <node label="List" app="spark/controls/ListExample" />
+ <node label="Menu" app="spark/controls/MenuExample" />
+ <node label="NumericStepper" app="spark/controls/NumericStepperExample"/>
+ <node label="OLAPDataGrid" app="spark/controls/OLAPDataGridExample" />
+ <node label="ProgressBar" app="spark/controls/ProgressBarExample" />
+ <node label="RadioButton" app="spark/controls/RadioButtonExample"/>
+ <node label="ScrollBar" app="spark/controls/ScrollBarExample" />
+ <node label="Scroller" app="spark/controls/Scroller1Example"/>
+ <node label="Scroller and Tabbing" app="spark/controls/Scroller2Example"/>
+ <node label="Slider" app="spark/controls/SliderExample"/>
+ <node label="Spinner" app="spark/controls/SpinnerExample"/>
+ <!-- Removed to avoid putting swf in repo
+ <node label="SWFloader" app="spark/controls/SWFLoaderExample" />
+ -->
+ <node label="ToolTip" app="spark/controls/ToolTipExample" />
+ <node label="Tree" app="spark/controls/TreeExample" />
+ <node label="VideoDisplay" app="spark/controls/VideoDisplayExample" />
+ <node label="VideoDisplay" app="spark/controls/OSMFExample" />
+ <node label="VideoPlayer" app="spark/controls/VideoPlayerExample" />
+ </node>
+ <node label="Button Controls">
+ <node label="Button" app="spark/controls/ButtonExample"/>
+ <node label="ButtonBar" app="spark/controls/ButtonBarExample"/>
+ <node label="LinkBar" app="spark/controls/LinkBarExample" />
+ <node label="LinkButton" app="spark/controls/LinkButtonExample" />
+ <node label="PopUpButton" app="spark/controls/PopupButtonExample" />
+ <node label="PopUpAnchor" app="spark/controls/PopUpAnchor1Example"/>
+ <node label="PopUpAnchor" app="spark/controls/PopUpAnchor2Example"/>
+ <node label="ToggleButton" app="spark/controls/ToggleButtonExample"/>
+ <node label="ToggleButtonBar" app="spark/controls/ToggleButtonBarExample" />
+ </node>
+ <node label="Date Controls">
+ <node label="DateChooser" app="spark/controls/DateChooserExample" />
+ <node label="DateField" app="spark/controls/DateFieldExample" />
+ </node>
+ <node label="Text Controls">
+ <node label="RichEditableText" app="spark/controls/RichEditableTextExample" />
+ <node label="TextArea" app="spark/controls/TextAreaExample" />
+ <node label="TextInput" app="spark/controls/TextInputExample" />
+ <node label="Sample Layout" app="spark/controls/TextLayout1Example" />
+ <node label="News Layout" app="spark/controls/TextLayout2Example" />
+ <node label="Text Controls" app="spark/controls/TextLayout3Example" />
+ <node label="Import Format Types" app="spark/controls/TextLayout4Example" />
+ <!-- Doesn't comile with current version of TLF
+ <node label="Text Layout Editor" app="spark/tlf/TextLayoutEditorSample" />
+ -->
+ </node>
+ <node label="Layouts">
+ <node label="Animated" app="spark/layouts/CustomLayoutAnimatedExample" />
+ <node label="Baseline" app="spark/layouts/CustomLayoutHBaselineExample" />
+ <node label="Image Wheel" app="spark/layouts/CustomLayoutFlickrWheelExample" />
+ <node label="Text Flow" app="spark/layouts/CustomLayoutFlowExample" />
+ </node>
+ </node>
+ <node label="Charts">
+ <node label="AreaChart" app="spark/charts/AreaChartExample" />
+ <node label="BarChart" app="spark/charts/BarChartExample" />
+ <node label="BubbleChart" app="spark/charts/BubbleChartExample" />
+ <node label="CandleStickChart" app="spark/charts/CandleStickChartExample" />
+ <node label="ColumnChart" app="spark/charts/ColumnChartExample" />
+ <node label="HLOCChart" app="spark/charts/HLOCChartExample" />
+ <node label="LineChart" app="spark/charts/LineChartExample" />
+ <node label="PieChart" app="spark/charts/PieChartExample" />
+ <node label="PlotChart" app="spark/charts/PlotChartExample" />
+ <node label="SeriesInterpolate" app="spark/charts/SeriesInterpolateExample" />
+ <node label="SeriesSlide" app="spark/charts/SeriesSlideExample" />
+ <node label="SeriesZoom" app="spark/charts/SeriesZoomExample" />
+ </node>
+ <node label="Validators and Formatters">
+ <node label="Validators">
+ <node label="CreditCardValidator" app="spark/validators/CreditCardValidatorExample" />
+ <node label="CurrencyValidator" app="spark/validators/CurrencyValidatorExample" />
+ <node label="DateValidator" app="spark/validators/DateValidatorExample" />
+ <node label="EmailValidator" app="spark/validators/EmailValidatorExample" />
+ <node label="NumberValidator" app="spark/validators/NumberValidatorExample" />
+ <node label="RegExpValidator" app="spark/validators/RegExpValidatorExample" />
+ <node label="SocialSecurityValidator" app="spark/validators/SocialSecurityValidatorExample" />
+ <node label="StringValidator" app="spark/validators/StringValidatorExample" />
+ <node label="Validator" app="spark/validators/FormValidatorExample" />
+ <node label="ZipCodeValidator" app="spark/validators/ZipCodeValidatorExample" />
+ </node>
+ <node label="Formatters">
+ <node label="CurrencyFormatter" app="spark/formatters/CurrencyFormatterExample" />
+ <node label="DateFormatter" app="spark/formatters/DateFormatterExample" />
+ <node label="NumberFormatter" app="spark/formatters/NumberFormatterExample" />
+ <node label="PhoneFormatter" app="spark/formatters/PhoneFormatterExample" />
+ <node label="SwitchFormatter" app="spark/formatters/SwitchFormatterExample" />
+ <node label="ZipCodeFormatter" app="spark/formatters/ZipCodeFormatterExample" />
+ </node>
+ </node>
+ </node>
+ </node>
+</compTree>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/explorer.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/loaderPanel.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/loaderPanel.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/loaderPanel.mxml (added)
+++ flex/site/trunk/content/tourdeflex/loaderPanel.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ 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.
+ -->
+
+<mx:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ horizontalAlign="center" headerHeight="10" dropShadowVisible="false">
+ <fx:Script>
+ <![CDATA[
+
+ public function loadApp(swfApp:String):void
+ {
+ myLoader.source = swfApp;
+ }
+
+ ]]>
+ </fx:Script>
+
+<mx:SWFLoader id="myLoader" width="100%" height="100%" />
+
+</mx:Panel>
Propchange: flex/site/trunk/content/tourdeflex/loaderPanel.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/loaderPanel.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/loaderPanel.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/loaderPanel.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the BubbleChart control. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+ <fx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
+ { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <!-- Define custom color and line style for the bubbles. -->
+ <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
+ <mx:SolidColorStroke id="stroke1" color="blue" weight="1"/>
+ </fx:Declarations>
+
+ <mx:Panel title="BubbleChart Control Example" height="100%" width="100%">
+ <mx:BubbleChart id="bubblechart"
+ height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" maxRadius="20"
+ dataProvider="{expensesAC}">
+ <mx:series>
+ <mx:BubbleSeries
+ displayName="Profit/Expenses/Amount"
+ xField="Profit"
+ yField="Expenses"
+ radiusField="Amount"
+ fill="{sc1}"
+ stroke="{stroke1}"
+ />
+ </mx:series>
+ </mx:BubbleChart>
+ <mx:Legend dataProvider="{bubblechart}"/>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the CandlestickChart control. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+ <fx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 40.75, High: 40.75, Low: 40.24, Close:40.31},
+ { Date: "26-Jul", Open: 39.98, High: 40.78, Low: 39.97, Close:40.34},
+ { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63},
+ { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98},
+ { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95},
+ { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6},
+ { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84},
+ { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12},
+ { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69},
+ { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]);
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <!-- Define custom colors for the candles. -->
+ <mx:SolidColor id="up" color="green" alpha=".8"/>
+ <mx:SolidColor id="down" color="red" alpha=".8"/>
+
+ <!-- Define custom Stroke for the candle wick. -->
+ <mx:SolidColorStroke id="wick" color="black" weight="2"/>
+
+ <!-- Define custom Stroke for the candle box. -->
+ <mx:SolidColorStroke id="box" color="black" weight="1"/>
+ </fx:Declarations>
+
+ <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%">
+ <mx:CandlestickChart id="candlestickchart"
+ height="100%"
+ width="100%"
+ paddingRight="5"
+ paddingLeft="5"
+ showDataTips="true"
+ dataProvider="{expensesAC}"
+ >
+ <mx:verticalAxis>
+ <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
+ </mx:verticalAxis>
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
+ </mx:horizontalAxis>
+
+ <mx:horizontalAxisRenderers>
+ <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
+ </mx:horizontalAxisRenderers>
+
+ <mx:series>
+ <mx:CandlestickSeries
+ openField="Open"
+ highField="High"
+ lowField="Low"
+ closeField="Close"
+ fill="{up}"
+ declineFill="{down}"
+ stroke="{wick}"
+ boxStroke="{box}"
+ />
+ </mx:series>
+ </mx:CandlestickChart>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,122 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the ColumnChart and BarChart controls. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+ <fx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var medalsAC:ArrayCollection = new ArrayCollection( [
+ { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
+ { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
+ { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <!-- Define custom colors for use as fills. -->
+ <mx:SolidColor id="sc1" color="yellow" alpha=".8"/>
+ <mx:SolidColor id="sc2" color="0xCCCCCC" alpha=".6"/>
+ <mx:SolidColor id="sc3" color="0xFFCC66" alpha=".6"/>
+
+ <!-- Define custom Strokes for the columns. -->
+ <mx:SolidColorStroke id="s1" color="yellow" weight="2"/>
+ <mx:SolidColorStroke id="s2" color="0xCCCCCC" weight="2"/>
+ <mx:SolidColorStroke id="s3" color="0xFFCC66" weight="2"/>
+ </fx:Declarations>
+
+ <mx:Panel title="ColumnChart and BarChart Controls Example"
+ height="100%" width="100%" layout="horizontal">
+ <mx:ColumnChart id="column"
+ height="100%"
+ width="45%"
+ paddingLeft="5"
+ paddingRight="5"
+ showDataTips="true"
+ dataProvider="{medalsAC}"
+ >
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Country"/>
+ </mx:horizontalAxis>
+
+ <mx:series>
+ <mx:ColumnSeries
+ xField="Country"
+ yField="Gold"
+ displayName="Gold"
+ fill="{sc1}"
+ stroke="{s1}"
+ />
+ <mx:ColumnSeries
+ xField="Country"
+ yField="Silver"
+ displayName="Silver"
+ fill="{sc2}"
+ stroke="{s2}"
+ />
+ <mx:ColumnSeries
+ xField="Country"
+ yField="Bronze"
+ displayName="Bronze"
+ fill="{sc3}"
+ stroke="{s3}"
+ />
+ </mx:series>
+ </mx:ColumnChart>
+
+ <mx:Legend dataProvider="{column}"/>
+
+ <mx:BarChart id="bar" height="100%" width="45%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{medalsAC}">
+
+ <mx:verticalAxis>
+ <mx:CategoryAxis categoryField="Country"/>
+ </mx:verticalAxis>
+
+ <mx:series>
+ <mx:BarSeries
+ yField="Country"
+ xField="Gold"
+ displayName="Gold"
+ fill="{sc1}"
+ stroke="{s1}"
+ />
+ <mx:BarSeries
+ yField="Country"
+ xField="Silver"
+ displayName="Silver"
+ fill="{sc2}"
+ stroke="{s2}"
+ />
+ <mx:BarSeries
+ yField="Country"
+ xField="Bronze"
+ displayName="Bronze"
+ fill="{sc3}"
+ stroke="{s3}"
+ />
+ </mx:series>
+ </mx:BarChart>
+
+ <mx:Legend dataProvider="{bar}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the DateTimeAxis class. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+
+ <fx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ public var stockDataAC:ArrayCollection = new ArrayCollection( [
+ {date: "2005, 7, 27", close: 41.71},
+ {date: "2005, 7, 28", close: 42.21},
+ {date: "2005, 7, 29", close: 42.11},
+ {date: "2005, 8, 1", close: 42.71},
+ {date: "2005, 8, 2", close: 42.99},
+ {date: "2005, 8, 3", close: 44} ]);
+
+ public function myParseFunction(s:String):Date {
+ // Get an array of Strings from the comma-separated String passed in.
+ var a:Array = s.split(",");
+ // Create the new Date object. Subtract one from
+ // the month property because months are zero-based in
+ // the Date constructor.
+ var newDate:Date = new Date(a[0],a[1]-1,a[2]);
+ return newDate;
+ }
+ ]]>
+ </fx:Script>
+
+ <mx:Panel title="DateTimeAxis Example" height="100%" width="100%">
+
+ <mx:LineChart id="mychart" height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" dataProvider="{stockDataAC}">
+
+ <mx:horizontalAxis>
+ <mx:DateTimeAxis dataUnits="days" parseFunction="myParseFunction"/>
+ </mx:horizontalAxis>
+
+ <mx:verticalAxis>
+ <mx:LinearAxis baseAtZero="false" />
+ </mx:verticalAxis>
+
+ <mx:series>
+ <mx:LineSeries yField="close" xField="date" displayName="AAPL"/>
+ </mx:series>
+ </mx:LineChart>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the GridLines class. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+
+ <fx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
+ { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </fx:Script>
+
+ <mx:Panel title="GridLines Example" height="100%" width="100%">
+
+ <mx:LineChart id="linechart" height="100%" width="100%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:backgroundElements>
+ <mx:GridLines gridDirection="horizontal">
+ <mx:horizontalStroke>
+ <mx:SolidColorStroke weight="1"/>
+ </mx:horizontalStroke>
+ <mx:horizontalFill>
+ <mx:SolidColor color="0xCCCCCC" alpha=".66"/>
+ </mx:horizontalFill>
+ </mx:GridLines>
+ </mx:backgroundElements>
+
+ <mx:series>
+ <mx:LineSeries yField="Profit" form="curve" displayName="Profit"/>
+ <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/>
+ <mx:LineSeries yField="Amount" form="curve" displayName="Amount"/>
+ </mx:series>
+ </mx:LineChart>
+
+ <mx:Legend dataProvider="{linechart}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the HLOCChart control. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+ <fx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var stockDataAC:ArrayCollection = new ArrayCollection( [
+ { Date: "25-Jul", Open: 40.55, High: 40.75, Low: 40.24, Close:40.31},
+ { Date: "26-Jul", Open: 40.15, High: 40.78, Low: 39.97, Close:40.34},
+ { Date: "27-Jul", Open: 40.38, High: 40.66, Low: 40, Close:40.63},
+ { Date: "28-Jul", Open: 40.49, High: 40.99, Low: 40.3, Close:40.98},
+ { Date: "29-Jul", Open: 40.13, High: 40.4, Low: 39.65, Close:39.95},
+ { Date: "1-Aug", Open: 39.00, High: 39.50, Low: 38.7, Close:38.6},
+ { Date: "2-Aug", Open: 38.68, High: 39.34, Low: 37.75, Close:38.84},
+ { Date: "3-Aug", Open: 38.76, High: 38.76, Low: 38.03, Close:38.12},
+ { Date: "4-Aug", Open: 37.98, High: 37.98, Low: 36.56, Close:36.69},
+ { Date: "5-Aug", Open: 36.61, High: 37, Low: 36.48, Close:36.86} ]);
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <!-- Define custom Stroke for the wick and ticks. -->
+ <mx:SolidColorStroke id="s1" color="0x000000" weight="5" joints="bevel" caps="square"/>
+ </fx:Declarations>
+
+ <mx:Panel title="HLOCChart Control Example" height="100%" width="100%">
+ <mx:HLOCChart id="hlocchart" height="100%" width="100%"
+ paddingRight="5" paddingLeft="5"
+ showDataTips="true" dataProvider="{stockDataAC}">
+
+ <mx:verticalAxis>
+ <mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
+ </mx:verticalAxis>
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis id="haxis" categoryField="Date" title="Date"/>
+ </mx:horizontalAxis>
+
+ <mx:horizontalAxisRenderers>
+ <mx:AxisRenderer axis="{haxis}" canDropLabels="true"/>
+ </mx:horizontalAxisRenderers>
+
+ <mx:series>
+ <mx:HLOCSeries
+ openField="Open"
+ highField="High"
+ lowField="Low"
+ closeField="Close"
+ stroke="{s1}"
+ openTickStroke="{s1}"
+ closeTickStroke="{s1}"
+ openTickLength="7"
+ closeTickLength="7"
+ />
+ </mx:series>
+ </mx:HLOCChart>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the LineChart and AreaChart controls. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+
+ <fx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 2000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600 },
+ { Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <!-- Define custom colors for use as fills in the AreaChart control. -->
+ <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
+ <mx:SolidColor id="sc2" color="red" alpha=".3"/>
+ <mx:SolidColor id="sc3" color="green" alpha=".3"/>
+
+ <!-- Define custom Strokes. -->
+ <mx:SolidColorStroke id = "s1" color="blue" weight="2"/>
+ <mx:SolidColorStroke id = "s2" color="red" weight="2"/>
+ <mx:SolidColorStroke id = "s3" color="green" weight="2"/>
+ </fx:Declarations>
+
+ <mx:Panel title="LineChart and AreaChart Controls Example"
+ height="100%" width="100%" layout="horizontal">
+
+ <mx:LineChart id="linechart" height="100%" width="45%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:series>
+ <mx:LineSeries yField="Profit" form="curve" displayName="Profit" lineStroke="{s1}"/>
+ <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses" lineStroke="{s2}"/>
+ <mx:LineSeries yField="Amount" form="curve" displayName="Amount" lineStroke="{s3}"/>
+ </mx:series>
+ </mx:LineChart>
+
+ <mx:Legend dataProvider="{linechart}"/>
+
+ <mx:AreaChart id="Areachart" height="100%" width="45%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:series>
+ <mx:AreaSeries yField="Profit" form="curve" displayName="Profit" areaStroke="{s1}" areaFill="{sc1}"/>
+ <mx:AreaSeries yField="Expenses" form="curve" displayName="Expenses" areaStroke="{s2}" areaFill="{sc2}"/>
+ <mx:AreaSeries yField="Amount" form="curve" displayName="Amount" areaStroke="{s3}" areaFill="{sc3}"/>
+ </mx:series>
+ </mx:AreaChart>
+
+ <mx:Legend dataProvider="{Areachart}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the LogAxis class. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+
+ <fx:Script>
+ <![CDATA[
+
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var expensesAC:ArrayCollection = new ArrayCollection( [
+ { Month: "Jan", Profit: 20000, Expenses: 1500, Amount: 450 },
+ { Month: "Feb", Profit: 1000, Expenses: 15000, Amount: 600 },
+ { Month: "Mar", Profit: 15000, Expenses: 5000, Amount: 300 },
+ { Month: "Apr", Profit: 1800, Expenses: 1200, Amount: 900 },
+ { Month: "May", Profit: 2400, Expenses: 575, Amount: 500 } ]);
+ ]]>
+ </fx:Script>
+
+ <mx:Panel title="LogAxis Example" height="100%" width="100%">
+
+ <mx:LineChart id="linechart" height="100%" width="100%"
+ paddingLeft="5" paddingRight="5"
+ showDataTips="true" dataProvider="{expensesAC}">
+
+ <mx:horizontalAxis>
+ <mx:CategoryAxis categoryField="Month"/>
+ </mx:horizontalAxis>
+
+ <mx:verticalAxis>
+ <mx:LogAxis interval="10"/>
+ </mx:verticalAxis>
+
+ <mx:series>
+ <mx:LineSeries yField="Profit" form="curve" displayName="Profit"/>
+ <mx:LineSeries yField="Expenses" form="curve" displayName="Expenses"/>
+ <mx:LineSeries yField="Amount" form="curve" displayName="Amount"/>
+ </mx:series>
+ </mx:LineChart>
+
+ <mx:Legend dataProvider="{linechart}"/>
+
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.swf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.mxml?rev=1619987&view=auto
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.mxml (added)
+++ flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.mxml Sat Aug 23 08:47:51 2014
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+ -->
+
+<!-- Simple example to demonstrate the PieChart control. -->
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+ <fx:Script>
+ <![CDATA[
+ import mx.collections.ArrayCollection;
+
+ [Bindable]
+ private var medalsAC:ArrayCollection = new ArrayCollection( [
+ { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
+ { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
+ { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
+
+ private function displayGold(data:Object, field:String, index:Number, percentValue:Number):String {
+ var temp:String= (" " + percentValue).substr(0,6);
+ return data.Country + ": " + '\n' + "Total Gold: " + data.Gold + '\n' + temp + "%";
+ }
+ ]]>
+ </fx:Script>
+
+ <fx:Declarations>
+ <!-- Define custom colors for use as pie wedge fills. -->
+ <mx:SolidColor id="sc1" color="blue" alpha=".6"/>
+ <mx:SolidColor id="sc2" color="red" alpha=".6"/>
+ <mx:SolidColor id="sc3" color="0x663300" alpha=".6"/>
+
+ <!-- This Stroke is used for the callout lines. -->
+ <mx:SolidColorStroke id="callouts" weight="2" color="0x999999" alpha=".8" caps="square"/>
+
+ <!-- This Stroke is used to separate the wedges in the pie. -->
+ <mx:SolidColorStroke id="radial" weight="1" color="0xFFFFCC" alpha=".3"/>
+
+ <!-- This Stroke is used for the outer border of the pie. -->
+ <mx:SolidColorStroke id="pieborder" color="0x000000" weight="2" alpha=".5"/>
+ </fx:Declarations>
+
+ <mx:Panel title="Olympics 2004 Medals Tally Panel" height="100%" width="100%">
+ <mx:PieChart id="chart"
+ height="100%"
+ width="100%"
+ paddingRight="5"
+ paddingLeft="5"
+ showDataTips="true"
+ dataProvider="{medalsAC}"
+ >
+ <!--
+ -->
+ <mx:series>
+ <mx:PieSeries
+ nameField="Country"
+ labelPosition="callout"
+ field="Gold"
+ labelFunction="displayGold"
+ calloutStroke="{callouts}"
+ radialStroke="{radial}"
+ stroke="{pieborder}"
+ fills="{[sc1, sc2, sc3]}"
+ >
+ <!-- Clear the drop shadow filters from the chart. -->
+ <mx:filters>
+ <fx:Array/>
+ </mx:filters>
+ </mx:PieSeries>
+ </mx:series>
+ </mx:PieChart>
+ <mx:Legend dataProvider="{chart}"/>
+ </mx:Panel>
+</mx:Application>
\ No newline at end of file
Propchange: flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.mxml
------------------------------------------------------------------------------
svn:eol-style = native
Added: flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.swf?rev=1619987&view=auto
==============================================================================
Binary file - no diff available.