flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [25/34] git commit: [flex-asjs] [refs/heads/develop] - move examples into a flexjs folder now that we have a native folder for low-level examples
Date Mon, 24 Aug 2015 05:33:15 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml
deleted file mode 100755
index cffd4a4..0000000
--- a/examples/FlexJSStore_jquery/src/productsView/ProductFilterPanel.mxml
+++ /dev/null
@@ -1,215 +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.
-
--->
-<js:VContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
-                  xmlns:js="library://ns.apache.org/flexjs/basic" 
-    xmlns:productsView="productsView.*"
-    xmlns:flexstore="samples.flexstore.*"
-    height="100%" 
-    currentState="showingThumbnails"
-    initComplete="series.selectedIndex = 0">
-    <js:style>
-        <js:SimpleCSSStyles paddingLeft="4" 
-                               paddingRight="12" 
-                               paddingTop="12" 
-                               paddingBottom="8" 
-                               />
-
-    </js:style>
-    
-    <fx:Metadata>
-       [Event(name="filter", type="samples.flexstore.ProductFilterEvent")] 
-       [Event("compare")]
-    </fx:Metadata>
-    
-    <fx:Script>
-        <![CDATA[
-        import org.apache.flex.html.Slider;
-        import org.apache.flex.html.SimpleAlert; 
-        import samples.flexstore.ProductFilterEvent;
-           
-        private var thumbBeingPressed:Boolean;
-           
-        private function dispatchFilter():void
-        {
-            var event:ProductFilterEvent = 
-                new ProductFilterEvent(filter, thumbBeingPressed);
-            dispatchEvent(event);
-            currentState = "showingThumbnails";
-        }
-        
-        private function sliderValue(values:Array, index:int):Number
-        {
-            return values[index];
-        }
-        
-        private function productRemoved():void
-        {
-            if (currentState == "showingComparison")
-            {
-                if (productList.items.length == 0)
-                {
-                    dispatchFilter();
-                }
-                else
-                {
-                    attemptCompare();
-                }
-            }
-        }
-        
-        private function attemptCompare():void
-        {
-            if (productList.items.length > 0)
-            {
-                dispatchEvent(new Event("compare"));
-                currentState = "showingComparison";
-            }
-            else
-            {
-                SimpleAlert.show("There are no items to compare.", "Compare");
-            }
-        }
-        
-        ]]>
-    </fx:Script>
-    <fx:Declarations>
-        <flexstore:ProductFilter id="filter">
-            <flexstore:experience>{series.selectedItem}</flexstore:experience>
-            <flexstore:minPrice>{loPrice.value}</flexstore:minPrice>
-            <flexstore:maxPrice>{hiPrice.value}</flexstore:maxPrice>
-            <flexstore:blazeds>{cbBlazeDS.selected}</flexstore:blazeds>
-            <flexstore:mobile>{cbMobile.selected}</flexstore:mobile>
-            <flexstore:video>{cbVideo.selected}</flexstore:video>
-        </flexstore:ProductFilter>
-        
-        <js:CurrencyFormatter currencySymbol="$" id="cf"/>    
-        
-    </fx:Declarations>
-    <js:beads>
-        <js:ContainerDataBinding />
-    </js:beads>
-    
-    <js:Label text="Find" className="sectionHeader"/>
-    
-    <js:Container width="100%">
-        <js:beads>
-            <js:FlexibleFirstChildHorizontalLayout />
-        </js:beads>
-        <js:TextInput className="glass" width="100%"/>
-        <js:TextButton className="glass" text="Go" click="SimpleAlert.show('This feature is not implemented in this sample', 'Find')"/>
-    </js:Container>
-
-    <js:Spacer height="18"/>
-
-    <js:HRule width="100%"/>
-
-    <js:Spacer height="8"/>
-
-    <js:HContainer>
-        <js:style>
-            <js:SimpleCSSStyles paddingTop="0" paddingLeft="0" verticalAlign="bottom" />
-        </js:style>
-        <js:Label text="Filter" className="sectionHeader"/>
-        <js:Label text="({filter.count} items selected)" >
-            <js:style>
-                <js:SimpleCSSStyles fontWeight="bold" />
-                <!--<js:SimpleCSSStyles color="{getStyle('themeColor')}" fontWeight="bold" />-->
-            </js:style>
-        </js:Label>
-    </js:HContainer>
-
-    <js:Spacer height="8"/>
-
-    <js:Label text="Years of Experience"/>
-
-    <js:DropDownList id="series" className="glass" width="140" change="dispatchFilter();">
-        <js:dataProvider>
-            <fx:Array>
-                <fx:String>All</fx:String>
-                <fx:String>3</fx:String>
-                <fx:String>5</fx:String>
-                <fx:String>7</fx:String>
-                <fx:String>9</fx:String>
-            </fx:Array>                
-        </js:dataProvider>
-    </js:DropDownList>
-
-    <js:Spacer height="18"/>
-
-    <js:Label text="Price"/>
-
-    <!--<s:HSlider id="priceSlider" className="glassSlider" minimum="0" maximum="200" tickInterval="10" snapInterval="10"
-        width="100%" thumbCount="2" values="[0,200]" labels="[$0,$200]" liveDragging="true" dataTipFormatFunction="{cf.format}"
-        change="dispatchFilter()"
-        thumbPress="thumbBeingPressed=true"
-        thumbRelease="thumbBeingPressed=false;dispatchFilter()"
-        />-->
-    <js:HContainer>
-        <js:NumericStepper width="48%" id="loPrice" minimum="0" maximum="{hiPrice.value}" value="0" valueChange="dispatchFilter()" />
-        <js:NumericStepper width="48%" id="hiPrice" minimum="{loPrice.value}" maximum="200" value="200" valueChange="dispatchFilter()" />
-    </js:HContainer>
-
-    <js:Spacer height="18"/>
-
-    <js:Label text="Required Features"/>
-
-    <js:Spacer height="4"/>
-
-    <js:CheckBox id="cbBlazeDS" className="glass" text="BlazeDS" click="dispatchFilter();"/>
-    <js:Spacer height="4"/>
-    <js:CheckBox id="cbMobile" className="glass" text="Mobile" click="dispatchFilter()"/>
-    <js:Spacer height="4"/>
-    <js:CheckBox id="cbVideo" className="glass" text="Video" click="dispatchFilter();"/>
-
-    <js:Spacer height="18"/>
-
-    <js:HRule width="100%"/>
-
-    <js:Spacer height="8"/>
-
-        <js:HContainer>
-            <js:Label text="Compare" className="sectionHeader"/>
-            <js:Label text="(Drag items here to compare)" className="instructions"/>
-        </js:HContainer>
-
-
-    <js:Spacer height="4"/>
-
-    <!-- height is maxItems * ProductListItem.HEIGHT + 2px border -->
-    <productsView:ProductList id="productList" height="{productList.maxItems * ProductListItem.HEIGHT + 2}" width="100%"
-        newItemStartX="300" newItemStartY="-100" maxItems="4" 
-        removeProduct="productRemoved()"/>
-
-    <js:Spacer height="8"/>
-    
-    <js:ImageAndTextButton id="compareButton" className="glass" 
-                  click.showingThumbnails="attemptCompare()"
-                  click.showingComparison="dispatchFilter()"            
-                  text.showingComparison="Back to thumbnail view"
-                  text.showingThumbnails="Compare Items"
-                  image.showingThumbnails="assets/icon_compare.png"
-                  image.showingComparison="assets/icon_tiles.png" />
-    
-    <js:states>
-       <js:State name="showingThumbnails" />
-       <js:State name="showingComparison" />
-    </js:states>
-
-</js:VContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml
deleted file mode 100755
index c1a67c7..0000000
--- a/examples/FlexJSStore_jquery/src/productsView/ProductList.mxml
+++ /dev/null
@@ -1,216 +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.
-
--->
-<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
-                 xmlns:js="library://ns.apache.org/flexjs/basic" 
-    > 
-    <js:style>
-        <js:SimpleCSSStyles borderStyle="solid" backgroundColor="#BCB29F" />
-    </js:style>
-    <!-- need a background color for drag and drop but can set alpha to 0 -->
-    
-    <fx:Metadata>
-       [Event(name="addProduct", type="samples.flexstore.ProductListEvent")]
-       [Event(name="duplicateProduct", type="samples.flexstore.ProductListEvent")]
-       [Event(name="productQtyChange", type="samples.flexstore.ProductListEvent")]
-       [Event(name="removeProduct", type="samples.flexstore.ProductListEvent")]
-    </fx:Metadata>
-
-    <fx:Script>
-        <![CDATA[
-        import org.apache.flex.effects.Effect;
-        import org.apache.flex.effects.Move;
-        import org.apache.flex.effects.Sequence;
-        import org.apache.flex.core.DropType;
-        import org.apache.flex.core.IUIBase;
-        import org.apache.flex.events.DragEvent;
-        
-        import samples.flexstore.Product;
-        import samples.flexstore.ProductListEvent;
-        
-        public var items:Array = [];
-        
-        public var newItemStartX:int;
-        public var newItemStartY:int;
-        [Bindable]
-        public var maxItems:int = 0;
-        public var showQuantity:Boolean;
-        
-        private var playingEffects:Object = new Object();
-        
-        public function addProduct(product:Product):void
-		{
-            var index:int = indexOf(product.productId);
-            var event:ProductListEvent;
-            var item:ProductListItem;
-            
-            if (index != -1)
-			{
-			    item = items[index] as ProductListItem;
-			    //if we don't keep track of what's playing a double-click can
-			    //cause the list item to keep rising
-			    if (playingEffects[item.uid] == null)
-			    {
-                    var jump:Sequence = new Sequence();
-                    var m1:Move = new Move(item)
-                    m1.yBy = -5;
-                    var m2:Move = new Move(item)
-                    m2.yBy = 5;
-                    jump.addChild(m1);
-                    jump.addChild(m2);
-                    jump.duration = 150;
-                    playingEffects[item.uid] = jump;
-                    jump.addEventListener(Effect.EFFECT_END, function(event:Event):void
-                    {
-                       delete playingEffects[item.uid];
-                    });
-                    jump.play();
-                }
-                event = new ProductListEvent(ProductListEvent.DUPLICATE_PRODUCT);
-                event.product = item.product;
-                dispatchEvent(event);
-            }
-			else
-			{
-                index = items.length;
-                if (maxItems <= 0 || index < maxItems)
-				{
-				    item = new ProductListItem();
-				    if (showQuantity)
-				    {
-				        item.currentState = 'showQuantity';
-				    }
-				    item.product = product;
-				    item.percentWidth = 100;
-				    item.addEventListener(ProductListEvent.REMOVE_PRODUCT, removeItemHandler);
-                    items[index] = item;
-                    viewport.addElement(item);
-                    layoutItems(index, true);
-                    event = new ProductListEvent(ProductListEvent.ADD_PRODUCT);
-                    event.product = product;
-                    dispatchEvent(event);
-                }
-            }
-        }
-        
-        public function getProducts():Array
-        {
-            var ret:Array = [];
-            for (var i:int = 0; i < items.length; i++)
-            {
-                ret[i] = ProductListItem(items[i]).product;
-            }
-            return ret;
-        }
-        
-        private function removeItemHandler(event:Event):void
-        {
-            var item:ProductListItem = event.target as ProductListItem;
-            var index:int = indexOf(item.product.productId);
-            items.splice(index, 1);
-            viewport.removeElement(item);
-            layoutItems(index);
-        }
-            
-        private function layoutItems(startIndex:int, scrollToBottom:Boolean=false):void
-		{
-            var n:int = items.length;
-            var e:Move;
-			for (var i:int = startIndex; i < n ; i++)
-			{
-			    var item:ProductListItem = items[i];
-                var yTo:Number = i * (item.height);
-                //still need to prevent items that are already in motion from getting
-                //jumpy
-			    if (playingEffects[item.uid] == null)
-			    {
-                    e = new Move(item);
-                    if (item.x == 0 && item.y == 0)
-    				{
-    					e.xFrom = newItemStartX;
-    					e.yFrom = newItemStartY;
-                    }
-    
-                    e.xTo = 0;
-                    e.yTo = yTo;
-                    playingEffects[item.uid] = e;
-                    e.addEventListener(Effect.EFFECT_END, function(event:Event):void
-                    {
-                       delete playingEffects[item.uid];
-                    });
-                    e.play();
-                }
-                else
-                {
-                    playingEffects[item.uid].pause();
-                    playingEffects[item.uid].yTo = yTo;
-                    playingEffects[item.uid].play();
-                }
-            }
-            //get the last event and if we should scroll make sure we can validate
-            //and scroll to maxVPosition
-            if (scrollToBottom)
-            {
-                e.addEventListener(Effect.EFFECT_END, function(event:Event):void
-                {
-                    scrollingView.verticalScrollPosition = scrollingView.maxVerticalScrollPosition;    
-                });
-            }
-        }
-        
-        private function indexOf(productId:int):int
-		{
-            var index:int = -1;
-
-            var n:int = items.length;
-			for (var i:int = 0; i < items.length; i++)
-			{
-                if (ProductListItem(items[i]).product.productId == productId)
-				{
-                    index = i;
-                    break;
-                }
-            }
-
-            return index;
-        }     
-
-        private function doDragEnter(event:DragEvent):void
-        {
-            trace("doDragEnter");
-            dmc.acceptDragDrop(event.target as IUIBase, DropType.COPY);
-        }
-
-        private function doDragDrop(event:DragEvent):void
-        {
-            trace("doDragDrop");
-            var product:Product = DragEvent.dragSource as Product;
-            addProduct(product);
-        }  
- 
-        ]]>
-    </fx:Script>
-    <js:beads>
-        <js:DropMouseController id="dmc" dragEnter="doDragEnter(event)" dragDrop="doDragDrop(event)" />
-        <js:ScrollingContainerView id="scrollingView" />
-        <js:VerticalScrollingLayout />
-    </js:beads>
-    <js:Container id="viewport" width="100%" height="100%" >
-    </js:Container>
-</js:Container>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
deleted file mode 100755
index 0a83e1a..0000000
--- a/examples/FlexJSStore_jquery/src/productsView/ProductListItem.mxml
+++ /dev/null
@@ -1,130 +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.
-
--->
-<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009" 
-                    xmlns:js="library://ns.apache.org/flexjs/basic" 
-    className="listItem" 
-    height="{HEIGHT}" implements="org.apache.flex.core.IItemRenderer">
-    <!--automationName="{product.name}">-->
-
-    <fx:Metadata>
-       [Event(name="productQtyChange", type="samples.flexstore.ProductListEvent")]
-       [Event(name="removeProduct", type="samples.flexstore.ProductListEvent")]
-    </fx:Metadata>
-    
-    <fx:Script>
-    <![CDATA[
-    
-        import samples.flexstore.Product;
-        import samples.flexstore.ProductListEvent;
-        
-        private static var idCounter:int = 0;
-        public var uid:String = (idCounter++).toString();
-        
-        public static const HEIGHT:int = 30;
-        
-        [Bindable("__NoChangeEvent__")]
-        public function get product():Product
-        {
-            return _data as Product;
-        }
-        public function set product(value:Product):void
-        {
-            _data = value;
-        }
-        
-        private var _data:Object;
-        
-        public function get data():Object
-        {
-            return _data;
-        }
-        
-        public function set data(value:Object):void
-        {
-            _data = value;
-        }
-
-        private var _itemRendererParent:Object;
-        
-        public function get itemRendererParent():Object
-        {
-            return _itemRendererParent;
-        }
-        
-        public function set itemRendererParent(value:Object):void
-        {
-            _itemRendererParent = value;
-        }
-        
-        private function qtyChange():void
-    	{
-            product.qty = int(qty.text);
-            var event:ProductListEvent = new ProductListEvent(ProductListEvent.PRODUCT_QTY_CHANGE);
-            event.product = product;
-    		dispatchEvent(event);
-        }
-        
-        private function removeItem():void
-        {
-            var event:ProductListEvent = new ProductListEvent(ProductListEvent.REMOVE_PRODUCT);
-            event.product = product;
-    		dispatchEvent(event);
-        }
-        
-    ]]>
-    </fx:Script>
-    
-    <fx:Declarations>
-        <js:CurrencyFormatter currencySymbol="$" id="cf" fractionalDigits="2"/>
-    </fx:Declarations>
-    
-    <js:beads>
-        <js:ContainerDataBinding />
-    </js:beads>
-        
-    <js:ImageButton id="removeButton" backgroundImage="assets/trashcan.png"
-        width="14" height="14" y="5"
-        click="removeItem()">
-        <js:beads>
-            <js:ToolTipBead toolTip="Remove from cart" />
-        </js:beads>
-    </js:ImageButton>
-    
-    <js:Image id="productImage" x="16" y="6" width="12" height="12" source="{product.image}"/>
-
-    <js:Label id="productName" x="30" width="100" y="4" text="{product.name}"/>
-
-    <js:Label id="productPrice" width="60" y="4"
-        text="{cf.format(product.price)}" style="textAlign:right;right:0"
-                                style.showQuantity="textAlign:right;right:25"/>
-        
-    <js:TextInput id="qty" width="25" y="3" text="{product.qty}" includeIn="showQuantity"
-                  style="textAlign:right;right:0;marginTop:0" change="qtyChange()" >
-        <js:beads>
-            <js:NumericOnlyTextInputBead maxChars="3" />
-        </js:beads>
-    </js:TextInput>
-    
-    <js:states>
-        <js:State name="compare" />
-        <js:State name="showQuantity" />
-    </js:states>
-    
-</js:Container>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml b/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml
deleted file mode 100755
index b3c8429..0000000
--- a/examples/FlexJSStore_jquery/src/productsView/ProductSupport.mxml
+++ /dev/null
@@ -1,90 +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.
-
--->
-<js:HContainer xmlns:fx="http://ns.adobe.com/mxml/2009" 
-          xmlns:js="library://ns.apache.org/flexjs/basic" 
-		 >
-    <js:style>
-        <js:SimpleCSSStyles paddingLeft="4" paddingRight="8" paddingBottom="4" />
-    </js:style>
-    <js:beads>
-        <js:ContainerDataBinding />
-    </js:beads>
-
-    <fx:Script>
-	<![CDATA[
-
-        private function toggle():void
-		{
-			/*
-            if (vd.playing)
-			{
-                vd.stop();
-                list.visible = true;
-            }
-			else
-			{
-                list.visible = false;
-                vd.play();
-            }
-			*/
-        }
-
-	]]>
-    </fx:Script>
-
-    <fx:Declarations>
-        <js:Parallel id="hideList">
-            <js:children>
-                <fx:Array>
-                    <js:Resize target="{list}" widthTo="0"/>
-                    <!--<mx:Resize target="{vd}" widthTo="400" heightTo="314"/>-->
-                </fx:Array>
-            </js:children>
-        </js:Parallel>
-        
-        <js:Parallel id="showList">
-            <js:children>
-                <fx:Array>
-                    <js:Resize target="{list}" widthTo="130"/>
-                    <!--<mx:Resize target="{vd}" widthTo="270" heightTo="217"/>-->
-                </fx:Array>
-            </js:children>
-        </js:Parallel>        
-    </fx:Declarations>
-    <js:List id="list" width="130" height="100%" selectedIndex="0">
-        <js:dataProvider>
-            <fx:Array>
-                <fx:Object label="Install SIM Card"/>
-            </fx:Array>
-        </js:dataProvider>
-    </js:List>
-
-    <js:Container width="100%">
-
-		<!--<mx:VideoDisplay id="vd" width="270" height="217" source="assets/phone.flv"
-						 autoPlay="false" complete="list.visible=true"/>
-
-		<mx:Button label="{vd.playing ? 'Stop' : 'Play'}" click="toggle()" left="8" bottom="8" includeInLayout="false">
-		</mx:Button>
-		-->
-	</js:Container>
-
-
-</js:HContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/samples/flexstore/ButtonBarButtonSkin.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/samples/flexstore/ButtonBarButtonSkin.as b/examples/FlexJSStore_jquery/src/samples/flexstore/ButtonBarButtonSkin.as
deleted file mode 100755
index 5e94b58..0000000
--- a/examples/FlexJSStore_jquery/src/samples/flexstore/ButtonBarButtonSkin.as
+++ /dev/null
@@ -1,298 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package samples.flexstore
-{
-
-import flash.display.GradientType;
-import mx.containers.BoxDirection;
-import mx.controls.Button;
-import mx.controls.ButtonBar;
-import mx.skins.Border;
-import mx.skins.halo.*;
-import mx.styles.StyleManager;
-import mx.utils.ColorUtil;
-
-/**
- *  Adapted from mx.skins.halo.ButtonBarButtonSkin.
- *  This version of the ButtonBarButtonSkin is applied for the
- *  selectedOver, selectedUp, and over states to use the 2nd two
- *  values of the fillColors for the selected state of the
- *  button.  The over state then uses a computed value from
- *  the themeColor to show emphasis.  The border of the selected
- *  button also uses a computed value from the themeColor, but
- *  is partially transparent.
- */
-public class ButtonBarButtonSkin extends Border
-{
-	//--------------------------------------------------------------------------
-	//
-	//  Class variables
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static var cache:Object = {};
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Several colors used for drawing are calculated from the base colors
-	 *  of the component (themeColor, borderColor and fillColors).
-	 *  Since these calculations can be a bit expensive,
-	 *  we calculate once per color set and cache the results.
-	 */
-	private static function calcDerivedStyles(themeColor:uint,
-											  fillColor0:uint,
-											  fillColor1:uint):Object
-	{
-		var key:String = HaloColors.getCacheKey(themeColor,
-												fillColor0, fillColor1);
-
-		if (!cache[key])
-		{
-			var o:Object = cache[key] = {};
-
-			// Cross-component styles.
-			HaloColors.addHaloColors(o, themeColor, fillColor0, fillColor1);
-
-			// Button-specific styles.
-			o.innerEdgeColor1 = ColorUtil.adjustBrightness2(fillColor0, -10);
-			o.innerEdgeColor2 = ColorUtil.adjustBrightness2(fillColor1, -25);
-		}
-
-		return cache[key];
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Constructor.
-	 */
-	public function ButtonBarButtonSkin()
-	{
-		super();
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Overridden properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  measuredWidth
-	//----------------------------------
-
-	/**
-	 *  @private
-	 */
-	override public function get measuredWidth():Number
-	{
-		return 50;
-	}
-
-	//----------------------------------
-	//  measuredHeight
-	//----------------------------------
-
-	/**
-	 *  @private
-	 */
-	override public function get measuredHeight():Number
-	{
-		return 22;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Overridden methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	override protected function updateDisplayList(w:Number, h:Number):void
-	{
-		super.updateDisplayList(w, h);
-
-		// User-defined styles.
-		var borderColor:uint = getStyle("borderColor");
-		var cornerRadius:Number = getStyle("cornerRadius");
-		var fillAlphas:Array = getStyle("fillAlphas");
-		var fillColors:Array = getStyle("fillColors");
-		styleManager.getColorNames(fillColors);
-		var highlightAlphas:Array = getStyle("highlightAlphas");
-		var themeColor:uint = getStyle("themeColor");
-
-		// Derivative styles.
-		var derStyles:Object = calcDerivedStyles(themeColor, fillColors[0],
-												 fillColors[1]);
-
-		var borderColorDrk1:Number =
-			ColorUtil.adjustBrightness2(borderColor, -50);
-
-		var themeColorDrk1:Number =
-			ColorUtil.adjustBrightness2(themeColor, -25);
-
-		var emph:Boolean = false;
-
-		if (parent is Button)
-			emph = (parent as Button).emphasized;
-
-		var tmp:Number;
-
-		var bar:ButtonBar = parent ? ButtonBar(parent.parent) : null;
-		var horizontal:Boolean = true;
-		var pos:int = 0;
-
-		if (bar)
-		{
-			if (bar.direction == BoxDirection.VERTICAL)
-				horizontal = false;
-
-			// first: -1, middle: 0, last: 1
-			var index:int = bar.getChildIndex(parent);
-			pos = (index == 0 ? -1 : (index == bar.numChildren - 1 ? 1 : 0));
-		}
-
-		var radius:Object = getCornerRadius(pos, horizontal, cornerRadius);
-		var cr:Object = getCornerRadius(pos, horizontal, cornerRadius);
-		var cr1:Object = getCornerRadius(pos, horizontal, cornerRadius - 1);
-		var cr2:Object = getCornerRadius(pos, horizontal, cornerRadius - 2);
-		var cr3:Object = getCornerRadius(pos, horizontal, cornerRadius - 3);
-
-		graphics.clear();
-
-		switch (name)
-		{
-			case "selectedUpSkin":
-			case "selectedOverSkin":
-			{
-				var overFillColors:Array;
-				if (fillColors.length > 2)
-					overFillColors = [ fillColors[2], fillColors[3] ];
-				else
-					overFillColors = [ fillColors[0], fillColors[1] ];
-
-				var overFillAlphas:Array;
-				if (fillAlphas.length > 2)
-					overFillAlphas = [ fillAlphas[2], fillAlphas[3] ];
-  				else
-					overFillAlphas = [ fillAlphas[0], fillAlphas[1] ];
-
-				// button border/edge
-				drawRoundRect(
-					0, 0, w, h, cr,
-					[ themeColor, derStyles.themeColDrk1 ], 0.5,
-					verticalGradientMatrix(0, 0, w , h),
-					GradientType.LINEAR, null,
-					{ x: 1, y: 1, w: w - 2, h: h - 2, r: cr1 });
-
-				// button fill
-				drawRoundRect(
-					1, 1, w - 2, h - 2, cr1,
-					overFillColors, overFillAlphas,
-					verticalGradientMatrix(0, 0, w - 2, h - 2));
-
-				// top highlight
-				if (!(radius is Number))
-					{ radius.bl = radius.br = 0;}
-				drawRoundRect(
-					1, 1, w - 2, (h - 2) / 2, radius,
-					[ 0xFFFFFF, 0xFFFFFF ], highlightAlphas,
-					verticalGradientMatrix(1, 1, w - 2, (h - 2) / 2));
-				break;
-			}
-
-			case "overSkin":
-			{
-				// button border/edge
-				drawRoundRect(
-					0, 0, w, h, cr,
-					[ themeColor, derStyles.themeColDrk1 ], 0.5,
-					verticalGradientMatrix(0, 0, w, h));
-
-				// button fill
-				drawRoundRect(
-					1, 1, w - 2, h - 2, cr1,
-					[ derStyles.fillColorPress1, derStyles.fillColorPress2 ], 1,
-					verticalGradientMatrix(0, 0, w - 2, h - 2));
-
-				// top highlight
-				if (!(radius is Number))
-					{ radius.bl = radius.br = 0;}
-				drawRoundRect(
-					1, 1, w - 2, (h - 2) / 2, radius,
-					[ 0xFFFFFF, 0xFFFFFF ], highlightAlphas,
-					verticalGradientMatrix(1, 1, w - 2, (h - 2) / 2));
-
-				break;
-			}
-		}
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private function getCornerRadius(pos:int, horizontal:Boolean,
-									 radius:Number):Object
-	{
-		if (pos == 0)
-			return 0;
-
-		radius = Math.max(0, radius);
-
-		if (horizontal)
-		{
-			if (pos == -1)
-				return { tl: radius, tr: 0, bl: radius, br: 0 };
-			else // pos == 1
-				return { tl: 0, tr: radius, bl: 0, br: radius };
-		}
-		else
-		{
-			if (pos == -1)
-				return { tl: radius, tr: radius, bl: 0, br: 0 };
-			else // pos == 1
-				return { tl: 0, tr: 0, bl: radius, br: radius };
-		}
-	}
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/samples/flexstore/Product.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/samples/flexstore/Product.as b/examples/FlexJSStore_jquery/src/samples/flexstore/Product.as
deleted file mode 100755
index 040fb8f..0000000
--- a/examples/FlexJSStore_jquery/src/samples/flexstore/Product.as
+++ /dev/null
@@ -1,78 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package samples.flexstore
-{
-
-[Bindable]
-public class Product
-{
-
-    public var productId:int;
-    public var name:String;
-    public var description:String;
-    public var price:Number;
-    public var image:String;
-    public var experience:String;
-    public var blazeds:Boolean;
-    public var mobile:Boolean;
-    public var video:Boolean;
-    public var highlight1:String;
-    public var highlight2:String;
-    public var qty:int;
-
-    public function Product()
-    {
-
-    }
-
-    public function fill(obj:Object):void
-    {
-        for (var i:String in obj)
-        {
-            this[i] = obj[i];
-        }
-    }
-
-    [Bindable(event="propertyChange")]
-    public function get featureString():String
-    {
-    	var str:String = "";
-    	if (blazeds)
-    		str += "BlazeDS";
-
-		if (mobile)
-		{
-			if (str.length > 0)
-				str += "\n";
-			str += "Mobile";
-		}
-
-		if (video)
-		{
-			if (str.length > 0)
-				str += "\n";
-			str += "Video";
-		}
-
-		return str;
-    }
-
-}
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilter.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilter.as b/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilter.as
deleted file mode 100755
index d182371..0000000
--- a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilter.as
+++ /dev/null
@@ -1,56 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package samples.flexstore
-{
-
-[Bindable]
-public class ProductFilter
-{
-    public var count:int;
-    public var experience:String;
-    public var minPrice:Number;
-    public var maxPrice:Number;
-    public var blazeds:Boolean;
-    public var mobile:Boolean;
-    public var video:Boolean;
-    
-    public function ProductFilter()
-    {
-        super();
-    }
-    
-    public function accept(product:Product):Boolean
-    {
-        //price is often the first test so let's fail fast if possible
-        if (minPrice > product.price || maxPrice < product.price)
-            return false;
-        if (experience != "All" && experience > product.experience)
-            return false;
-        if (blazeds && !product.blazeds)
-            return false;
-        if (mobile && !product.mobile)
-            return false;
-        if (video && !product.video)
-            return false;
-        
-        return true;
-    }
-}
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilterEvent.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilterEvent.as b/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilterEvent.as
deleted file mode 100755
index 28129e7..0000000
--- a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductFilterEvent.as
+++ /dev/null
@@ -1,39 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package samples.flexstore
-{
-
-import org.apache.flex.events.Event;
-
-public class ProductFilterEvent extends Event
-{
-    public static const FILTER:String = "filter";
-    
-    public var live:Boolean;
-    public var filter:ProductFilter;
-    
-    public function ProductFilterEvent(filter:ProductFilter, live:Boolean)
-    {
-        super(FILTER);
-        this.filter = filter;
-        this.live = live;
-    }
-}
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/samples/flexstore/ProductListEvent.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductListEvent.as b/examples/FlexJSStore_jquery/src/samples/flexstore/ProductListEvent.as
deleted file mode 100755
index b6b9371..0000000
--- a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductListEvent.as
+++ /dev/null
@@ -1,42 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package samples.flexstore
-{
-
-import org.apache.flex.events.Event;
-
-public class ProductListEvent extends Event
-{
-    public static const ADD_PRODUCT:String = "addProduct";
-    public static const DUPLICATE_PRODUCT:String = "duplicateProduct";
-    public static const REMOVE_PRODUCT:String = "removeProduct";
-    public static const PRODUCT_QTY_CHANGE:String = "productQtyChange";
-    
-    public var product:Product;
-    
-    //making the default bubbles behavior of the event to true since we want
-    //it to bubble out of the ProductListItem and beyond
-    public function ProductListEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
-    {
-        super(type, bubbles, cancelable);
-    }
-    
-}
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/FlexJSStore_jquery/src/samples/flexstore/ProductThumbEvent.as
----------------------------------------------------------------------
diff --git a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductThumbEvent.as b/examples/FlexJSStore_jquery/src/samples/flexstore/ProductThumbEvent.as
deleted file mode 100755
index f92dc7f..0000000
--- a/examples/FlexJSStore_jquery/src/samples/flexstore/ProductThumbEvent.as
+++ /dev/null
@@ -1,45 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package samples.flexstore
-{
-    
-import org.apache.flex.events.Event;
-
-public class ProductThumbEvent extends Event
-{
-    public static const PURCHASE:String = "purchase";
-    public static const COMPARE:String = "compare";
-    public static const DETAILS:String = "details";
-    public static const BROWSE:String = "browse";
-    
-    public var product:Product;
-    
-    public function ProductThumbEvent(type:String, product:Product)
-    {
-        super(type);
-        this.product = product;
-    }
-    
-    override public function cloneEvent():Event
-    {
-        return new ProductThumbEvent(type, product);
-    }
-}
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MapSearch/MapSearch-app.xml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/MapSearch-app.xml b/examples/MapSearch/MapSearch-app.xml
deleted file mode 100644
index 5cf1d99..0000000
--- a/examples/MapSearch/MapSearch-app.xml
+++ /dev/null
@@ -1,252 +0,0 @@
-<?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/4.0">
-
-<!-- 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.8
-			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>org.apache.flexjs.mapsearch</id>
-
-	<!-- Used as the filename for the application. Required. -->
-	<filename>Apache FlexJS Google Map Example</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>Apache FlexJS Google Map Example</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.1</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 2013 The Apache Software Foundation.</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>MapSearch.swf</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>455</width>
-
-		<!-- The window's initial height in pixels. Optional. -->
-		<height>605</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 initial aspect ratio of the app when launched (either "portrait" or "landscape"). 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 or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
-		<!-- <softKeyboardBehavior></softKeyboardBehavior> -->
-	<autoOrients>false</autoOrients>
-        <fullScreen>false</fullScreen>
-        <visible>true</visible>
-    </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> -->
-	<supportedProfiles>extendedDesktop desktop</supportedProfiles>
-
-	<!-- The subpath of the standard default installation location to use. Optional. -->
-	<installFolder>Apache Flex</installFolder>
-
-	<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
-	<programMenuFolder>Apache Flex</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>assets/icons/16.png</image16x16>
-		<image29x29>assets/icons/29.png</image29x29>
-		<image32x32>assets/icons/32.png</image32x32>
-		<image36x36>assets/icons/36.png</image36x36>
-		<image48x48>assets/icons/48.png</image48x48>
-		<image57x57>assets/icons/57.png</image57x57>
-		<image72x72>assets/icons/72.png</image72x72>
-		<image114x114>assets/icons/114.png</image114x114>
-		<image128x128>assets/icons/128.png</image128x128>
-	</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> -->
-	<!-- </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> -->
-    <!-- </android> -->
-	<!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
-
-</application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MapSearch/build.xml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/build.xml b/examples/MapSearch/build.xml
deleted file mode 100644
index 05b8c2c..0000000
--- a/examples/MapSearch/build.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
--->
-
-
-<project name="mapsearch" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
-    <property name="example" value="MapSearch" />
-    
-    <!-- this project needs AIR 3.4 FP 11.4 -->
-    <property name="swf.version" value="17" />
-    <property name="playerglobal.version" value="11.4" />
-    
-    <property environment="env"/>
-    <property file="${FLEXJS_HOME}/build.properties"/>
-    <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
-    <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
-    type="file"
-    property="FALCON_HOME"
-    value="${env.FALCON_HOME}"/>
-    
-    <available file="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
-    type="file"
-    property="FALCON_HOME"
-    value="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk"/>
-    
-    <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
-    type="file"
-    property="FALCONJX_HOME"
-    value="${env.FALCONJX_HOME}"/>
-    
-    <available file="${FLEXJS_HOME}/../flex-falcon/compiler.jx/lib/jsc.jar"
-    type="file"
-    property="FALCONJX_HOME"
-    value="${FLEXJS_HOME}/../flex-falcon/compiler.jx"/>
-    
-    <available file="${env.GOOG_HOME}/closure/goog/base.js"
-    type="file"
-    property="GOOG_HOME"
-    value="${env.GOOG_HOME}"/>
-    
-    <available file="${FLEXJS_HOME}/js/lib/google/closure-library/closure/goog/base.js"
-    type="file"
-    property="GOOG_HOME"
-    value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
-    
-    <property name="AIR_HOME" value="${env.AIR_HOME}"/>
-    
-    
-    <condition property="adl" value="adl.exe">
-        <os family="windows"/>
-    </condition>
-    
-    <condition property="adl" value="adl">
-        <os family="mac"/>
-    </condition>
-    
-    <condition property="runtime" value="win">
-        <os family="windows"/>
-    </condition>
-    
-    <condition property="runtime" value="mac">
-        <os family="mac"/>
-    </condition>
-
-    <include file="${basedir}/../build_example.xml" />
-
-    <target name="main" depends="clean,build_example.compileair,build_example.compilejsair" description="Clean build of ${example}">
-    </target>
-    
-    <target name="clean">
-        <echo>playerglobal.version = ${playerglobal.version}</echo>
-        <delete dir="${basedir}/bin" failonerror="false" />
-        <delete dir="${basedir}/bin-debug" failonerror="false" />
-        <delete dir="${basedir}/bin-release" failonerror="false" />
-    </target>    
-    
-    <target name="run">
-        <exec executable="${AIR_HOME}/bin/${adl}" dir="${basedir}/bin-debug" failonerror="true">
-            <arg value="-runtime" />
-            <arg value="${AIR_HOME}/runtimes/air/${runtime}" />
-            <arg value="-profile" />
-            <arg value="extendedDesktop" />
-            <arg value="${basedir}/bin-debug/${example}-app.xml" />
-        </exec>
-    </target>
-</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MapSearch/src/MapSearch.mxml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/src/MapSearch.mxml b/examples/MapSearch/src/MapSearch.mxml
deleted file mode 100644
index af06140..0000000
--- a/examples/MapSearch/src/MapSearch.mxml
+++ /dev/null
@@ -1,46 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
--->
-<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
-				   xmlns:local="*"
-				   xmlns:models="models.*"
-				   xmlns:js="library://ns.apache.org/flexjs/basic" 
-				   >
-	
-	<!-- This application demonstrates how to use the Google MAP API
-	on both the AIR and JavaScript/browser platform. After cross-
-	compiling this application for JavaScript, edit the index.html
-	file and include your Google developer API token.
-	-->
-	
-	<js:valuesImpl>
-		<js:SimpleCSSValuesImpl />
-	</js:valuesImpl>
-	<js:initialView>
-		<local:MyInitialView />
-	</js:initialView>
-	<js:model>
-		<models:MyModel />
-	</js:model>
-	<js:beads>
-		<js:MixinManager />
-	</js:beads>
-	
-</js:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MapSearch/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/src/MyInitialView.mxml b/examples/MapSearch/src/MyInitialView.mxml
deleted file mode 100644
index 3199f1e..0000000
--- a/examples/MapSearch/src/MyInitialView.mxml
+++ /dev/null
@@ -1,212 +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.
-
--->
-<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
-				xmlns:js="library://ns.apache.org/flexjs/basic"
-                xmlns:google="library://ns.apache.org/flexjs/google"
-				xmlns:local="*"
-				initComplete="initControls()">
-	<fx:Script>
-		<![CDATA[		
-			import org.apache.flex.maps.google.models.MapModel;
-			import models.MyModel;
-			
-			import org.apache.flex.events.Event;
-			import org.apache.flex.maps.google.Place;
-			import org.apache.flex.maps.google.Marker;
-			
-			private function initControls() : void
-			{
-				
-			}
-			
-			/**
-			 * Called when the map is ready for use. This function adds a variety of event
-			 * listners, some of which will trigger a new search.
-			 */
-			private function onMapReady() : void
-			{
-				map.addEventListener("centered", onMapCenteredOrChanged);
-				map.addEventListener("boundsChanged", onMapCenteredOrChanged);
-				map.addEventListener("zoomChanged", onMapCenteredOrChanged);
-				map.addEventListener("dragEnd", onMapCenteredOrChanged);
-				map.addEventListener("markerClicked", onMarkerClicked);
-				
-				// Listen for changes to the search results on the map's model.
-				map.model.addEventListener("searchResultsChanged", onSearchResults);
-			}
-			
-			private var selectedCity:String;
-			
-			/**
-			 * Triggered by a change in the drop list with a new city selected. This
-			 * will also update the input fields.
-			 */
-			private function changeCity(event:org.apache.flex.events.Event) : void
-			{
-				var index:int = list.selectedIndex;
-				mapLocation.text = MyModel(applicationModel).cities[index];
-				codeAddress();
-			}
-			
-			private function codeAddress() : void
-			{
-				map.markAddress(mapLocation.text);
-			}
-			
-			private function searchOnMap() : void
-			{
-				map.nearbySearch(search.text);
-			}
-			
-			private function clearSearchResults() : void
-			{
-				map.clearSearchResults();
-			}
-			
-			private function orientMap() : void
-			{
-				map.centerOnAddress(mapLocation.text);
-			}
-			
-			/**
-			 * Called when the map has been re-centered or moved. The search results are
-			 * cleared and a new search is triggered.
-			 */
-			private function onMapCenteredOrChanged(event:org.apache.flex.events.Event):void
-			{
-				clearSearchResults();
-				if (search.text) searchOnMap();
-			}
-			
-			/**
-			 * Called when search results are available in the map's model. This function
-			 * transfers those results to the application's model which is bound to the
-			 * List component.
-			 */
-			private function onSearchResults(event:org.apache.flex.events.Event):void
-			{
-				var searchResults:Array = MapModel(map.model).searchResults;
-				MyModel(applicationModel).searchResults = searchResults;
-			}
-			
-			/**
-			 * Called when a marker on the map has been selected. This function centers
-			 * the map on the marker and, if necessary, zooms the map in for closer
-			 * inspection.
-			 */
-			private function onMarkerClicked(event:org.apache.flex.events.Event):void
-			{
-				var marker:Marker = map.selectedMarker;
-				map.setZoom(12);
-				map.setCenter(marker.position);
-			}
-			
-		]]>
-	</fx:Script>
-	
-		<fx:Style>
-		@namespace basic "library://ns.apache.org/flexjs/basic";
-		
-		.FormLabel {
-			font-weight: bold;
-			font-size: 12;
-			padding-left: 20px;
-			padding-right: 20px;
-			padding-top: 20px;
-			padding-bottom: 20px;
-			height: 22px;
-		}
-		
-		.FormButton {
-			font-weight: bold;
-			font-size: 12;
-			color: #000000;
-			background-color: #FFFFFF;
-			border-style: solid;
-			padding-top: 5px;
-			padding-bottom: 5px;
-			padding-left: 5px;
-			padding-right: 5px;
-		}
-		
-		.FormInput {
-			font-weight: normal;
-			font-size: 12;
-			color: #0000DE;
-			padding: 0px;
-			height: 20px;
-		}
-		
-		.InnerBox {
-			margin-top: 11px;
-			margin-bottom: 10px;
-		}
-	</fx:Style>
-	
-	<js:beads>
-		<js:ViewBaseDataBinding />
-	</js:beads>
-	
-	
-	<js:Container x="5" y="5" className="topContainer" >
-		<js:beads>
-			<js:VerticalLayout />
-		</js:beads>
-		
-		<js:Container className="InnerBox">
-			<js:beads>
-				<js:HorizontalLayout />
-			</js:beads>
-			<js:Label id="label1" text="Location:" className="FormLabel"  />
-			<js:TextInput id="mapLocation" />
-			<js:TextButton text="Go" id="goButton" click="orientMap()" className="FormButton" />
-			
-			<js:DropDownList id="list" width="100" height="20"
-								change="changeCity(event)"
-								dataProvider="{MyModel(applicationModel).cities}" />
-		</js:Container>
-		
-		<google:Map id="map" width="450" height="300" className="MainMap"
-				   token="AIzaSyDkQgg2iojLCYeuW6hK7DkuAHD-SwJJhdE" 
-				   ready="onMapReady()"/>
-		
-		<js:Container className="InnerBox">
-			<js:beads>
-				<js:HorizontalLayout />
-			</js:beads>
-			<js:Label id="label2" text="Search on Map:" className="FormLabel" />
-			<js:TextInput id="search" />
-			<js:TextButton text="Find" click="searchOnMap()" className="FormButton" />
-			<js:TextButton text="Clear"click="clearSearchResults()" className="FormButton" />
-		</js:Container>
-		
-		<js:List id="resultsList" width="450" height="200">
-			<js:beads>
-				<js:SimpleBinding
-					sourceID="applicationModel"
-					sourcePropertyName="searchResults"
-					eventName="searchResultsChanged"
-					destinationPropertyName="dataProvider" />
-			</js:beads>
-		</js:List>
-		
-	</js:Container>
-	
-</js:ViewBase>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MapSearch/src/models/MyModel.as
----------------------------------------------------------------------
diff --git a/examples/MapSearch/src/models/MyModel.as b/examples/MapSearch/src/models/MyModel.as
deleted file mode 100644
index 528da95..0000000
--- a/examples/MapSearch/src/models/MyModel.as
+++ /dev/null
@@ -1,69 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package models
-{
-	import org.apache.flex.core.IBeadModel;
-	import org.apache.flex.core.IStrand;
-	import org.apache.flex.events.Event;
-	import org.apache.flex.events.EventDispatcher;
-	
-	public class MyModel extends EventDispatcher implements IBeadModel
-	{
-		public function MyModel()
-		{
-			super();
-		}
-		
-		private var _strand:IStrand;
-		
-		public function set strand(value:IStrand):void
-		{
-			_strand = value;
-		}
-		
-		private var _cities:Array = ["Sydney", "NYC", "Mexico City", "London", "Rio de Janeiro"];
-		public function get cities():Array
-		{
-			return _cities;
-		}
-		
-		private var _coordinates:Array = [{lat:-33.86, lng:151.211},
-			{lat:40.712, lng:-74.0059},
-			{lat:19.26, lng:-99.03},
-			{lat:51.4, lng:-0.1},
-			{lat:-22.95, lng:-43.12}];
-		public function get coordinates():Array
-		{
-			return _coordinates;
-		}
-		
-		private var _searchResults:Array = [];
-		
-		[Bindable("searchResultsChanged")]
-		public function get searchResults():Array
-		{
-			return _searchResults;
-		}
-		public function set searchResults(value:Array):void
-		{
-			_searchResults = value;
-			dispatchEvent(new Event("searchResultsChanged"));
-		}
-	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MobileTrader/build.xml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/build.xml b/examples/MobileTrader/build.xml
deleted file mode 100644
index 2471ff8..0000000
--- a/examples/MobileTrader/build.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
--->
-
-
-<project name="mobiletrader" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="../.."/>
-    <property name="example" value="MobileTrader" />
-    
-    <property environment="env"/>
-    <property file="${FLEXJS_HOME}/build.properties"/>
-    <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
-    <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar"
-    type="file"
-    property="FALCON_HOME"
-    value="${env.FALCON_HOME}"/>
-    
-    <available file="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
-    type="file"
-    property="FALCON_HOME"
-    value="${FLEXJS_HOME}/../flex-falcon/compiler/generated/dist/sdk"/>
-    
-    <available file="${env.FALCONJX_HOME}/lib/jsc.jar"
-    type="file"
-    property="FALCONJX_HOME"
-    value="${env.FALCONJX_HOME}"/>
-    
-    <available file="${FLEXJS_HOME}/../flex-falcon/compiler.jx/lib/jsc.jar"
-    type="file"
-    property="FALCONJX_HOME"
-    value="${FLEXJS_HOME}/../flex-falcon/compiler.jx"/>
-    
-    <available file="${env.GOOG_HOME}/closure/goog/base.js"
-    type="file"
-    property="GOOG_HOME"
-    value="${env.GOOG_HOME}"/>
-    
-    <available file="${FLEXJS_HOME}/js/lib/google/closure-library/closure/goog/base.js"
-    type="file"
-    property="GOOG_HOME"
-    value="${FLEXJS_HOME}/js/lib/google/closure-library"/>
-    
-    <include file="${basedir}/../build_example.xml" />
-
-    <target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of ${example}">
-    </target>
-    
-    <target name="clean">
-        <delete dir="${basedir}/bin" failonerror="false" />
-        <delete dir="${basedir}/bin-debug" failonerror="false" />
-        <delete dir="${basedir}/bin-release" failonerror="false" />
-    </target>    
-    
-</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MobileTrader/src/MobileTrader.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/MobileTrader.mxml b/examples/MobileTrader/src/MobileTrader.mxml
deleted file mode 100755
index 8def93c..0000000
--- a/examples/MobileTrader/src/MobileTrader.mxml
+++ /dev/null
@@ -1,39 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
--->
-<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
-				   xmlns:local="*"
-				   xmlns:models="models.*"
-				   xmlns:js="library://ns.apache.org/flexjs/basic" 
-				   xmlns:controller="controller.*" 
-				   >
-	
-	<js:valuesImpl>
-		<js:SimpleCSSValuesImpl />
-	</js:valuesImpl>
-	
-	<js:model>
-		<models:ProductsModel />
-	</js:model>
-	
-	<js:initialView>
-	   <local:MyInitialView />
-	</js:initialView>
-</js:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MobileTrader/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/MyInitialView.mxml b/examples/MobileTrader/src/MyInitialView.mxml
deleted file mode 100755
index 606839e..0000000
--- a/examples/MobileTrader/src/MyInitialView.mxml
+++ /dev/null
@@ -1,255 +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.
-
--->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
-				xmlns:local="*"
-				xmlns:basic="library://ns.apache.org/flexjs/basic"
-				xmlns:views="views.*" 
-				xmlns:apache="org.apache.flex.html.beads.*"
-				xmlns:html="org.apache.flex.html.*"
-				xmlns:controller="controller.*"
-				initComplete="onInitComplete()" xmlns:models="models.*" >
-	
-	<fx:Style>
-		@namespace basic  "library://ns.apache.org/flexjs/basic";
-		@namespace views  "views.*";
-		
-		basic|Container {
-			background-color: #FFFFFF;
-		}
-		
-		basic|StackedViewManager {
-			padding-top: 0px;
-			padding-bottom: 0px;
-			padding-left: 0px;
-			padding-right: 0px;
-		}
-		
-		basic|TabbedViewManager {
-			position : absolute ;
-			height : 640px ;
-			width : 480px ;
-			left : 100px ;
-			top : 20px ;
-			border: solid 1px #444444;
-			background-color: #FFFFFF;
-		}
-		
-		.NavigationBar {
-			background-image: url("assets/background.png");
-			height: 55px;
-			IBeadLayout: ClassReference("org.apache.flex.html.beads.layouts.HorizontalLayout");
-		}
-		
-		.TabBar {
-			background-color: #DEDEDE;
-			height: 55px;
-			vertical-align: middle;
-			line-height: 55px;
-		}
-		
-		.BackButton:hover {
-			background-image: url('assets/arrow_left_24.png');
-		}
-		
-		.BackButton:active {
-			background-image: url('assets/arrow_left_24.png');
-		}
-		
-		.BackButton {
-			background-image: url('assets/arrow_left_24.png');
-		}
-		
-		.AssetsInner {
-			padding-top: 5px;
-			background-color: #FFFFFF;
-		}
-		
-		views|AssetsView {
-			width: 480px;
-			height: 640px;
-		}
-		
-		views|WatchListView {
-			width: 480px;
-			height: 640px;
-			IBeadController:ClassReference('controller.WatchListController');
-			background-color: #FFFFFF;
-		}
-		
-		.WatchListInner {
-			height: 480px;
-			width:  480px;
-		}
-		
-		.WatchListDataGrid {
-			height: 480px;
-			width:  480px;
-		}
-		
-		.WatchListInputArea {
-			background-color: #FFFFFF;
-			width: 480px;
-			height: 25px;
-			padding-top: 5px;
-			padding-bottom: 2px;
-		}
-		
-		views|StockView {
-			width: 480px;
-			height: 640px;
-		}
-		
-		views|AlertsView {
-			width: 480px;
-			height: 640px;
-			IBeadController:ClassReference('controller.AlertsViewController');
-		}
-		
-		.redCell {
-			color: #FF0000;
-		}
-		
-		.greenCell {
-			color: #00FF00;
-		}
-		
-		.ViewTitle {
-			font-size: 18pt;
-			font-weight: bold;
-			padding: 10pt;
-		}
-		
-		.StockName {
-			font-size: 14pt;
-			font-weight: normal;
-			padding: 10pt;
-		}
-		
-		.StockDetailArea {
-			padding: 10pt;
-		}
-		
-		.StockLabel {
-			font-size: 18pt;
-			font-weight: normal;
-			color: #2255DD;
-		}
-		
-		.StockRemoveButton {
-			background-color: #FF5522;
-			font-size: 16pt;
-			font-weight: bold;
-			color: #FFFFFF;
-			width: 200px;
-			height: 50px;
-		}
-		
-		.StockRemoveButton:hover {
-			background-color: #DD3300;
-		}
-		
-		.StockValue {
-			font-size: 18pt;
-			font-weight: normal;
-			color: #999999;
-		}
-		
-		@media -flex-flash
-		{
-			.NavigationBar {
-				IBackgroundBead: ClassReference("org.apache.flex.html.beads.BackgroundImageBead");
-			}
-		}
-		
-	</fx:Style>
-	
-	<fx:Script>
-		<![CDATA[
-			import org.apache.flex.core.IBeadController;
-			import org.apache.flex.core.IBeadModel;
-			import org.apache.flex.events.Event;
-			import org.apache.flex.mobile.IView;
-			import org.apache.flex.mobile.IViewManager;
-			import org.apache.flex.mobile.chrome.NavigationBar;
-			
-			private function onInitComplete():void
-			{
-			}
-			
-			private function onAssetsNext():void
-			{
-				
-			}
-			
-			private function tabbedViewChanged(event:org.apache.flex.events.Event):void
-			{
-				var manager:IViewManager = event.currentTarget as IViewManager;
-				trace("TabbedViewChanged for "+manager);
-			}
-			
-			private function watchListStackChanged(event:org.apache.flex.events.Event):void
-			{
-				trace("watchlist stack changed");
-				var manager:StackedViewManager = event.currentTarget as StackedViewManager;
-				
-				var currentView:IView = manager.selectedView;
-				backButton.visible = manager.views.length > 1;
-			}
-			
-			private function goBack(event:org.apache.flex.events.Event):void
-			{
-				if (navController.selectedIndex == 1) {
-					watchListStack.pop();
-				}
-			}
-		]]>
-	</fx:Script>
-	
-	<basic:beads>
-		<basic:ViewBaseDataBinding />
-	</basic:beads>
-	
-	<basic:TabbedViewManager id="navController" width="480" height="640" x="0" y="0" viewChanged="tabbedViewChanged(event)">
-		<basic:navigationBarItems>
-			<basic:TextButton id="backButton" width="45" height="45" className="BackButton" visible="false" click="goBack(event)">
-				<basic:beads>
-					<apache:ImageButtonView />
-				</basic:beads>
-			</basic:TextButton>
-			<basic:Image source="assets/logo.png" width="218" height="55" />
-		</basic:navigationBarItems>
-		<basic:views>
-			<basic:StackedViewManager title="Assets">
-				<basic:views>
-					<views:AssetsView id="assetsView" title="Assets" next="onAssetsNext()" />
-				</basic:views>
-			</basic:StackedViewManager>
-			
-			<basic:StackedViewManager id="watchListStack" title="Watch List" viewChanged="watchListStackChanged(event)">
-				<basic:views>
-					<views:WatchListView id="watchListView" dataModel="{applicationModel}"/>
-				</basic:views>
-			</basic:StackedViewManager>
-			
-			<views:AlertsView id="alertsView" title="Alerts" dataModel="{applicationModel}" />
-		</basic:views>
-	</basic:TabbedViewManager>
-	
-</basic:ViewBase>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MobileTrader/src/StockDataJSONItemConverter.as
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/StockDataJSONItemConverter.as b/examples/MobileTrader/src/StockDataJSONItemConverter.as
deleted file mode 100755
index 5c21c26..0000000
--- a/examples/MobileTrader/src/StockDataJSONItemConverter.as
+++ /dev/null
@@ -1,40 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-package
-{    
-    import org.apache.flex.collections.converters.JSONItemConverter;
-    
-    public class StockDataJSONItemConverter extends JSONItemConverter
-    {
-        public function StockDataJSONItemConverter()
-        {
-            super();
-        }
-        
-        override public function convertItem(data:String):Object
-        {
-            var obj:Object = super.convertItem(data);
-			if (obj["query"]["count"] == 0)
-				return "No Data";
-			
-			obj = obj["query"]["results"]["quote"];
-			return obj;
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MobileTrader/src/assets/arrow_left_24.png
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/assets/arrow_left_24.png b/examples/MobileTrader/src/assets/arrow_left_24.png
deleted file mode 100755
index a3019ba..0000000
Binary files a/examples/MobileTrader/src/assets/arrow_left_24.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MobileTrader/src/assets/background.png
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/assets/background.png b/examples/MobileTrader/src/assets/background.png
deleted file mode 100755
index 87bbd59..0000000
Binary files a/examples/MobileTrader/src/assets/background.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d33fe63c/examples/MobileTrader/src/assets/logo.png
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/assets/logo.png b/examples/MobileTrader/src/assets/logo.png
deleted file mode 100755
index 0fb0f21..0000000
Binary files a/examples/MobileTrader/src/assets/logo.png and /dev/null differ


Mime
View raw message