You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/11/29 08:20:30 UTC
svn commit: r1642397 [2/10] - in /flex/site/trunk/content/tourdeflex: ./
apache/ apache/containers/ apache/controls/ apache/formatters/ apache/i18n/
apache/validators/ mx/charts/ mx/containers/ mx/controls/ mx/core/
mx/effects/ mx/formatters/ mx/printi...
Modified: flex/site/trunk/content/tourdeflex/explorer.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/explorer.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/explorer.mxml (original)
+++ flex/site/trunk/content/tourdeflex/explorer.mxml Sat Nov 29 07:19:59 2014
@@ -17,14 +17,15 @@
-->
<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="init()" creationComplete="checkParameters()" layout="vertical">
+ pageTitle="{TITLE}" layout="vertical" width="100%" height="100%"
+ paddingBottom="2" paddingTop="2" paddingLeft="2" paddingRight="2"
+ initialize="init()" creationComplete="checkParameters()">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.core.FlexGlobals;
- static protected const VERSION:String = "1.1";
+ static protected const VERSION:String = "1.2";
static protected const TITLE:String = "Tour De Flex Component Explorer";
static protected const FULL_TITLE:String = "Apache Flex® Tour De Flex Component Explorer " + VERSION;
@@ -42,8 +43,25 @@
compLibTree.dataProvider = explorerTree;
noExamples = (explorerTree..node.(hasOwnProperty("@app") && @app.length() > 0)).length();
+
+ var loader:URLLoader = new URLLoader();
+ var request:URLRequest = new URLRequest("3rdparty.xml");
+ loader.addEventListener(Event.COMPLETE, load3rdParty);
+ loader.load(request);
}
-
+
+ protected function load3rdParty(event:Event):void
+ {
+ var loader:URLLoader = URLLoader(event.target);
+ var newNode:XML = new XML(loader.data);
+
+ if (newNode..node.length() > 0) {
+ explorerTree.appendChild(newNode.node);
+ compLibTree.dataProvider = explorerTree;
+ noExamples += (newNode..node.(hasOwnProperty("@app") && @app.length() > 0)).length();
+ }
+ }
+
protected function checkParameters():void
{
var parameters:Object = FlexGlobals.topLevelApplication.parameters;
@@ -51,18 +69,24 @@
if (parameters.hasOwnProperty("app")) {
var application:String = parameters.app;
var source:String = explorerTree..node.(hasOwnProperty("@app") && @app == application).@src;
- loadApp(application, source);
+ loadApp(application, source, false);
openNode(application);
- }
+ }
+ else {
+ loadApp("Welcome", null, false);
+ }
}
private function treeChanged(event:Event):void
{
var nodeApp:String = compLibTree.selectedItem.@app;
+ var link:String = compLibTree.selectedItem.hasOwnProperty("@link") ? compLibTree.selectedItem.@link : "";
+ var thirdParty:Boolean = compLibTree.selectedItem.hasOwnProperty("@thirdParty")
+ && compLibTree.selectedItem.@thirdParty == "true";
if (nodeApp != null && nodeApp != "")
{
- loadApp(nodeApp, compLibTree.selectedItem.@src);
+ loadApp(nodeApp, compLibTree.selectedItem.@src, thirdParty, link);
}
else
{
@@ -70,17 +94,31 @@
}
}
- private function loadApp(application:String, source:String):void
+ private function loadApp(application:String, source:String, thirdParty:Boolean, link:String=""):void
{
- swfLoader.loadApp(application + ".swf");
- vs.loadSource(application, source);
+ if (application.indexOf(".swf") > 0) {
+ swfLoader.loadApp(application);
+ }
+ else if(application.indexOf(".jpg") > 0 || application.indexOf(".png") > 0)
+ {
+ swfLoader.loadApp(application,link);
+ }
+ else {
+ swfLoader.loadApp(application + ".swf");
+ }
+ if (thirdParty) {
+ vs.thirdPartyWarning();
+ }
+ else {
+ vs.loadSource(application, source);
+ }
}
private function gotoHome(event:Event):void
{
var urlRequest:URLRequest = new URLRequest("http://flex.apache.org/download-tourdeflex.html");
navigateToURL(urlRequest);
- }
+ }
private function openNode(application:String):void
{
Modified: flex/site/trunk/content/tourdeflex/explorer.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/explorer.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/explorer.xml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/explorer.xml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/explorer.xml (original)
+++ flex/site/trunk/content/tourdeflex/explorer.xml Sat Nov 29 07:19:59 2014
@@ -457,7 +457,7 @@
<node label="Millisecond Formatting" app="apache/i18n/MillisecondExample"/>
<node label="NumberStepper" app="apache/i18n/NumericStepperExample"/>
<node label="Scientific Notation Formatting" app="apache/i18n/ScientificExample"/>
- <node label="Timezone Formatting" app="apache/i18n/TimezoneExample"/>
+ <node label="Timezone Formatting" app="apache/i18n/TimeZoneExample"/>
</node>
<node label="Apache Flex 4.11" app="apache/ApacheFlex4_11_0">
<!-- Add more examples here -->
@@ -475,6 +475,10 @@
<node label="MaskedTextInput" app="apache/controls/SparkRichTextEditorExample"/>
</node>
-->
+ <node label="Apache Flex Squiggly" app="apache/Squiggly1_1">
+ <node label="MX Spelling Example" app="apache/squiggly/SpellingExample"/>
+ <node label="Spark Spelling Example" app="apache/squiggly/SpellingExExample"/>
+ </node>
</node>
</node>
-</compTree>
\ No newline at end of file
+</compTree>
Modified: flex/site/trunk/content/tourdeflex/loaderPanel.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/loaderPanel.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/loaderPanel.mxml (original)
+++ flex/site/trunk/content/tourdeflex/loaderPanel.mxml Sat Nov 29 07:19:59 2014
@@ -17,19 +17,39 @@
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>
+<mx:Box xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ width="100%" height="100%">
+ <fx:Script>
<![CDATA[
-
- public function loadApp(swfApp:String):void
+ import flash.net.navigateToURL;
+ private var _link:String;
+ //For third party components, we are loading an image. Clicking on the image
+ //would take the user to the demo app on the third party website
+ public function loadApp(swfApp:String, link:String=""):void
{
myLoader.source = swfApp;
+ if(link != "")
+ {
+ _link = link;
+ myLoader.addEventListener(MouseEvent.CLICK, handleClick);
+ myLoader.buttonMode = myLoader.useHandCursor = true;
+ }
+ else
+ {
+ myLoader.removeEventListener(MouseEvent.CLICK, handleClick);
+ myLoader.buttonMode = myLoader.useHandCursor = false;
+ }
+
}
+
+ private function handleClick(event:MouseEvent):void
+ {
+ navigateToURL(new URLRequest(_link),"_blank");
+ }
]]>
</fx:Script>
-<mx:SWFLoader id="myLoader" width="100%" height="100%" />
+<mx:SWFLoader id="myLoader" width="100%" height="100%" horizontalAlign="center" verticalAlign="middle" />
-</mx:Panel>
+</mx:Box>
Modified: flex/site/trunk/content/tourdeflex/loaderPanel.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/loaderPanel.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/BubbleChartExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,8 +17,11 @@
-->
<!-- 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>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -34,11 +37,13 @@
<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"/>
+ <mx:SolidColor id="sc1" alpha=".3"/>
+ <mx:SolidColorStroke id="stroke1" weight="1"/>
</fx:Declarations>
- <mx:Panel title="BubbleChart Control Example" height="100%" width="100%">
+ <mx:Panel title="BubbleChart Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:BubbleChart id="bubblechart"
height="100%" width="100%"
paddingRight="5" paddingLeft="5"
@@ -51,8 +56,7 @@
yField="Expenses"
radiusField="Amount"
fill="{sc1}"
- stroke="{stroke1}"
- />
+ stroke="{stroke1}" />
</mx:series>
</mx:BubbleChart>
<mx:Legend dataProvider="{bubblechart}"/>
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/CandlestickChartExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,8 +17,11 @@
-->
<!-- 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>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -49,15 +52,16 @@
<mx:SolidColorStroke id="box" color="black" weight="1"/>
</fx:Declarations>
- <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%">
+ <mx:Panel title="CandlestickChart Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:CandlestickChart id="candlestickchart"
height="100%"
width="100%"
paddingRight="5"
paddingLeft="5"
showDataTips="true"
- dataProvider="{expensesAC}"
- >
+ dataProvider="{expensesAC}">
<mx:verticalAxis>
<mx:LinearAxis id="vaxis" baseAtZero="false" title="Price"/>
</mx:verticalAxis>
@@ -79,8 +83,7 @@
fill="{up}"
declineFill="{down}"
stroke="{wick}"
- boxStroke="{box}"
- />
+ boxStroke="{box}" />
</mx:series>
</mx:CandlestickChart>
</mx:Panel>
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/Column_BarChartExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,8 +17,11 @@
-->
<!-- 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>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -42,16 +45,16 @@
<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:Panel title="ColumnChart and BarChart Controls Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ layout="horizontal" height="100%" width="100%">
<mx:ColumnChart id="column"
height="100%"
width="45%"
paddingLeft="5"
paddingRight="5"
showDataTips="true"
- dataProvider="{medalsAC}"
- >
+ dataProvider="{medalsAC}">
<mx:horizontalAxis>
<mx:CategoryAxis categoryField="Country"/>
</mx:horizontalAxis>
@@ -62,22 +65,19 @@
yField="Gold"
displayName="Gold"
fill="{sc1}"
- stroke="{s1}"
- />
+ stroke="{s1}" />
<mx:ColumnSeries
xField="Country"
yField="Silver"
displayName="Silver"
fill="{sc2}"
- stroke="{s2}"
- />
+ stroke="{s2}" />
<mx:ColumnSeries
xField="Country"
yField="Bronze"
displayName="Bronze"
fill="{sc3}"
- stroke="{s3}"
- />
+ stroke="{s3}" />
</mx:series>
</mx:ColumnChart>
@@ -97,22 +97,19 @@
xField="Gold"
displayName="Gold"
fill="{sc1}"
- stroke="{s1}"
- />
+ stroke="{s1}" />
<mx:BarSeries
yField="Country"
xField="Silver"
displayName="Silver"
fill="{sc2}"
- stroke="{s2}"
- />
+ stroke="{s2}" />
<mx:BarSeries
yField="Country"
xField="Bronze"
displayName="Bronze"
fill="{sc3}"
- stroke="{s3}"
- />
+ stroke="{s3}" />
</mx:series>
</mx:BarChart>
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/DateTimeAxisExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- 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">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -45,8 +47,10 @@
]]>
</fx:Script>
- <mx:Panel title="DateTimeAxis Example" height="100%" width="100%">
-
+ <mx:Panel title="DateTimeAxis Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
+
<mx:LineChart id="mychart" height="100%" width="100%"
paddingRight="5" paddingLeft="5"
showDataTips="true" dataProvider="{stockDataAC}">
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/GridLinesExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- 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">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -34,8 +36,9 @@
]]>
</fx:Script>
- <mx:Panel title="GridLines Example" height="100%" width="100%">
-
+ <mx:Panel title="GridLines Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:LineChart id="linechart" height="100%" width="100%"
paddingLeft="5" paddingRight="5"
showDataTips="true" dataProvider="{expensesAC}">
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/HLOCChartExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,8 +17,11 @@
-->
<!-- 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>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -42,7 +45,9 @@
<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:Panel title="HLOCChart Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:HLOCChart id="hlocchart" height="100%" width="100%"
paddingRight="5" paddingLeft="5"
showDataTips="true" dataProvider="{stockDataAC}">
@@ -69,8 +74,7 @@
openTickStroke="{s1}"
closeTickStroke="{s1}"
openTickLength="7"
- closeTickLength="7"
- />
+ closeTickLength="7" />
</mx:series>
</mx:HLOCChart>
</mx:Panel>
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/Line_AreaChartExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- 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">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -36,18 +38,20 @@
<fx:Declarations>
<!-- Define custom colors for use as fills in the AreaChart control. -->
- <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
+ <mx:SolidColor id="sc1" 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 = "s1" 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">
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ layout="horizontal" height="100%" width="100%">
+
<mx:LineChart id="linechart" height="100%" width="45%"
paddingLeft="5" paddingRight="5"
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/LogAxisExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- 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">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -34,7 +36,9 @@
]]>
</fx:Script>
- <mx:Panel title="LogAxis Example" height="100%" width="100%">
+ <mx:Panel title="LogAxis Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:LineChart id="linechart" height="100%" width="100%"
paddingLeft="5" paddingRight="5"
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/PieChartExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,8 +17,11 @@
-->
<!-- 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>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -37,7 +40,7 @@
<fx:Declarations>
<!-- Define custom colors for use as pie wedge fills. -->
- <mx:SolidColor id="sc1" color="blue" alpha=".6"/>
+ <mx:SolidColor id="sc1" alpha=".6"/>
<mx:SolidColor id="sc2" color="red" alpha=".6"/>
<mx:SolidColor id="sc3" color="0x663300" alpha=".6"/>
@@ -51,17 +54,16 @@
<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:Panel title="Olympics 2004 Medals Tally Panel"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:PieChart id="chart"
height="100%"
width="100%"
paddingRight="5"
paddingLeft="5"
showDataTips="true"
- dataProvider="{medalsAC}"
- >
- <!--
- -->
+ dataProvider="{medalsAC}">
<mx:series>
<mx:PieSeries
nameField="Country"
@@ -71,8 +73,7 @@
calloutStroke="{callouts}"
radialStroke="{radial}"
stroke="{pieborder}"
- fills="{[sc1, sc2, sc3]}"
- >
+ fills="{[sc1, sc2, sc3]}">
<!-- Clear the drop shadow filters from the chart. -->
<mx:filters>
<fx:Array/>
Modified: 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=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/charts/PlotChartExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/PlotChartExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/PlotChartExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/PlotChartExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,8 +17,11 @@
-->
<!-- Simple example to demonstrate the PlotChart control. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
- <fx:Script>
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -32,47 +35,45 @@
<fx:Declarations>
<!-- Define custom colors for use as plot point fills. -->
- <mx:SolidColor id="sc1" color="blue" alpha=".3"/>
+ <mx:SolidColor id="sc1" 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="1"/>
+ <mx:SolidColorStroke id="s1" weight="1"/>
<mx:SolidColorStroke id="s2" color="red" weight="1"/>
<mx:SolidColorStroke id="s3" color="green" weight="1"/>
</fx:Declarations>
- <mx:Panel title="PlotChart Control Example" height="100%" width="100%">
+ <mx:Panel title="PlotChart Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:PlotChart id="plot"
height="100%"
width="100%"
paddingLeft="5"
paddingRight="5"
showDataTips="true"
- dataProvider="{expensesAC}"
- >
+ dataProvider="{expensesAC}">
<mx:series>
<mx:PlotSeries
xField="Expenses"
yField="Profit"
displayName="Plot 1"
fill="{sc1}"
- stroke="{s1}"
- />
+ stroke="{s1}" />
<mx:PlotSeries
xField="Amount"
yField="Expenses"
displayName="Plot 2"
fill="{sc2}"
- stroke="{s2}"
- />
+ stroke="{s2}" />
<mx:PlotSeries
xField="Profit"
yField="Amount"
displayName="Plot 3"
fill="{sc3}"
- stroke="{s3}"
- />
+ stroke="{s3}" />
</mx:series>
</mx:PlotChart>
<mx:Legend dataProvider="{plot}"/>
Modified: flex/site/trunk/content/tourdeflex/mx/charts/PlotChartExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/PlotChartExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/charts/SeriesInterpolateExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/SeriesInterpolateExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/SeriesInterpolateExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/SeriesInterpolateExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- 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">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -56,8 +58,9 @@
<mx:SeriesInterpolate id="interpolateIn" duration="1000"/>
</fx:Declarations>
- <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel title="CandlestickChart Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:CandlestickChart id="candlestickchart" height="100%" width="100%"
paddingRight="5" paddingLeft="5"
@@ -83,14 +86,14 @@
</mx:series>
</mx:CandlestickChart>
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Choose a company to view recent stock data."/>
<mx:HBox>
<mx:RadioButton groupName="stocks" label="View Company A"
- selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
+ selected="true" click="candlestickchart.dataProvider=companyAAC"/>
<mx:RadioButton groupName="stocks" label="View Company B"
- click="candlestickchart.dataProvider=companyBAC;"/>
+ click="candlestickchart.dataProvider=companyBAC"/>
</mx:HBox>
</mx:Panel>
</mx:Application>
\ No newline at end of file
Modified: flex/site/trunk/content/tourdeflex/mx/charts/SeriesInterpolateExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/SeriesInterpolateExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/charts/SeriesSlideExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/SeriesSlideExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/SeriesSlideExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/SeriesSlideExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- 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">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -57,8 +59,9 @@
<mx:SeriesSlide id="slideOut" duration="1000" direction="down"/>
</fx:Declarations>
- <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel title="CandlestickChart Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:CandlestickChart id="candlestickchart" height="100%" width="100%"
paddingRight="5" paddingLeft="5"
@@ -85,14 +88,14 @@
</mx:series>
</mx:CandlestickChart>
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Choose a company to view recent stock data."/>
<mx:HBox>
<mx:RadioButton groupName="stocks" label="View Company A"
- selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
+ selected="true" click="candlestickchart.dataProvider=companyAAC"/>
<mx:RadioButton groupName="stocks" label="View Company B"
- click="candlestickchart.dataProvider=companyBAC;"/>
+ click="candlestickchart.dataProvider=companyBAC"/>
</mx:HBox>
</mx:Panel>
</mx:Application>
\ No newline at end of file
Modified: flex/site/trunk/content/tourdeflex/mx/charts/SeriesSlideExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/SeriesSlideExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/charts/SeriesZoomExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/SeriesZoomExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/charts/SeriesZoomExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/charts/SeriesZoomExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- 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">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -57,8 +59,9 @@
<mx:SeriesZoom id="zoomOut" duration="1000"/>
</fx:Declarations>
- <mx:Panel title="CandlestickChart Control Example" height="100%" width="100%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel title="CandlestickChart Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:CandlestickChart id="candlestickchart" height="100%" width="100%"
paddingRight="5" paddingLeft="5"
@@ -85,14 +88,14 @@
</mx:series>
</mx:CandlestickChart>
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Choose a company to view recent stock data."/>
<mx:HBox>
<mx:RadioButton groupName="stocks" label="View Company A"
- selected="true" click="candlestickchart.dataProvider=companyAAC;"/>
+ selected="true" click="candlestickchart.dataProvider=companyAAC"/>
<mx:RadioButton groupName="stocks" label="View Company B"
- click="candlestickchart.dataProvider=companyBAC;"/>
+ click="candlestickchart.dataProvider=companyBAC"/>
</mx:HBox>
</mx:Panel>
</mx:Application>
\ No newline at end of file
Modified: flex/site/trunk/content/tourdeflex/mx/charts/SeriesZoomExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/charts/SeriesZoomExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/AccordionExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/AccordionExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/AccordionExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/AccordionExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the Accordion layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="Accordion Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="Accordion Container Example" height="90%" width="90%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Select an Accordion navigator button to change the panel."/>
<mx:Accordion id="accordion" width="100%" height="100%">
@@ -40,13 +43,13 @@
</mx:VBox>
</mx:Accordion>
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Programmatically select the panel using a Button control."/>
<mx:HBox>
- <mx:Button label="Select Panel 1" click="accordion.selectedIndex=0;"/>
- <mx:Button label="Select Panel 2" click="accordion.selectedIndex=1;"/>
- <mx:Button label="Select Panel 3" click="accordion.selectedIndex=2;"/>
+ <mx:Button label="Select Panel 1" click="accordion.selectedIndex=0"/>
+ <mx:Button label="Select Panel 2" click="accordion.selectedIndex=1"/>
+ <mx:Button label="Select Panel 3" click="accordion.selectedIndex=2"/>
</mx:HBox>
</mx:Panel>
Modified: flex/site/trunk/content/tourdeflex/mx/containers/AccordionExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/AccordionExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/DividedBoxExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/DividedBoxExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/DividedBoxExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/DividedBoxExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the DividedBox layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="DividedBox Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="DividedBox Container Example" height="95%" width="95%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Text width="100%" color="blue"
+ <mx:Text width="100%"
text="A horizontal DividedBox container. Drag the divider side to side to resize the children."/>
<mx:DividedBox direction="horizontal" width="100%" height="100%">
Modified: flex/site/trunk/content/tourdeflex/mx/containers/DividedBoxExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/DividedBoxExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/FormExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/FormExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/FormExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/FormExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,7 +17,9 @@
-->
<!-- Simple example to demonstrate Form layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
<fx:Declarations>
<fx:Model id="checkModel">
@@ -42,10 +44,11 @@
<mx:ZipCodeValidator source="{zip}" property="text"/>
</fx:Declarations>
- <mx:Panel title="Form Container Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel title="Form Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Text width="100%" color="blue"
+ <mx:Text width="100%"
text="Moving from one form field to another triggers the validator."/>
<mx:Form width="100%" height="100%">
Modified: flex/site/trunk/content/tourdeflex/mx/containers/FormExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/FormExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/GridLayoutExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/GridLayoutExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/GridLayoutExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/GridLayoutExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the Grid layout container.-->
-<mx:Application borderStyle="none" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
-
- <mx:Panel title="Grid Container Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="Grid Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="A 3 by 3 Grid container of Button controls."/>
<mx:Grid>
Modified: flex/site/trunk/content/tourdeflex/mx/containers/GridLayoutExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/GridLayoutExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/HBoxExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/HBoxExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/HBoxExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/HBoxExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the HBox layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="HBox Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="HBox Container Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="An HBox container with horizontally aligned children."/>
<mx:HBox borderStyle="solid" paddingTop="10" paddingBottom="10"
Modified: flex/site/trunk/content/tourdeflex/mx/containers/HBoxExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/HBoxExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/HDividedBoxExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/HDividedBoxExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/HDividedBoxExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/HDividedBoxExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the HDividedBox layout -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="HDividedBox Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="HDividedBox Container Example" width="90%" height="90%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Text width="100%" color="blue"
+ <mx:Text width="100%"
text="Drag the divider side to side to resize the children."/>
<mx:HDividedBox width="100%" height="100%">
Modified: flex/site/trunk/content/tourdeflex/mx/containers/HDividedBoxExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/HDividedBoxExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleApplicationControlBarExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleApplicationControlBarExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/SimpleApplicationControlBarExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/SimpleApplicationControlBarExample.mxml Sat Nov 29 07:19:59 2014
@@ -18,11 +18,12 @@
<!-- Simple example to demonstrate the ApplicationControlBar container. -->
<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
- paddingLeft="10" paddingRight="10" paddingBottom="10"
- backgroundColor="0xCCCCCC">
+ borderStyle="solid"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
<mx:ApplicationControlBar dock="true" paddingTop="0" paddingBottom="0">
- <mx:Label text="Docked" color="blue"/>
+ <mx:Label text="Docked"/>
<mx:MenuBar id="myMenuBar" labelField="@label">
<fx:XMLList>
@@ -45,7 +46,7 @@
<mx:Spacer height="100%" />
<mx:ApplicationControlBar width="80%">
- <mx:Label text="Normal" color="blue"/>
+ <mx:Label text="Normal"/>
<mx:Label text="Search:" />
<mx:TextInput width="100%" maxWidth="200" />
<mx:Spacer width="100%" />
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleApplicationControlBarExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleApplicationControlBarExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleBoxExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleBoxExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/SimpleBoxExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/SimpleBoxExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the Box layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <mx:Panel title="Box Container Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel title="Box Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="A Box container with vertically aligned children."/>
<mx:Box direction="vertical" borderStyle="solid"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
@@ -32,7 +35,7 @@
<mx:ComboBox/>
</mx:Box>
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="A Box container with horizontally aligned children."/>
<mx:Box direction="horizontal" borderStyle="solid"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleBoxExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleBoxExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleCanvasExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleCanvasExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/SimpleCanvasExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/SimpleCanvasExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the Canvas layout container.-->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="Canvas Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="Canvas Container Example" height="95%" width="95%"
- paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5">
-
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Use absolute positioning to place the children of a Canvas container."/>
<mx:Canvas borderStyle="solid" height="200" width="100%">
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleCanvasExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleCanvasExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleControlBarExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleControlBarExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/SimpleControlBarExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/SimpleControlBarExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,15 +17,18 @@
-->
<!-- Simple example to demonstrate the ControlBar container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <mx:Panel title="ControlBar Container Example" width="75%" height="75%"
- paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+ <mx:Panel title="ControlBar Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:HBox width="100%" height="100%">
<!-- Area for your catalog. -->
<mx:Image source="@Embed(source='assets/ApacheFlexLogo.png')" width="50%" height="100%"/>
- <mx:Text width="50%" color="blue"
+ <mx:Text width="50%"
text="The ControlBar container in this example adds a Label, NumericStepper, Spacer, and Button control to the bottom of the Panel container."/>
</mx:HBox>
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleControlBarExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleControlBarExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimplePanelExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimplePanelExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/SimplePanelExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/SimplePanelExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- Simple example to demonstrate Panel layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
private function showProperties():void {
@@ -31,15 +33,15 @@
]]>
</fx:Script>
- <mx:Panel id="panel" title="Panel Container Example" status="Active"
- height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel id="panel" title="Panel Container Example" status="Active"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Click the Button control to see panel properties."/>
<mx:TextArea id="panelPropertyArea" width="100%" height="100%"/>
- <mx:Button label="Click to view Panel properties" click="showProperties();"/>
+ <mx:Button label="Click to view Panel properties" click="showProperties()"/>
</mx:Panel>
</mx:Application>
\ No newline at end of file
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimplePanelExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimplePanelExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleTitleWindowExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleTitleWindowExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/SimpleTitleWindowExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/SimpleTitleWindowExample.mxml Sat Nov 29 07:19:59 2014
@@ -23,7 +23,7 @@
<mx:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
title="Title Window" x="168" y="86">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import mx.controls.Text;
@@ -45,8 +45,8 @@
</mx:HBox>
<mx:HBox>
- <mx:Button label="OK" click="returnName();"/>
- <mx:Button label="Cancel" click="PopUpManager.removePopUp(this);"/>
+ <mx:Button label="OK" click="returnName()"/>
+ <mx:Button label="Cancel" click="PopUpManager.removePopUp(this)"/>
</mx:HBox>
</mx:TitleWindow>
Modified: flex/site/trunk/content/tourdeflex/mx/containers/SimpleTitleWindowExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/SimpleTitleWindowExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/TabNavigatorExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/TabNavigatorExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/TabNavigatorExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/TabNavigatorExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the TabNavigator layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="TabNavigator Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="TabNavigator Container Example" height="90%" width="90%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Select the tabs to change the panel."/>
<mx:TabNavigator id="tn" width="100%" height="100%">
@@ -41,7 +44,7 @@
</mx:VBox>
</mx:TabNavigator>
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Programmatically select the panel using a Button control."/>
<mx:HBox>
Modified: flex/site/trunk/content/tourdeflex/mx/containers/TabNavigatorExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/TabNavigatorExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/TileLayoutExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/TileLayoutExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/TileLayoutExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/TileLayoutExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the Tile layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="Tile Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="Tile Container Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="A Tile container lays out its children in a grid of equal-sized cells."/>
<mx:Tile direction="horizontal" borderStyle="inset"
Modified: flex/site/trunk/content/tourdeflex/mx/containers/TileLayoutExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/TileLayoutExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/TitleWindowApp.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/TitleWindowApp.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/TitleWindowApp.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/TitleWindowApp.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- Main application to demonstrate TitleWindow layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.managers.PopUpManager;
@@ -51,11 +53,12 @@
]]>
</fx:Script>
- <mx:Panel title="TitleWindow Container Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel title="TitleWindow Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:Button id="myButton" label="Click to open the TitleWindow container"
- click="showWindow();"/>
+ click="showWindow()"/>
<mx:Text id="returnedName" text="" width="100%"/>
Modified: flex/site/trunk/content/tourdeflex/mx/containers/TitleWindowApp.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/TitleWindowApp.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/VBoxExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/VBoxExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/VBoxExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/VBoxExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the VBox layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="VBox Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="VBox Container Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="A VBox container with vertically aligned children."/>
<mx:VBox borderStyle="solid" paddingTop="10" paddingBottom="10"
Modified: flex/site/trunk/content/tourdeflex/mx/containers/VBoxExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/VBoxExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/VDividedBoxExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/VDividedBoxExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/VDividedBoxExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/VDividedBoxExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,12 +17,15 @@
-->
<!-- Simple example to demonstrate the VDividedBox layout -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="VDividedBox Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="VDividedBox Container Example" width="90%" height="90%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Text width="100%" color="blue"
+ <mx:Text width="100%"
text="Drag the divider up and down to resize the children."/>
<mx:VDividedBox width="100%" height="100%">
Modified: flex/site/trunk/content/tourdeflex/mx/containers/VDividedBoxExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/VDividedBoxExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/containers/ViewStackExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/ViewStackExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/containers/ViewStackExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/containers/ViewStackExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,23 +17,26 @@
-->
<!-- Simple example to demonstrate the ViewStack layout container. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
+
+ <mx:Panel title="ViewStack Container Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Panel title="ViewStack Container Example" height="95%" width="95%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
-
- <mx:Text width="100%" color="blue"
+ <mx:Text width="100%"
text="Use the Button controls to change panels of the ViewStack container."/>
<mx:HBox borderStyle="solid" width="100%"
paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5">
<mx:Button id="searchButton" label="Search Panel"
- click="myViewStack.selectedChild=search;"/>
+ click="myViewStack.selectedChild=search"/>
<mx:Button id="cInfoButton" label="Customer Info Panel"
- click="myViewStack.selectedChild=custInfo;"/>
+ click="myViewStack.selectedChild=custInfo"/>
<mx:Button id="aInfoButton" label="Account Panel"
- click="myViewStack.selectedChild=accountInfo;"/>
+ click="myViewStack.selectedChild=accountInfo"/>
</mx:HBox>
<!-- Define the ViewStack and the three child containers and have it
Modified: flex/site/trunk/content/tourdeflex/mx/containers/ViewStackExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/containers/ViewStackExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/controls/AdvancedDataGridExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/AdvancedDataGridExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/controls/AdvancedDataGridExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/controls/AdvancedDataGridExample.mxml Sat Nov 29 07:19:59 2014
@@ -16,9 +16,11 @@
limitations under the License.
-->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
@@ -45,12 +47,12 @@
</fx:Script>
<mx:Panel title="AdvancedDataGrid Control Example"
- height="75%" width="75%" layout="horizontal"
- paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:AdvancedDataGrid id="myADG"
width="100%" height="100%"
- initialize="gc.refresh();">
+ initialize="gc.refresh()">
<mx:dataProvider>
<mx:GroupingCollection2 id="gc" source="{dpFlat}">
<mx:grouping>
Modified: flex/site/trunk/content/tourdeflex/mx/controls/AdvancedDataGridExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/AdvancedDataGridExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/controls/ButtonBarExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/ButtonBarExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/controls/ButtonBarExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/controls/ButtonBarExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- Simple example to demonstrate the ButtonBar control. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.events.ItemClickEvent;
@@ -33,15 +35,16 @@
]]>
</fx:Script>
- <mx:Panel title="ButtonBar Control Example" height="75%" width="75%"
- paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
+ <mx:Panel title="ButtonBar Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Select a button in the ButtonBar control."/>
<mx:TextArea id="myTA" width="100%" height="100%"/>
- <mx:ButtonBar itemClick="clickHandler(event);">
+ <mx:ButtonBar itemClick="clickHandler(event)">
<mx:dataProvider>
<fx:Array>
<fx:String>Flex SDK</fx:String>
Modified: flex/site/trunk/content/tourdeflex/mx/controls/ButtonBarExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/ButtonBarExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/controls/ButtonExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/ButtonExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/controls/ButtonExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/controls/ButtonExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- Simple example to demonstrate the Button control. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import flash.events.Event;
@@ -33,27 +35,27 @@
]]>
</fx:Script>
- <mx:Panel title="Button Control Example"
- height="75%" width="75%" layout="horizontal"
- paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
-
- <mx:VBox>
- <mx:Label width="100%" color="blue"
+ <mx:Panel title="Button Control Example" layout="horizontal"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
+
+ <mx:VBox>
+ <mx:Label width="100%"
text="Select a Button control."/>
<!-- The button can contain an image, as in the "Button with Icon" button -->
<!-- The button can contain an image, as in the "Button with Icon" button -->
<mx:Button id="iconButton" icon="@Embed('assets/ApacheFlexIcon.png')" label="Button with Icon"
- paddingLeft="12" paddingRight="18" labelPlacement="right" color="#993300" click="printMessage(event);"/>
+ paddingLeft="12" paddingRight="18" labelPlacement="right" color="#993300" click="printMessage(event)"/>
<!-- The size of the button and the label attributes can be customized -->
<mx:Button label="Customized Button" color="#993300" toggle="true" selected="true"
textAlign="left" fontStyle="italic" fontSize="13" width="{iconButton.width}"
- click="printMessage(event);"/>
+ click="printMessage(event)"/>
<!-- By default, the look and feel of the customized button is
similar to the Default Button. -->
- <mx:Button label="Default Button" click="printMessage(event);"/>
+ <mx:Button label="Default Button" click="printMessage(event)"/>
</mx:VBox>
<mx:TextArea id="message" text="" editable="false" height="100%" width="100%"
Modified: flex/site/trunk/content/tourdeflex/mx/controls/ButtonExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/ButtonExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/controls/CheckBoxExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/CheckBoxExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/controls/CheckBoxExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/controls/CheckBoxExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,9 +17,11 @@
-->
<!-- Simple example to demonstrate the CheckBox control -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <fx:Script>
+ <fx:Script>
<![CDATA[
import mx.controls.Alert;
@@ -55,9 +57,9 @@
]]>
</fx:Script>
- <mx:Panel title="CheckBox Control Example"
- height="75%" width="75%" layout="horizontal"
- paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+ <mx:Panel title="CheckBox Control Example" layout="horizontal"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
<mx:VBox>
<mx:CheckBox id="milkCB" label="milk" click="modifyCart()"/>
@@ -70,7 +72,7 @@
<mx:TextArea id="cartItems" width="300" height="50" verticalScrollPolicy="off"/>
<!-- Event handler sendMessages() is used to handle event click -->
<mx:CheckBox id="couponCB" label="Send me coupons for items in my cart"
- click="sendMessage()" selected="true" color="blue"/>
+ click="sendMessage()" selected="true"/>
</mx:VBox>
</mx:Panel>
</mx:Application>
\ No newline at end of file
Modified: flex/site/trunk/content/tourdeflex/mx/controls/CheckBoxExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/CheckBoxExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.
Modified: flex/site/trunk/content/tourdeflex/mx/controls/ColorPickerExample.mxml
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/ColorPickerExample.mxml?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
--- flex/site/trunk/content/tourdeflex/mx/controls/ColorPickerExample.mxml (original)
+++ flex/site/trunk/content/tourdeflex/mx/controls/ColorPickerExample.mxml Sat Nov 29 07:19:59 2014
@@ -17,16 +17,19 @@
-->
<!-- Simple example to demonstrate the ColorPicker control. -->
-<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx">
+<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx"
+ paddingBottom="0" paddingTop="0" paddingLeft="0" paddingRight="0"
+ height="100%" width="100%">
- <mx:Panel title="ColorPicker Control Example" height="75%" width="75%"
- paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
+ <mx:Panel title="ColorPicker Control Example"
+ paddingBottom="10" paddingTop="10" paddingLeft="10" paddingRight="10"
+ height="100%" width="100%">
- <mx:Label width="100%" color="blue"
+ <mx:Label width="100%"
text="Select the background color of the VBox container."/>
<mx:ColorPicker id="cp" showTextField="true" selectedColor="0xFFFFFF"/>
<mx:VBox width="100%" height="100%" backgroundColor="{cp.selectedColor}" borderStyle="solid"/>
- <mx:Label color="blue" text="selectedColor: 0x{cp.selectedColor.toString(16)}"/>
+ <mx:Label text="selectedColor: 0x{cp.selectedColor.toString(16)}"/>
</mx:Panel>
</mx:Application>
Modified: flex/site/trunk/content/tourdeflex/mx/controls/ColorPickerExample.swf
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/tourdeflex/mx/controls/ColorPickerExample.swf?rev=1642397&r1=1642396&r2=1642397&view=diff
==============================================================================
Binary files - no diff available.