flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [1/3] - Updated the project to be buildable with flexmojos 7.0.0 (Not intended on being merged back, but might be useful for others as the original had to be setup first)
Date Wed, 06 Aug 2014 13:38:25 GMT
Repository: flex-examples
Updated Branches:
  refs/heads/flexmojos-build [created] bc1ad7660


http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/CheckboxView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/CheckboxView.mxml b/tourdeflexmobile/src/main/flex/UIViews/CheckboxView.mxml
new file mode 100644
index 0000000..0b90bc0
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/CheckboxView.mxml
@@ -0,0 +1,68 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="CheckBox">
+	
+	<fx:Script>
+		<![CDATA[
+			protected function checkboxHandler(event:Event):void
+			{
+				label.text = event.target.label + " toggled: " + event.target.selected as String;
+			}
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+	</fx:Declarations>
+	
+	<s:VGroup includeIn="DemoState" horizontalCenter="0" y="20">
+		<s:CheckBox change="checkboxHandler(event)" label="CheckBox 1" />
+		<s:CheckBox change="checkboxHandler(event)" label="CheckBox 2" />
+		<s:CheckBox change="checkboxHandler(event)" label="CheckBox 3" />
+	</s:VGroup>
+	
+	<s:Label includeIn="DemoState" id="label" horizontalCenter="0" bottom="20" textAlign="center"/>
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="The CheckBox component consists of an optional label and a small box that can contain a check mark or not.
+				&#xd; &#xd;When a user clicks a CheckBox component or its associated text, the CheckBox component sets its selected property to true for checked, and to false for unchecked.
+				
+				&#xd; &#xd;To use this component in a list-based component, such as a List or DataGrid, create an item renderer. For information about creating an item renderer, see Custom Spark item renderers."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+	
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/DateSpinnerView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/DateSpinnerView.mxml b/tourdeflexmobile/src/main/flex/UIViews/DateSpinnerView.mxml
new file mode 100644
index 0000000..80a435a
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/DateSpinnerView.mxml
@@ -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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="DateSpinnerView">
+	<fx:Script>
+		<![CDATA[
+			import spark.skins.mobile.TextAreaSkin;
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+	</fx:Declarations>
+	
+	<s:DateSpinner includeIn="DemoState" displayMode="dateAndTime" verticalCenter="0" horizontalCenter="0"/>
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="The DateSpinner control presents an interface for picking a particular date or time.
+				&#xd;&#xd;The DateSpinner control can display the date, the time, or the date and time, based on the value of the displayMode property.
+				
+				&#xd;&#xd;The UI for the control is made up of a series of SpinnerList controls wrapped inside a SpinnerListContainer that show the currently-selected date. Through touch or mouse interaction, users can adjust the selected date.
+				
+				&#xd;&#xd;The DateSpinnerSkin only defines some sizing properties. To change the appearance of the DateSpinner control, you typically reskin the underlying SpinnerListSkin or SpinnerListContainerSkin."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/ListView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/ListView.mxml b/tourdeflexmobile/src/main/flex/UIViews/ListView.mxml
new file mode 100644
index 0000000..d525f68
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/ListView.mxml
@@ -0,0 +1,85 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="List">
+	
+	<fx:Script>
+		<![CDATA[
+			import spark.skins.mobile.TextAreaSkin;
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+	</fx:Declarations>
+	
+	<s:List includeIn="DemoState" width="100%" height="100%">
+		<s:ArrayList>
+			<fx:Object label="Item 1"/>
+			<fx:Object label="Item 2"/>
+			<fx:Object label="Item 3"/>
+			<fx:Object label="Item 4"/>
+			<fx:Object label="Item 5"/>
+			<fx:Object label="Item 6"/>
+			<fx:Object label="Item 7"/>
+			<fx:Object label="Item 8"/>
+			<fx:Object label="Item 9"/>
+			<fx:Object label="Item 10"/>
+			<fx:Object label="Item 11"/>
+			<fx:Object label="Item 12"/>
+			<fx:Object label="Item 13"/>
+			<fx:Object label="Item 14"/>
+			<fx:Object label="Item 15"/>
+			<fx:Object label="Item 16"/>
+			<fx:Object label="Item 17"/>
+			<fx:Object label="Item 18"/>
+			<fx:Object label="Item 19"/>
+			<fx:Object label="Item 20"/>
+			<fx:Object label="Item 21"/>
+			<fx:Object label="Item 22"/>
+			<fx:Object label="Item 23"/>
+		</s:ArrayList>
+	</s:List>
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="The List control displays a vertical list of items. Its functionality is similar to that of the SELECT form element in HTML. If there are more items than can be displayed at once, it can display a vertical scroll bar so the user can access all items in the list. An optional horizontal scroll bar lets the user view items when the full width of the list items is unlikely to fit. The user can select one or more items from the list, depending on the value of the allowMultipleSelection property.
+				&#xd;&#xd;Note: The Spark list-based controls (the Spark ListBase class and its subclasses such as ButtonBar, ComboBox, DropDownList, List, and TabBar) do not support the BasicLayout class as the value of the layout property. Do not use BasicLayout with the Spark list-based controls. When a layout is specified, the layout's typicalLayoutElement property should not be set; it's automatically set to an item renderer created with the List's typicalItem.
+				
+				&#xd;&#xd;To use this component in a list-based component, such as a List or DataGrid, create an item renderer. For information about creating an item renderer, see Custom Spark item renderers."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/MobileGridView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/MobileGridView.mxml b/tourdeflexmobile/src/main/flex/UIViews/MobileGridView.mxml
new file mode 100644
index 0000000..8ad7264
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/MobileGridView.mxml
@@ -0,0 +1,106 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="MobileGrid" xmlns:ns="http://flex.apache.org/experimental/ns">
+	<fx:Script>
+		<![CDATA[
+			import spark.skins.mobile.TextAreaSkin;
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+	</fx:Declarations>
+	
+	<ns:MobileGrid includeIn="DemoState" width="100%" height="100%">
+		<ns:columns>
+			<ns:MobileGridColumn width="33%" headerText="Column 1" dataField="label"/>
+			<ns:MobileGridColumn width="33%" headerText="Column 2" dataField="label"/>
+			<ns:MobileGridColumn width="33%" headerText="Column 3" dataField="label"/>
+		</ns:columns>
+		<s:ArrayList>
+			<fx:Object label="Item 1"/>
+			<fx:Object label="Item 2"/>
+			<fx:Object label="Item 3"/>
+			<fx:Object label="Item 4"/>
+			<fx:Object label="Item 5"/>
+			<fx:Object label="Item 6"/>
+			<fx:Object label="Item 7"/>
+			<fx:Object label="Item 8"/>
+			<fx:Object label="Item 9"/>
+			<fx:Object label="Item 10"/>
+			<fx:Object label="Item 11"/>
+			<fx:Object label="Item 12"/>
+			<fx:Object label="Item 13"/>
+			<fx:Object label="Item 14"/>
+			<fx:Object label="Item 15"/>
+			<fx:Object label="Item 16"/>
+			<fx:Object label="Item 17"/>
+			<fx:Object label="Item 18"/>
+			<fx:Object label="Item 19"/>
+			<fx:Object label="Item 20"/>
+			<fx:Object label="Item 21"/>
+			<fx:Object label="Item 22"/>
+			<fx:Object label="Item 23"/>
+		</s:ArrayList>
+	</ns:MobileGrid>
+	
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="The MobileGrid displays a collection of items in a grid of rows and columns and column headers and is optimized for speed on mobile devices.
+				&#xd;&#xd;The MobileGrid component provides the following features:
+				
+				&#xd;&#xd;user can swipe through the rows in the datagrid.
+				&#xd;&#xd;supports single selection of a row.
+				&#xd;&#xd;rows can be sorted according to a given column by clicking on the column's header.
+				&#xd;&#xd;cells can be displayed as text in different fonts and formats, as images, or using a custom renderer.
+				&#xd;&#xd;default skin uses dark shades of gray, and is available in different screen densities.
+				&#xd;&#xd;It's important to understand that MobileGrid does not have all the capabilities and flexibility of it's desktop equivalent, in order to ensure optimal display and scrolling performance on mobile devices.
+				
+				&#xd;&#xd;Typically, the following features are not available in MobileGrid:
+				
+				&#xd;&#xd;multiple selection is not supported
+				&#xd;&#xd;it's not possible to interactively reorder columns
+				&#xd;&#xd;MobileGrid does not scroll horizontally, even when the column widths exceeds the component's width.
+				&#xd;&#xd;custom cell renderers must be designed with care, preferably in ActionScript, to ensure good display performance
+				&#xd;&#xd;Internally, MobileGrid inherits for Mobile spark.List component rather than any Grid or DataGrid, which means that all cell renderers in a single row are managed by one single MobileGridRowRenderer that delegates the individual cell renderers to light-weight sub-renderers.
+				
+				&#xd;&#xd;You usually don't access this internal row renderer yourself, and will rather define the individual cell renderers.
+				
+				&#xd;&#xd;This technique ensures optimal display and memory performance, which is critical for mobile devices, at the price of less flexibility for cell renderers."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/RadiobuttonView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/RadiobuttonView.mxml b/tourdeflexmobile/src/main/flex/UIViews/RadiobuttonView.mxml
new file mode 100644
index 0000000..7ab06c5
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/RadiobuttonView.mxml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="RadioButton">
+	
+	<fx:Script>
+		<![CDATA[
+			import spark.skins.mobile.TextAreaSkin;
+			protected function radiobuttonHandler(event:Event):void
+			{
+				label.text = event.target.label + " Selected.";
+			}
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+
+		<s:RadioButtonGroup id="radiogroup1"/>
+	</fx:Declarations>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+
+	<s:VGroup includeIn="DemoState" horizontalCenter="0" y="20">
+		<s:RadioButton change="radiobuttonHandler(event)" label="RadioButton 1" groupName="radiogroup1"/>
+		<s:RadioButton change="radiobuttonHandler(event)" label="RadioButton 2" groupName="radiogroup1"/>
+		<s:RadioButton change="radiobuttonHandler(event)" label="RadioButton 3" groupName="radiogroup1"/>
+	</s:VGroup>
+	
+	<s:Label id="label" horizontalCenter="0" textAlign="center" bottom="20"/>
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="The RadioButton component allows the user make a single choice within a set of mutually exclusive choices. A RadioButtonGroup is composed of two or more RadioButton components with the same groupName property. While grouping RadioButton instances in a RadioButtonGroup is optional, a group lets you do things like set a single event handler on a group of RadioButtons, rather than on each individual RadioButton.
+				&#xd;&#xd;The RadioButton group can refer to the a group created by the RadioButtonGroup tag. The user selects only one member of the group at a time. Selecting an unselected group member deselects the currently selected RadioButton component within that group.
+																		  
+				&#xd;&#xd; To use this component in a list-based component, such as a List or DataGrid, create an item renderer. For information about creating an item renderer, see Custom Spark item renderers."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/SpinnerListView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/SpinnerListView.mxml b/tourdeflexmobile/src/main/flex/UIViews/SpinnerListView.mxml
new file mode 100644
index 0000000..293fc22
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/SpinnerListView.mxml
@@ -0,0 +1,116 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="SpinnerList">
+	<fx:Script>
+		<![CDATA[
+			import spark.events.IndexChangeEvent;
+			import spark.skins.mobile.TextAreaSkin;
+			
+			protected function spinnerListHandler(event:IndexChangeEvent):void
+			{
+				label.text = spinnerList1.selectedItem.label + " " + spinnerList2.selectedItem.label;
+			}
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+	</fx:Declarations>
+	
+	<s:SpinnerListContainer includeIn="DemoState" width="100%">
+		<s:SpinnerList id="spinnerList1" change="spinnerListHandler(event)" width="50%" height="150">
+			<s:ArrayCollection>
+				<fx:Object label="Item A 1"/>
+				<fx:Object label="Item A 2"/>
+				<fx:Object label="Item A 3"/>
+				<fx:Object label="Item A 4"/>
+				<fx:Object label="Item A 5"/>
+				<fx:Object label="Item A 6"/>
+				<fx:Object label="Item A 7"/>
+				<fx:Object label="Item A 8"/>
+				<fx:Object label="Item A 9"/>
+				<fx:Object label="Item A 10"/>
+				<fx:Object label="Item A 11"/>
+				<fx:Object label="Item A 12"/>
+				<fx:Object label="Item A 13"/>
+				<fx:Object label="Item A 14"/>
+				<fx:Object label="Item A 15"/>
+				<fx:Object label="Item A 16"/>
+				<fx:Object label="Item A 17"/>
+				<fx:Object label="Item A 18"/>
+				<fx:Object label="Item A 19"/>
+				<fx:Object label="Item A 20"/>
+			</s:ArrayCollection>
+		</s:SpinnerList>
+		
+		<s:SpinnerList id="spinnerList2" change="spinnerListHandler(event)" width="50%" height="150">
+			<s:ArrayCollection>
+				<fx:Object label="Item B 1"/>
+				<fx:Object label="Item B 2"/>
+				<fx:Object label="Item B 3"/>
+				<fx:Object label="Item B 4"/>
+				<fx:Object label="Item B 5"/>
+				<fx:Object label="Item B 6"/>
+				<fx:Object label="Item B 7"/>
+				<fx:Object label="Item B 8"/>
+				<fx:Object label="Item B 9"/>
+				<fx:Object label="Item B 10"/>
+				<fx:Object label="Item B 11"/>
+				<fx:Object label="Item B 12"/>
+				<fx:Object label="Item B 13"/>
+				<fx:Object label="Item B 14"/>
+				<fx:Object label="Item B 15"/>
+				<fx:Object label="Item B 16"/>
+				<fx:Object label="Item B 17"/>
+				<fx:Object label="Item B 18"/>
+				<fx:Object label="Item B 19"/>
+				<fx:Object label="Item B 20"/>
+			</s:ArrayCollection>
+		</s:SpinnerList>
+	</s:SpinnerListContainer>
+	
+	
+	<s:Label id="label" horizontalCenter="0" textAlign="center" bottom="20"/>
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="The SpinnerList component displays a list of items. The item in the center of the list is always the selectedItem. By default, the list wraps around.
+				&#xd;&#xd;You can have multiple SpinnerList controls arranged horizontally within a single border by wrapping then in a SpinnerListContainer."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/TextInputView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/TextInputView.mxml b/tourdeflexmobile/src/main/flex/UIViews/TextInputView.mxml
new file mode 100644
index 0000000..7fb6436
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/TextInputView.mxml
@@ -0,0 +1,87 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="TextInput">
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			
+			import spark.skins.mobile.TextAreaSkin;
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+			
+			private function submitText():void
+			{
+				label.text = textInput.text;
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+	</fx:Declarations>
+	
+	<s:TextInput includeIn="DemoState" id="textInput" skinClass="spark.skins.mobile.TextInputSkin" prompt="Type Here and Tap Enter" left="5" right="5" top="5" height="40" enter="submitText()" />
+	
+	<s:Label includeIn="DemoState" id="label" horizontalCenter="0" y="60" textAlign="center"/>
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="TextInput is a text-entry control that lets users enter and edit a single line of uniformly-formatted text.
+				&#xd; &#xd;The TextInput skin for the Spark theme uses the RichEditableText class. This means that the Spark TextInput control supports the Text Layout Framework (TLF) library, which builds on the Flash Text Engine (FTE). In combination, these layers provide text editing with high-quality international typography and layout.
+				
+				&#xd; &#xd;The TextInput skin for the mobile theme uses the StyleableStageText class instead of RichEditableText. Since StyleableStageText uses native text fields it allows for better text entry and manipulation experiences on mobile devices however there are limitations and differences that you should consider. The native text controls used by StageText apply different paddings around text. In order to avoid vertical scrolling, the StageText-based TextInput skin attempts to estimate this padding and compensate for that. Because of this and other differences in how native text controls treat text, the default height of the TextInput control using StageText-based skin will differ from its default height using the the TextField-based TextInput skin.
+				
+				&#xd; &#xd;You can set the text to be displayed, or get the text that the user has entered, using the text property. This property is a String, so if the user enter a numeric value it will be reported, for example, as 123.45 rather than 123.45.
+				
+				&#xd; &#xd;The text is formatted using CSS styles such as fontFamily and fontSize.
+				
+				&#xd; &#xd;For the Spark theme you can specify the width of the control using the widthInChars property which provides a convenient way to specify the width in a way that scales with the font size or you can use the typicalText property. Note that if you use typicalText, the widthInChars property is ignored. For all themes, you can also specify an explicit width in pixels, a percent width, or use constraints such as left and right. You do not normally do anything to specify the height; the control's default height is sufficient to display one line of text.
+				
+				&#xd; &#xd;You can use the maxChars property to limit the number of character that the user can enter, and the restrict to limit which characters the user can enter. To use this control for password input, set the displayAsPassword property to true.
+				
+				&#xd; &#xd;For the mobile theme, the soft-keyboard-specific properties, autoCapitalize, autoCorrect, returnKeyLabel and softKeyboardType properties specify keyboard hints. If a soft-keyboard is present but does not support a feature represented by the hint, the hint is ignored. In mobile environments with only hardware keyboards, these hints are ignored.
+				
+				&#xd; &#xd;This control dispatches a FlexEvent.ENTER event when the user pressed the Enter key rather than inserting a line break, because this control does not support entering multiple lines of text. By default, this control has explicit line breaks.
+				
+				&#xd; &#xd;	This control is a skinnable control whose default skin contains either a RichEditableText instance for the Spark theme or a StyleableStageText instance for the Mobile theme. It handles displaying and editing the text. (The skin also handles drawing the border and background.) This RichEditableText or StyleableStageText instance can be accessed as the textDisplay object. For the mobile theme, if you wish to use the TextField-based skin, rather than the StageText-based skin, set the skinClass property to spark.skins.mobile.TextInputSkin.
+																																																																																																																																			 
+				&#xd; &#xd; For the Spark theme, as a result of its RichEditableText using TLF, the Spark TextInput control supports displaying left-to-right (LTR) text, such as French, right-to-left (RTL) text, such as Arabic, and bidirectional text such as a French phrase inside of an Arabic one. If the predominant text direction is right-to-left, set the direction style to rtl. The textAlign style defaults to start, which makes the text left-aligned when direction is ltr and right-aligned when direction is rtl. To get the opposite alignment, set textAlign to end.
+																																																																																																																																			 
+				&#xd; &#xd; Also as a result of using TLF, the Spark TextInput supports unlimited undo/redo within one editing session. An editing session starts when the control gets keyboard focus and ends when the control loses focus.
+																																																																																																																																			 
+				&#xd; &#xd;To use this component in a list-based component, such as a List or DataGrid, create an item renderer. For information about creating an item renderer, see Custom Spark item renderers."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/UIViews/ToggleSwitchView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/UIViews/ToggleSwitchView.mxml b/tourdeflexmobile/src/main/flex/UIViews/ToggleSwitchView.mxml
new file mode 100644
index 0000000..6cf8a9b
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/UIViews/ToggleSwitchView.mxml
@@ -0,0 +1,58 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="ToggleSwitch">
+	
+	<fx:Script>
+		<![CDATA[
+
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+	</fx:Declarations>
+	
+	<s:ToggleSwitch includeIn="DemoState" horizontalCenter="0" y="20" />
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="The Spark ToggleSwitch control defines a binary switch that can be in the selected or unselected position. The ToggleSwitch consists of a thumb skin part that moves between the two ends of the track skin part, similar to the Spark Slider control.
+				The ToggleSwitch control has two positions: selected and unselected. By default, the label OFF corresponds to the unselected position and ON corresponds to the selected position.
+				&#xd; &#xd;Clicking anywhere in the control toggles the position. You can also slide the thumb along the track to change position. When you release the thumb, it moves to the position, selected or unselected, that is closest to the thumb location.
+				&#xd; &#xd;The ToggleSwitch control uses the following default values for the unselected and selected labels: OFF (unselected) and ON (selected). Define a custom skin to change the labels, or to change other visual characteristics of the control."/>
+				
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/renderers/MenuRenderer.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/renderers/MenuRenderer.mxml b/tourdeflexmobile/src/main/flex/renderers/MenuRenderer.mxml
new file mode 100644
index 0000000..6b79d77
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/renderers/MenuRenderer.mxml
@@ -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.
+
+-->
+<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
+				xmlns:s="library://ns.adobe.com/flex/spark" 
+				height="40" width="100%" cacheAsBitmap="false">
+
+	<fx:Script>
+		<![CDATA[
+			
+			override public function set data(value:Object):void{
+				super.data = value;
+				
+				if(data){
+					
+					if(data.type == "view"){
+						autoDrawBackground = true;
+						currentState = "ViewState";		
+					} else if(data.type == "separator"){
+						autoDrawBackground = false;
+						opaqueBackground = 0x464646;
+						currentState = "SeparatorState";
+					} else {
+						autoDrawBackground = true;
+						currentState = "ViewState";	
+					}
+					
+					itemLabel.text = data.label;
+					
+				}
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="ViewState"/>
+		<s:State name="SeparatorState"/>
+	</s:states>
+	
+	<s:Label id="itemLabel"  color.SeparatorState="#888888" color.ViewState="#FFFFFF" x="10" verticalCenter="0"/>
+	
+</s:ItemRenderer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/styles.css
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/styles.css b/tourdeflexmobile/src/main/flex/styles.css
new file mode 100644
index 0000000..3459839
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/styles.css
@@ -0,0 +1,66 @@
+/*///////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////*/
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+
+
+s|ActionBar
+{
+	chromeColor: #303030;
+}
+
+s|View
+{
+	backgroundColor: #464646;
+}
+
+s|Application
+{
+	backgroundColor: #464646;
+}
+
+s|List
+{
+	alternatingItemColors: #303030;
+	selectionColor: #000000;
+	downColor: #FA5B0F;
+	contentBackgroundColor: #464646;
+	color: #FFFFFF;
+}
+
+s|TextArea
+{
+	color: #FFFFFF;
+	contentBackgroundColor: #303030;
+}
+
+s|CheckBox
+{
+	color: #FFFFFF;	
+}
+
+s|RadioButton
+{
+	color: #FFFFFF;	
+}
+
+s|Label
+{
+	color: #FFFFFF;
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/views/BlogView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/views/BlogView.mxml b/tourdeflexmobile/src/main/flex/views/BlogView.mxml
new file mode 100644
index 0000000..c0e0ce3
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/views/BlogView.mxml
@@ -0,0 +1,52 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="Apache Flex Blog" viewActivate="init(event)">
+	<fx:Script>
+		<![CDATA[
+			import mx.rpc.events.ResultEvent;
+			
+			import spark.components.supportClasses.StyleableTextField;
+			import spark.events.ViewNavigatorEvent;
+			
+			protected function init(event:ViewNavigatorEvent):void
+			{
+				newsService.send();
+			}
+			
+			protected function resultHandler(event:ResultEvent):void
+			{
+				for(var i:uint = 0; i<=event.result.channel.item.length()-1; i++){
+					StyleableTextField(textArea.textDisplay).htmlText += "<b>" + event.result.channel.item[i].title + "</b>" + "\n" + "<i>" + event.result.channel.item[i].pubDate + "</i>" + "\n\n" + event.result.channel.item[i].description + "\n\n";
+				}
+				
+				textArea.text += " ";
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:HTTPService id="newsService" url="https://blogs.apache.org/flex/feed/entries/rss" resultFormat="e4x" result="resultHandler(event)"/>
+	</fx:Declarations>
+	
+	<s:TextArea id="textArea" selectable="false" editable="false" skinClass="spark.skins.mobile.TextAreaSkin" left="5" right="5" top="5" bottom="5"/>
+
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/flex/views/HttpServiceView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/flex/views/HttpServiceView.mxml b/tourdeflexmobile/src/main/flex/views/HttpServiceView.mxml
new file mode 100644
index 0000000..cca3c51
--- /dev/null
+++ b/tourdeflexmobile/src/main/flex/views/HttpServiceView.mxml
@@ -0,0 +1,76 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark" title="HTTPService">
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.XMLListCollection;
+			import mx.rpc.events.ResultEvent;
+			
+			import spark.skins.mobile.TextAreaSkin;
+			
+			protected function loadRSS():void
+			{
+				if(textInput.text != ""){
+					rssService.url = textInput.text;
+					rssService.send();
+				}
+			}
+			
+			protected function rssResult(event:ResultEvent):void
+			{
+				itemsList.dataProvider = new XMLListCollection(new XMLList(event.result.channel.item));
+			}
+			
+			protected function buttonHandler(event:MouseEvent):void
+			{
+				if(currentState == "DemoState"){
+					currentState = "InfoState";				
+				}else if(currentState == "InfoState"){
+					currentState = "DemoState";
+				}
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<s:states>
+		<s:State name="DemoState"/>
+		<s:State name="InfoState"/>
+	</s:states>
+	
+	<fx:Declarations>
+		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('/assets/icons/160/about.png')" source240dpi="@Embed('/assets/icons/240/about.png')" source320dpi="@Embed('/assets/icons/320/about.png')"/>
+		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('/assets/icons/160/dock.png')" source240dpi="@Embed('/assets/icons/240/dock.png')" source320dpi="@Embed('/assets/icons/320/dock.png')"/>
+		<s:HTTPService id="rssService" resultFormat="e4x" result="rssResult(event)"/>
+	</fx:Declarations>
+	
+	<s:TextInput id="textInput" text="https://blogs.apache.org/flex/feed/entries/rss" prompt="Type any RSS 2.0 valid URL" skinClass="spark.skins.mobile.TextInputSkin" includeIn="DemoState" enter="loadRSS()" y="10" left="5" right="70" height="40"/>
+	<s:Button label="Load" y="10" includeIn="DemoState" width="60" height="40" right="5" click="loadRSS()"/>
+	
+	<s:List id="itemsList" labelField="title" includeIn="DemoState" width="100%" bottom="0" top="60"/>
+	
+	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="You use the HTTPService tag to represent an HTTPService object in an MXML file. When you call the HTTPService object's send() method, it makes an HTTP request to the specified URL, and an HTTP response is returned. Optionally, you can pass parameters to the specified URL. When you do not go through the server-based proxy service, you can use only HTTP GET or POST methods. However, when you set the useProxy property to true and you use the server-based proxy service, you can also use the HTTP HEAD, OPTIONS, TRACE, and DELETE methods.
+				&#xd; &#xd;Note: Due to a software limitation, HTTPService does not generate user-friendly error messages when using GET."/>
+	
+	<s:actionContent>
+		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
+	</s:actionContent>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/TourDeFlexMobile-app.xml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/TourDeFlexMobile-app.xml b/tourdeflexmobile/src/main/resources/TourDeFlexMobile-app.xml
new file mode 100644
index 0000000..98afb72
--- /dev/null
+++ b/tourdeflexmobile/src/main/resources/TourDeFlexMobile-app.xml
@@ -0,0 +1,313 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+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.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/3.9">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+	Specifies parameters for identifying, installing, and launching AIR applications.
+
+	xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/3.5
+			The last segment of the namespace specifies the version 
+			of the AIR runtime required for this application to run.
+			
+	minimumPatchLevel - The minimum patch level of the AIR runtime required to run 
+			the application. Optional.
+-->
+
+	<!-- A universally unique application identifier. Must be unique across all AIR applications.
+	Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+	<id>TourDeFlexMobile</id>
+
+	<!-- Used as the filename for the application. Required. -->
+	<filename>TourDeFlexMobile</filename>
+
+	<!-- The name that is displayed in the AIR application installer. 
+	May have multiple values for each language. See samples or xsd schema file. Optional. -->
+	<name>TourDeFlexMobile</name>
+	
+	<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade. 
+	Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+	An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
+	<versionNumber>0.0.0</versionNumber>
+		         
+	<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
+	<!-- <versionLabel></versionLabel> -->
+
+	<!-- Description, displayed in the AIR application installer.
+	May have multiple values for each language. See samples or xsd schema file. Optional. -->
+	<!-- <description></description> -->
+
+	<!-- Copyright information. Optional -->
+	<!-- <copyright></copyright> -->
+
+	<!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+	<!-- <publisherID></publisherID> -->
+
+	<!-- Settings for the application's initial window. Required. -->
+	<initialWindow>
+		<!-- The main SWF or HTML file of the application. Required. -->
+		<!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+		<content>${output}</content>
+		
+		<!-- The title of the main window. Optional. -->
+		<!-- <title></title> -->
+
+		<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+		<!-- <systemChrome></systemChrome> -->
+
+		<!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+		<!-- <transparent></transparent> -->
+
+		<!-- Whether the window is initially visible. Optional. Default false. -->
+		<!-- <visible></visible> -->
+
+		<!-- Whether the user can minimize the window. Optional. Default true. -->
+		<!-- <minimizable></minimizable> -->
+
+		<!-- Whether the user can maximize the window. Optional. Default true. -->
+		<!-- <maximizable></maximizable> -->
+
+		<!-- Whether the user can resize the window. Optional. Default true. -->
+		<!-- <resizable></resizable> -->
+
+		<!-- The window's initial width in pixels. Optional. -->
+		<!-- <width></width> -->
+
+		<!-- The window's initial height in pixels. Optional. -->
+		<!-- <height></height> -->
+
+		<!-- The window's initial x position. Optional. -->
+		<!-- <x></x> -->
+
+		<!-- The window's initial y position. Optional. -->
+		<!-- <y></y> -->
+
+		<!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+		<!-- <minSize></minSize> -->
+
+		<!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+		<!-- <maxSize></maxSize> -->
+
+        <!-- The aspect ratio of the app ("portrait" or "landscape" or "any"). Optional. Mobile only. Default is the natural orientation of the device -->
+
+        <!-- <aspectRatio></aspectRatio> -->
+
+        <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
+
+        <!-- <autoOrients></autoOrients> -->
+
+        <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
+
+        <!-- <fullScreen></fullScreen> -->
+
+        <!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
+
+        <!-- <renderMode></renderMode> -->
+
+        <!-- Whether the default direct mode rendering context allocates storage for depth and stencil buffers.  Optional.  Default false. -->
+        <!-- <depthAndStencil></depthAndStencil> -->
+
+		<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
+		<!-- <softKeyboardBehavior></softKeyboardBehavior> -->
+
+		<!-- Display Resolution for the app (either "standard" or "high"). Optional, OSX-only. Default "standard" -->
+		<!-- <requestedDisplayResolution></requestedDisplayResolution> -->
+	<autoOrients>true</autoOrients>
+        <fullScreen>false</fullScreen>
+        <visible>true</visible>
+        <softKeyboardBehavior>none</softKeyboardBehavior>
+    </initialWindow>
+
+	<!-- We recommend omitting the supportedProfiles element, -->
+	<!-- which in turn permits your application to be deployed to all -->
+	<!-- devices supported by AIR. If you wish to restrict deployment -->
+	<!-- (i.e., to only mobile devices) then add this element and list -->
+	<!-- only the profiles which your application does support. -->
+	<!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
+
+	<!-- Languages supported by application -->
+	<!-- Only these languages can be specified -->
+	<!-- <supportedLanguages>en de cs es fr it ja ko nl pl pt ru sv tr zh</supportedLanguages> -->
+
+	<!-- The subpath of the standard default installation location to use. Optional. -->
+	<!-- <installFolder></installFolder> -->
+
+	<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+	<!-- <programMenuFolder></programMenuFolder> -->
+
+	<!-- The icon the system uses for the application. For at least one resolution,
+	specify the path to a PNG file included in the AIR package. Optional. -->
+	<!-- <icon>
+		<image16x16></image16x16>
+		<image29x29></image29x29>
+		<image32x32></image32x32>
+		<image36x36></image36x36>
+		<image48x48></image48x48>
+		<image50x50></image50x50>
+		<image57x57></image57x57>
+		<image58x58></image58x58>
+		<image72x72></image72x72>
+		<image96x96></image96x96>
+		<image100x100></image100x100>
+		<image114x114></image114x114>
+		<image128x128></image128x128>
+		<image144x144></image144x144>
+		<image512x512></image512x512>
+		<image732x412></image732x412>
+		<image1024x1024></image1024x1024>
+	</icon> -->
+
+	<!-- Whether the application handles the update when a user double-clicks an update version
+	of the AIR file (true), or the default AIR application installer handles the update (false).
+	Optional. Default false. -->
+	<!-- <customUpdateUI></customUpdateUI> -->
+	
+	<!-- Whether the application can be launched when the user clicks a link in a web browser.
+	Optional. Default false. -->
+	<!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+	<!-- Listing of file types for which the application can register. Optional. -->
+	<!-- <fileTypes> -->
+
+		<!-- Defines one file type. Optional. -->
+		<!-- <fileType> -->
+
+			<!-- The name that the system displays for the registered file type. Required. -->
+			<!-- <name></name> -->
+
+			<!-- The extension to register. Required. -->
+			<!-- <extension></extension> -->
+			
+			<!-- The description of the file type. Optional. -->
+			<!-- <description></description> -->
+			
+			<!-- The MIME content type. -->
+			<!-- <contentType></contentType> -->
+			
+			<!-- The icon to display for the file type. Optional. -->
+			<!-- <icon>
+				<image16x16></image16x16>
+				<image32x32></image32x32>
+				<image48x48></image48x48>
+				<image128x128></image128x128>
+			</icon> -->
+			
+		<!-- </fileType> -->
+	<!-- </fileTypes> -->
+
+    <!-- iOS specific capabilities -->
+	<!-- <iPhone> -->
+		<!-- A list of plist key/value pairs to be added to the application Info.plist -->
+		<!-- <InfoAdditions>
+            <![CDATA[
+                <key>UIDeviceFamily</key>
+                <array>
+                    <string>1</string>
+                    <string>2</string>
+                </array>
+                <key>UIStatusBarStyle</key>
+                <string>UIStatusBarStyleBlackOpaque</string>
+                <key>UIRequiresPersistentWiFi</key>
+                <string>YES</string>
+            ]]>
+        </InfoAdditions> -->
+        <!-- A list of plist key/value pairs to be added to the application Entitlements.plist -->
+		<!-- <Entitlements>
+            <![CDATA[
+                <key>keychain-access-groups</key>
+                <array>
+                    <string></string>
+                    <string></string>
+                </array>
+            ]]>
+        </Entitlements> -->
+	<!-- Display Resolution for the app (either "standard" or "high"). Optional. Default "standard" -->
+	<!-- <requestedDisplayResolution></requestedDisplayResolution> -->
+	<!-- Forcing Render Mode CPU for the devices mentioned. Optional  -->
+	<!-- <forceCPURenderModeForDevices></forceCPURenderModeForDevices> -->
+	<!-- File containing line separated list of external swf paths. These swfs won't be 
+	packaged inside the application and corresponding stripped swfs will be output in 
+	externalStrippedSwfs folder. -->
+	<!-- <externalSwfs></externalSwfs> -->
+	<!-- </iPhone> -->
+
+	<!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
+    <!--<android> -->
+    <!--	<manifestAdditions>
+		<![CDATA[
+			<manifest android:installLocation="auto">
+				<uses-permission android:name="android.permission.INTERNET"/>
+				<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+				<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+				<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
+				<application android:enabled="true">
+					<activity android:excludeFromRecents="false">
+						<intent-filter>
+							<action android:name="android.intent.action.MAIN"/>
+							<category android:name="android.intent.category.LAUNCHER"/>
+						</intent-filter>
+					</activity>
+				</application>
+            </manifest>
+		]]>
+        </manifestAdditions> -->
+	    <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
+        <!-- <colorDepth></colorDepth> -->
+        <!-- Indicates if the app contains video or not. Necessary for ordering of video planes with graphics plane, especially in Jellybean - if you app does video this must be set to true - valid values are true or false -->
+        <!-- <containsVideo></containsVideo> -->
+    <!-- </android> -->
+	<!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
+
+<android>
+        <colorDepth>16bit</colorDepth>
+        <manifestAdditions><![CDATA[
+			<manifest android:installLocation="auto">
+			    <!--See the Adobe AIR documentation for more information about setting Google Android permissions-->
+			    <!--Removing the permission android.permission.INTERNET will have the side effect
+					of preventing you from debugging your application on your device-->
+			    <uses-permission android:name="android.permission.INTERNET"/>
+			    <!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>-->
+			    <!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->
+			    <!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->
+			    <!--The DISABLE_KEYGUARD and WAKE_LOCK permissions should be toggled together
+					in order to access AIR's SystemIdleMode APIs-->
+			    <!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
+			    <!--<uses-permission android:name="android.permission.WAKE_LOCK"/>-->
+			    <!--<uses-permission android:name="android.permission.CAMERA"/>-->
+			    <!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
+			    <!--The ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE permissions should be toggled
+					together in order to use AIR's NetworkInfo APIs-->
+			    <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->
+			    <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->
+			</manifest>
+			
+		]]></manifestAdditions>
+    </android>
+    <!--iPhone>
+        <InfoAdditions><![CDATA[
+			<key>UIDeviceFamily</key>
+			<array>
+				<string>1</string>
+				<string>2</string>
+			</array>
+		]]></InfoAdditions>
+        <requestedDisplayResolution>high</requestedDisplayResolution>
+    </iPhone-->
+</application>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/160/about.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/160/about.png b/tourdeflexmobile/src/main/resources/assets/icons/160/about.png
new file mode 100644
index 0000000..d7b7e69
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/160/about.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/160/add.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/160/add.png b/tourdeflexmobile/src/main/resources/assets/icons/160/add.png
new file mode 100644
index 0000000..4d5d484
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/160/add.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/160/dock.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/160/dock.png b/tourdeflexmobile/src/main/resources/assets/icons/160/dock.png
new file mode 100644
index 0000000..aa0c320
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/160/dock.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/240/about.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/240/about.png b/tourdeflexmobile/src/main/resources/assets/icons/240/about.png
new file mode 100644
index 0000000..6eaf08a
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/240/about.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/240/add.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/240/add.png b/tourdeflexmobile/src/main/resources/assets/icons/240/add.png
new file mode 100644
index 0000000..ad8ada6
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/240/add.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/240/dock.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/240/dock.png b/tourdeflexmobile/src/main/resources/assets/icons/240/dock.png
new file mode 100644
index 0000000..37f3a93
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/240/dock.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/320/about.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/320/about.png b/tourdeflexmobile/src/main/resources/assets/icons/320/about.png
new file mode 100644
index 0000000..4ee903f
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/320/about.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/320/add.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/320/add.png b/tourdeflexmobile/src/main/resources/assets/icons/320/add.png
new file mode 100644
index 0000000..23b9a1c
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/320/add.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/icons/320/dock.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/icons/320/dock.png b/tourdeflexmobile/src/main/resources/assets/icons/320/dock.png
new file mode 100644
index 0000000..a749474
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/icons/320/dock.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/images/bg.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/images/bg.png b/tourdeflexmobile/src/main/resources/assets/images/bg.png
new file mode 100644
index 0000000..e1613e5
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/images/bg.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/images/box1.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/images/box1.png b/tourdeflexmobile/src/main/resources/assets/images/box1.png
new file mode 100644
index 0000000..8c12918
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/images/box1.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/images/box2.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/images/box2.png b/tourdeflexmobile/src/main/resources/assets/images/box2.png
new file mode 100644
index 0000000..bb45969
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/images/box2.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/images/box3.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/images/box3.png b/tourdeflexmobile/src/main/resources/assets/images/box3.png
new file mode 100644
index 0000000..b5682da
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/images/box3.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/assets/images/logo.png
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/assets/images/logo.png b/tourdeflexmobile/src/main/resources/assets/images/logo.png
new file mode 100644
index 0000000..0278b81
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/assets/images/logo.png differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/main/resources/sign.p12
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/main/resources/sign.p12 b/tourdeflexmobile/src/main/resources/sign.p12
new file mode 100644
index 0000000..358989f
Binary files /dev/null and b/tourdeflexmobile/src/main/resources/sign.p12 differ

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/renderers/MenuRenderer.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/renderers/MenuRenderer.mxml b/tourdeflexmobile/src/renderers/MenuRenderer.mxml
deleted file mode 100644
index 6b79d77..0000000
--- a/tourdeflexmobile/src/renderers/MenuRenderer.mxml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?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.
-
--->
-<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
-				xmlns:s="library://ns.adobe.com/flex/spark" 
-				height="40" width="100%" cacheAsBitmap="false">
-
-	<fx:Script>
-		<![CDATA[
-			
-			override public function set data(value:Object):void{
-				super.data = value;
-				
-				if(data){
-					
-					if(data.type == "view"){
-						autoDrawBackground = true;
-						currentState = "ViewState";		
-					} else if(data.type == "separator"){
-						autoDrawBackground = false;
-						opaqueBackground = 0x464646;
-						currentState = "SeparatorState";
-					} else {
-						autoDrawBackground = true;
-						currentState = "ViewState";	
-					}
-					
-					itemLabel.text = data.label;
-					
-				}
-			}
-			
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="ViewState"/>
-		<s:State name="SeparatorState"/>
-	</s:states>
-	
-	<s:Label id="itemLabel"  color.SeparatorState="#888888" color.ViewState="#FFFFFF" x="10" verticalCenter="0"/>
-	
-</s:ItemRenderer>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/styles.css
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/styles.css b/tourdeflexmobile/src/styles.css
deleted file mode 100644
index 3459839..0000000
--- a/tourdeflexmobile/src/styles.css
+++ /dev/null
@@ -1,66 +0,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.
-//
-////////////////////////////////////////////////////////////////////////////////*/
-/* CSS file */
-@namespace s "library://ns.adobe.com/flex/spark";
-
-
-s|ActionBar
-{
-	chromeColor: #303030;
-}
-
-s|View
-{
-	backgroundColor: #464646;
-}
-
-s|Application
-{
-	backgroundColor: #464646;
-}
-
-s|List
-{
-	alternatingItemColors: #303030;
-	selectionColor: #000000;
-	downColor: #FA5B0F;
-	contentBackgroundColor: #464646;
-	color: #FFFFFF;
-}
-
-s|TextArea
-{
-	color: #FFFFFF;
-	contentBackgroundColor: #303030;
-}
-
-s|CheckBox
-{
-	color: #FFFFFF;	
-}
-
-s|RadioButton
-{
-	color: #FFFFFF;	
-}
-
-s|Label
-{
-	color: #FFFFFF;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/views/BlogView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/views/BlogView.mxml b/tourdeflexmobile/src/views/BlogView.mxml
deleted file mode 100644
index 6e9f5b3..0000000
--- a/tourdeflexmobile/src/views/BlogView.mxml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?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.
-
--->
-<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
-		xmlns:s="library://ns.adobe.com/flex/spark" title="Apache Flex Blog" viewActivate="init(event)">
-	<fx:Script>
-		<![CDATA[
-			import mx.rpc.events.ResultEvent;
-			
-			import spark.components.supportClasses.StyleableTextField;
-			import spark.events.ViewNavigatorEvent;
-			
-			protected function init(event:ViewNavigatorEvent):void
-			{
-				newsService.send();
-			}
-			
-			protected function resultHandler(event:ResultEvent):void
-			{
-				for(var i:uint = 0; i<=event.result.channel.item.length()-1; i++){
-					StyleableTextField(textArea.textDisplay).htmlText += "<b>" + event.result.channel.item[i].title + "</b>" + "\n" + "<i>" + event.result.channel.item[i].pubDate + "</i>" + "\n\n" + event.result.channel.item[i].description + "\n\n";
-				}
-				
-				textArea.text += " ";
-			}
-			
-		]]>
-	</fx:Script>
-	
-	<fx:Declarations>
-		<s:HTTPService id="newsService" url="https://blogs.apache.org/flex/feed/entries/rss" resultFormat="e4x" result="resultHandler(event)"/>
-	</fx:Declarations>
-	
-	<s:TextArea id="textArea" selectable="false" editable="false" skinClass="spark.skins.mobile.TextAreaSkin" left="5" right="5" top="5" bottom="5"/>
-	
-</s:View>

http://git-wip-us.apache.org/repos/asf/flex-examples/blob/bc1ad766/tourdeflexmobile/src/views/HttpServiceView.mxml
----------------------------------------------------------------------
diff --git a/tourdeflexmobile/src/views/HttpServiceView.mxml b/tourdeflexmobile/src/views/HttpServiceView.mxml
deleted file mode 100644
index 373cd85..0000000
--- a/tourdeflexmobile/src/views/HttpServiceView.mxml
+++ /dev/null
@@ -1,76 +0,0 @@
-<?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.
-
--->
-<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
-		xmlns:s="library://ns.adobe.com/flex/spark" title="HTTPService">
-	<fx:Script>
-		<![CDATA[
-			import mx.collections.XMLListCollection;
-			import mx.rpc.events.ResultEvent;
-			
-			import spark.skins.mobile.TextAreaSkin;
-			
-			protected function loadRSS():void
-			{
-				if(textInput.text != ""){
-					rssService.url = textInput.text;
-					rssService.send();
-				}
-			}
-			
-			protected function rssResult(event:ResultEvent):void
-			{
-				itemsList.dataProvider = new XMLListCollection(new XMLList(event.result.channel.item));
-			}
-			
-			protected function buttonHandler(event:MouseEvent):void
-			{
-				if(currentState == "DemoState"){
-					currentState = "InfoState";				
-				}else if(currentState == "InfoState"){
-					currentState = "DemoState";
-				}
-			}
-			
-		]]>
-	</fx:Script>
-	
-	<s:states>
-		<s:State name="DemoState"/>
-		<s:State name="InfoState"/>
-	</s:states>
-	
-	<fx:Declarations>
-		<s:MultiDPIBitmapSource id="aboutIcon" source160dpi="@Embed('assets/icons/160/about.png')" source240dpi="@Embed('assets/icons/240/about.png')" source320dpi="@Embed('assets/icons/320/about.png')"/>
-		<s:MultiDPIBitmapSource id="demoIcon" source160dpi="@Embed('assets/icons/160/dock.png')" source240dpi="@Embed('assets/icons/240/dock.png')" source320dpi="@Embed('assets/icons/320/dock.png')"/>
-		<s:HTTPService id="rssService" resultFormat="e4x" result="rssResult(event)"/>
-	</fx:Declarations>
-	
-	<s:TextInput id="textInput" text="https://blogs.apache.org/flex/feed/entries/rss" prompt="Type any RSS 2.0 valid URL" skinClass="spark.skins.mobile.TextInputSkin" includeIn="DemoState" enter="loadRSS()" y="10" left="5" right="70" height="40"/>
-	<s:Button label="Load" y="10" includeIn="DemoState" width="60" height="40" right="5" click="loadRSS()"/>
-	
-	<s:List id="itemsList" labelField="title" includeIn="DemoState" width="100%" bottom="0" top="60"/>
-	
-	<s:TextArea includeIn="InfoState" skinClass="spark.skins.mobile.TextAreaSkin" left="10" right="10" top="10" bottom="10" editable="false" text="You use the HTTPService tag to represent an HTTPService object in an MXML file. When you call the HTTPService object's send() method, it makes an HTTP request to the specified URL, and an HTTP response is returned. Optionally, you can pass parameters to the specified URL. When you do not go through the server-based proxy service, you can use only HTTP GET or POST methods. However, when you set the useProxy property to true and you use the server-based proxy service, you can also use the HTTP HEAD, OPTIONS, TRACE, and DELETE methods.
-				&#xd; &#xd;Note: Due to a software limitation, HTTPService does not generate user-friendly error messages when using GET."/>
-	
-	<s:actionContent>
-		<s:Button click="buttonHandler(event)" icon.DemoState="{aboutIcon}" icon.InfoState="{demoIcon}"/>
-	</s:actionContent>
-</s:View>


Mime
View raw message