You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ca...@apache.org on 2016/11/10 09:23:17 UTC
[10/53] git commit: [flex-asjs] [refs/heads/feature/mdl] - -
Refactored the directory structure of the example projects to be maven-style
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
deleted file mode 100755
index 951b1fa..0000000
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductList.mxml
+++ /dev/null
@@ -1,219 +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" borderWidth="1" 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
- {
- if (items == null)
- items = [];
-
- 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
- {
- //TODO scrollingView.model.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:VerticalLayout />
- <js:ScrollingViewport id="scrollingView" />
- </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/e75059f7/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
deleted file mode 100755
index 8e98c3b..0000000
--- a/examples/flexjs/FlexJSStore/src/productsView/ProductListItem.mxml
+++ /dev/null
@@ -1,140 +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;
- }
-
- public function get listData():Object
- {
- return null;
- }
-
- public function set listData(value:Object):void
- {
- // not used
- }
-
- 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" source="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/e75059f7/examples/flexjs/FlexJSStore/src/productsView/ProductSupport.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/productsView/ProductSupport.mxml b/examples/flexjs/FlexJSStore/src/productsView/ProductSupport.mxml
deleted file mode 100755
index b3c8429..0000000
--- a/examples/flexjs/FlexJSStore/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/e75059f7/examples/flexjs/FlexJSStore/src/samples/flexstore/ButtonBarButtonSkin.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/samples/flexstore/ButtonBarButtonSkin.as b/examples/flexjs/FlexJSStore/src/samples/flexstore/ButtonBarButtonSkin.as
deleted file mode 100755
index 5e94b58..0000000
--- a/examples/flexjs/FlexJSStore/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/e75059f7/examples/flexjs/FlexJSStore/src/samples/flexstore/Product.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/samples/flexstore/Product.as b/examples/flexjs/FlexJSStore/src/samples/flexstore/Product.as
deleted file mode 100755
index 040fb8f..0000000
--- a/examples/flexjs/FlexJSStore/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/e75059f7/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductFilter.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductFilter.as b/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductFilter.as
deleted file mode 100755
index d182371..0000000
--- a/examples/flexjs/FlexJSStore/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/e75059f7/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductFilterEvent.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductFilterEvent.as b/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductFilterEvent.as
deleted file mode 100755
index 28129e7..0000000
--- a/examples/flexjs/FlexJSStore/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/e75059f7/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductListEvent.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductListEvent.as b/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductListEvent.as
deleted file mode 100755
index b6b9371..0000000
--- a/examples/flexjs/FlexJSStore/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/e75059f7/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as b/examples/flexjs/FlexJSStore/src/samples/flexstore/ProductThumbEvent.as
deleted file mode 100755
index f92dc7f..0000000
--- a/examples/flexjs/FlexJSStore/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/e75059f7/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml b/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml
deleted file mode 100755
index e5621c0..0000000
--- a/examples/flexjs/FlexJSStore_jquery/src/FlexJSStore.mxml
+++ /dev/null
@@ -1,268 +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.
-
--->
-<jquery:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:js="library://ns.apache.org/flexjs/basic"
- xmlns:jquery="library://ns.apache.org/flexjs/jquery"
- xmlns="*"
- initialize="startService()"
- pageTitle="FlexStore">
-
- <fx:Script>
- <![CDATA[
- import org.apache.flex.core.ValuesManager;
-
- /*
- private var currentTheme:String = "beige";
-
- private function toggleTheme():void
- {
- if (currentTheme == "beige")
- {
- currentTheme = "blue";
- }
- else
- {
- currentTheme = "beige";
- }
-
- loadStyle();
- }
- */
-
- private function startService():void
- {
- productService.send();
- }
-
- private function loadStyle():void
- {
- /* load css not implemented yet
- var eventDispatcher:IEventDispatcher =
- styleManager.loadStyleDeclarations(currentTheme + ".swf");
- eventDispatcher.addEventListener(StyleEvent.COMPLETE, completeHandler);
- */
- }
-
- private function completeHandler(event:Event):void
- {
- image.source = ValuesManager.valuesImpl.getValue(acb, "storeLogo");
- /*
- super.initialized = true;
- */
- callLater.callLater(prebake);
- }
-
- /*
- override public function set initialized(value:Boolean):void
- {
- // Hold off until the Runtime CSS SWF is done loading.
- }
- */
-
- private var stateChain:Array;
-
- private function headHome():void
- {
- homeButton.selected = true;
- if (initialView.currentState == "ProductsState")
- {
- productsButton.selected = false;
- stateChain = ["ProductsWipeUp", "HomeWipeDown", "HomeState"];
- initialView.currentState = "ProductsWipeUp";
- }
- else if (initialView.currentState == "SupportState")
- {
- supportButton.selected = false;
- stateChain = ["SupportWipeUp", "HomeWipeDown", "HomeState"];
- initialView.currentState = "SupportWipeUp";
- }
- }
-
- private function headToProducts():void
- {
- productsButton.selected = true;
- if (initialView.currentState == "SupportState")
- {
- supportButton.selected = false;
- stateChain = ["SupportWipeUp", "ProductsWipeDown", "ProductsState"];
- initialView.currentState = "SupportWipeUp";
- }
- if (initialView.currentState == "HomeState")
- {
- homeButton.selected = false;
- stateChain = ["HomeWipeUp", "ProductsWipeDown", "ProductsState"];
- initialView.currentState = "HomeWipeUp";
- }
- }
-
- private function headToSupport():void
- {
- supportButton.selected = true;
- if (initialView.currentState == "ProductsState")
- {
- productsButton.selected = false;
- stateChain = ["ProductsWipeUp", "SupportWipeDown", "SupportState"];
- initialView.currentState = "ProductsWipeUp";
- }
- if (initialView.currentState == "HomeState")
- {
- homeButton.selected = false;
- stateChain = ["HomeWipeUp", "SupportWipeDown", "SupportState"];
- initialView.currentState = "HomeWipeUp";
- }
- }
-
- private function prebake():void
- {
- callLater.callLater(prebake2);
- }
-
- private function prebake2():void
- {
- trace("prebake2");
- stateChain = ["ProductsPreBake", "HomeState"];
- initialView.currentState = "ProductsPreBake";
- }
-
- private function chainStatesIfNeeded():void
- {
- if (stateChain != null)
- {
- if (initialView.currentState == stateChain[0])
- {
- callLater.callLater(nextState);
- }
- }
- }
-
- private function nextState():void
- {
- stateChain.shift();
- if (stateChain.length)
- initialView.currentState = stateChain[0];
- else
- stateChain = null;
- }
- ]]>
- </fx:Script>
-
- <fx:Style source="main.css"/>
- <fx:Style source="beige.css"/>
-
- <fx:Declarations>
- <js:HTTPService id="productService" url="data/catalog.json">
- <js:LazyCollection id="catalog" complete="if (pView) pView.catalog = catalog">
- <js:inputParser>
- <js:JSONInputParser />
- </js:inputParser>
- <js:itemConverter>
- <ProductJSONItemConverter />
- </js:itemConverter>
- </js:LazyCollection>
- </js:HTTPService>
- </fx:Declarations>
- <jquery:valuesImpl>
- <js:SimpleCSSValuesImpl />
- </jquery:valuesImpl>
- <jquery:beads>
- <js:CallLaterBead id="callLater" />
- <js:ApplicationDataBinding />
- </jquery:beads>
- <jquery:initialView>
- <js:View width="990" height="585"
- initComplete="completeHandler(null)"
- stateChangeComplete="chainStatesIfNeeded()">
- <js:states>
- <js:State name="HomeState" stateGroups="['Home']" />
- <js:State name="HomeWipeUp" stateGroups="['Home']" />
- <js:State name="HomeWipeDown" stateGroups="['Home']" />
- <js:State name="ProductsPreBake" stateGroups="['Home', 'Products']" />
- <js:State name="ProductsState" stateGroups="['Products']" />
- <js:State name="ProductsWipeUp" stateGroups="['Products']" />
- <js:State name="ProductsWipeDown" stateGroups="['Products']" />
- <js:State name="SupportState" stateGroups="['Support']" />
- <js:State name="SupportWipeUp" stateGroups="['Support']" />
- <js:State name="SupportWipeDown" stateGroups="['Support']" />
- </js:states>
-
- <js:transitions>
- <js:Transition fromState="HomeState" toState="HomeWipeUp">
- <js:Wipe direction="up" target="homeView" />
- </js:Transition>
- <js:Transition fromState="HomeWipeDown" toState="HomeState">
- <js:Wipe direction="down" target="homeView" />
- </js:Transition>
- <js:Transition fromState="ProductsState" toState="ProductsWipeUp">
- <js:Wipe direction="up" target="pView" />
- </js:Transition>
- <js:Transition fromState="ProductsWipeDown" toState="ProductsState">
- <js:Wipe direction="down" target="pView" />
- </js:Transition>
- <js:Transition fromState="SupportState" toState="SupportWipeUp">
- <js:Wipe direction="up" target="supportView" />
- </js:Transition>
- <js:Transition fromState="SupportWipeDown" toState="SupportState">
- <js:Wipe direction="down" target="supportView" />
- </js:Transition>
- </js:transitions>
- <js:beads>
- <js:VerticalLayout />
- </js:beads>
- <js:ControlBar id="acb" width="100%" className="storeControlBar" >
- <js:beads>
- <js:HorizontalLayout />
- </js:beads>
- <js:Image id="image" />
- <!-- click="toggleTheme()" -->
- <!-- toolTip="Change Theme"/ -->
- <jquery:ToggleTextButton id="homeButton"
- text="Home"
- height="100%"
- selected="true"
- className="storeButtonBar"
- click="headHome()" />
- <jquery:ToggleTextButton id="productsButton"
- text="Products"
- height="100%"
- className="storeButtonBar"
- click="headToProducts()"/>
- <jquery:ToggleTextButton id="supportButton"
- text="Support"
- height="100%"
- className="storeButtonBar"
- click="headToSupport()"/>
- </js:ControlBar>
- <js:Container width="990" >
- <js:style>
- <js:SimpleCSSStyles paddingLeft="0" paddingRight="0"/>
- </js:style>
-
- <HomeView id="homeView" width="100%" height="550" includeIn="Home"
- />
- <ProductsView id="pView" includeIn="Products" visible.ProductsPreBake="false"
- width="100%" height="550" initComplete="if (catalog.length) pView.catalog = catalog"
- />
- <SupportView id="supportView" includeIn="Support"
- width="100%" height="550"
- />
- </js:Container>
- </js:View>
- </jquery:initialView>
-</jquery:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml b/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml
deleted file mode 100755
index 1882c7e..0000000
--- a/examples/flexjs/FlexJSStore_jquery/src/HomeView.mxml
+++ /dev/null
@@ -1,195 +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.
-
--->
-<!--
-This component is primarily static and is only meant to show what other
-pages of the store could look like.
-
-Note that this page was put together in the Design view so you'll see more
-hard coded locations and sizes.
-
-Also note when working with a Canvas that using the constraint styles
-(e.g., left, top, right, bottom) can provide better layout predictability than
-using x and y, especially when percentage widths and heights are used.
-
-Width and height are hard-coded in the root tag to help the Design view.
--->
-<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:js="library://ns.apache.org/flexjs/basic"
- xmlns:jquery="library://ns.apache.org/flexjs/jquery"
- xmlns="*" width="990" height="550"
- initComplete="updateMapImage()">
- <fx:Script>
- <![CDATA[
- import org.apache.flex.core.ValuesManager;
- import org.apache.flex.html.SimpleAlert;
-
- public function updateMapImage():void
- {
- mapImage.source = ValuesManager.valuesImpl.getValue(mapCanvas, 'dottedMap');
- }
- ]]>
- </fx:Script>
- <js:beads>
- <js:ContainerDataBinding />
- </js:beads>
- <js:HContainer width="100%" height="100%" y="0" x="0" className="colorPanel">
- <js:VContainer width="230" height="100%">
- <js:Container width="100%" height="100%">
-
- <js:Container height="60" className="homeSection">
- <js:style>
- <js:SimpleCSSStyles backgroundColor="#ebebe9" left="10" top="10" right="10"/>
- </js:style>
- <js:Label style="left:10;top:10" text="Search Developers" height="22" className="sectionHeader" />
- <jquery:TextButton style="left:168;top:30" text="Go" width="27" height="20" className="glass" click="SimpleAlert.show('This feature is not implemented in this sample', 'Go')"/>
- <js:TextInput style="left:10;top:30" height="20" width="150"/>
- </js:Container>
-
- <js:Container height="280" className="homeSection">
- <js:style>
- <js:SimpleCSSStyles backgroundColor="#ffffff" left="10" top="78" right="10" />
- </js:style>
- <js:VContainer width="100%" height="100%">
- <js:style>
- <js:SimpleCSSStyles left="10" top="10" />
- </js:style>
- <js:Label text="Flex Experts That Can Help You" className="sectionHeader"/>
- <js:HRule height="5" width="187" style="marginLeft:0"/>
- <js:Label text="General" className="homeProgramHeader"/>
- <js:Label text="BlazeDS Experts" style="fontSize:9"/>
- <js:Spacer height="8" width="100%"/>
- <js:Label text="Server-side" className="homeProgramHeader"/>
- <js:Label text="Java, PHP Developers" style="fontSize:9"/>
- <js:Spacer height="8" width="100%"/>
- <js:Label text="Mobile" className="homeProgramHeader"/>
- <js:Label text="Android, IOS and more" style="fontSize:9"/>
- <js:Spacer height="8" width="100%"/>
- <js:Label text="Students" className="homeProgramHeader"/>
- <js:Label text="Free Assistance" style="fontSize:9"/>
- <js:Spacer height="8" width="100%"/>
- </js:VContainer>
- </js:Container>
-
- <js:Container height="174" className="homeSection">
- <js:style>
- <js:SimpleCSSStyles backgroundColor="#ebebe9" left="10" top="366" right="10" />
- </js:style>
- <js:VContainer width="100%" height="100%">
- <js:style>
- <js:SimpleCSSStyles left="10" top="10" />
- </js:style>
- <js:Label text="Manage My Account" className="sectionHeader"/>
-
- <js:Label text="Phone Number"/>
-
- <js:HContainer width="100%" height="25" >
- <js:style>
- <js:SimpleCSSStyles verticalAlign="middle" />
- </js:style>
- <js:TextInput height="20" width="40"/>
- <js:HRule width="8" height="2"/>
- <js:TextInput height="20" width="40"/>
- <js:HRule width="8" height="2"/>
- <js:TextInput height="20" width="40"/>
- </js:HContainer>
-
- <js:Label text="Password"/>
- <js:TextInput height="20"/>
- <js:Spacer height="8" width="100%"/>
-
- <jquery:CheckBox text="Remember my phone number" selected="true"/>
- <js:Spacer height="8" width="100%"/>
-
- <jquery:TextButton text="Login" className="glass" height="20" width="55" click="SimpleAlert.show('This feature is not implemented in this sample', 'Login')"/>
-
- </js:VContainer>
- </js:Container>
-
- </js:Container>
-
- </js:VContainer>
-
- <js:VContainer width="750" height="100%">
- <js:Container width="100%" height="100%">
-
- <!-- can't use binding to set the mapImage source because the style isn't available early enough -->
- <js:Container id="mapCanvas" height="35%" className="homeMap">
- <js:style>
- <js:SimpleCSSStyles left="0" right="10" top="10" />
- </js:style>
- <js:Image id="mapImage" width="487" height="100%" alpha="1.0" style="left:10;top:10"/>
- <js:Label y="110" text="US Developers . Flex . FlexJS" width="95%" height="40" style="margin:auto;fontWeight:'bold';fontSize:22;color:#ffffff;fontFamily:'Arial';textAlign:'center'"/>
- <js:Label text="Learn More >>" width="95" style="fontSize:12;fontFamily:'Arial';bottom:10;right:10"/>
- <js:Label text="$60/hr" style="color:#ffffff;fontWeight:'bold';fontFamily:'Arial';fontSize:20;right:10:top:10"/>
- <js:Label text="Rates as low as" x="551" y="16" style="fontSize:12"/>
- </js:Container>
-
- <js:Container height="330" >
- <js:style>
- <js:SimpleCSSStyles backgroundColor="#ffffff" borderStyle="solid" bottom="10" right="10" left="0" /> <!-- cornerRadius="4" -->
- </js:style>
-
- <js:Label style="left:10;top:10" text="Featured Developers" width="173" height="25" className="sectionHeader"/>
-
- <js:HContainer style="left:10;top:43" width="100%" height="100%">
- <js:VContainer width="33%" height="100%">
- <js:Container width="100%">
- <js:Image id="image1" source="assets/akotter.jpg" style="margin:auto;verticalCenter:0"/>
- </js:Container>
-
- <js:Container width="100%">
- <js:Label text="Annette Kotter" id="feat_prod_1" style="margin:auto;fontWeight:'bold';fontSize:12"/>
- </js:Container>
-
- </js:VContainer>
-
- <js:VContainer width="33%" height="100%">
- <js:Container width="100%">
- <js:Image id="image2" style="margin:auto;verticalCenter:0" source="assets/bcrater.jpg"/>
- </js:Container>
-
- <js:Container width="100%">
- <js:Label text="Ben Crater" id="feat_prod_2" style="margin:auto;fontWeight:'bold';fontSize:12"/>
- </js:Container>
-
- </js:VContainer>
-
- <js:VContainer width="33%" height="100%">
- <js:Container width="100%">
- <js:Image id="image3" style="margin:auto;verticalCenter:0" source="assets/jproctor.jpg"/>
- </js:Container>
-
- <js:Container width="100%">
- <js:Label text="Jane Proctor" id="feat_prod_3" style="margin:auto;fontWeight:'bold';fontSize:12"/>
- </js:Container>
-
- </js:VContainer>
-
- </js:HContainer>
-
- </js:Container>
-
- </js:Container>
-
- </js:VContainer>
-
- </js:HContainer>
-
-</js:Container>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/ProductJSONItemConverter.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/ProductJSONItemConverter.as b/examples/flexjs/FlexJSStore_jquery/src/ProductJSONItemConverter.as
deleted file mode 100755
index cb27bde..0000000
--- a/examples/flexjs/FlexJSStore_jquery/src/ProductJSONItemConverter.as
+++ /dev/null
@@ -1,41 +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;
-
- import samples.flexstore.Product;
-
- public class ProductJSONItemConverter extends JSONItemConverter
- {
- public function ProductJSONItemConverter()
- {
- super();
- }
-
- override public function convertItem(data:String):Object
- {
- var obj:Object = super.convertItem(data);
- var product:Product = new Product();
- for (var p:String in obj)
- product[p] = obj[p];
- return product;
- }
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/ProductsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/ProductsView.mxml b/examples/flexjs/FlexJSStore_jquery/src/ProductsView.mxml
deleted file mode 100755
index 70fccd1..0000000
--- a/examples/flexjs/FlexJSStore_jquery/src/ProductsView.mxml
+++ /dev/null
@@ -1,121 +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.
-
--->
-<!-- width and height hard-coded in the root tag to better support the
- Design view in FlexBuilder since we know the width and height from the
- settings in flexstore.mxml -->
-<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:js="library://ns.apache.org/flexjs/basic"
- xmlns:productsView="productsView.*"
- width="990" height="550"
- currentState="showFilter"
- >
-
- <fx:Script>
- <![CDATA[
- import org.apache.flex.events.Event;
- import org.apache.flex.collections.LazyCollection;
- import samples.flexstore.Product;
-
- private var _catalog:LazyCollection;
-
- [Bindable("catalogChange")]
- public function get catalog():LazyCollection
- {
- return _catalog;
- }
-
- public function set catalog(c:LazyCollection):void
- {
- _catalog = c;
- if (filterPanel != null)
- {
- filterPanel.filter.count = c.length;
- }
- dispatchEvent(new org.apache.flex.events.Event("catalogChange"));
- }
-
- public function addToCompare(product:Product):void
- {
- //setting the state before adding the product avoids jumpiness in the transition, not sure why
- currentState = 'showFilter';
- filterPanel.productList.addProduct(product);
- }
-
- public function addToCart(product:Product):void
- {
- //setting the state before adding the product avoids jumpiness in the transition, not sure why
- currentState = 'showCart';
- cartPanel.productList.addProduct(product);
- }
-
-
- ]]>
- </fx:Script>
- <js:beads>
- <js:ContainerDataBinding />
- </js:beads>
- <js:Container
- className="colorPanel"
- height="100%" width="100%"
- >
- <js:beads>
- <js:OneFlexibleChildHorizontalLayout flexibleChild="spacer" />
- </js:beads>
- <productsView:Grip id="filterGrip" gripIcon="assets/icon_magnifier.png"
- gripTip="Show filter panel" click="currentState = 'showFilter'"/>
-
- <productsView:ProductFilterPanel x="{filterGrip.width}" y="0" id="filterPanel" width="265" height="100%"
- filter="catalogPanel.filter(event.filter, event.live)"
- compare="catalogPanel.compare(filterPanel.productList.getProducts())"
- initComplete="if (catalog) filterPanel.filter.count = catalog.length"/>
-
- <js:Spacer id="spacer" />
-
- <productsView:ProductCart id="cartPanel" width="265" height="100%" />
-
- <productsView:Grip id="cartGrip" gripIcon="assets/icon_cart_empty.png"
- gripTip="Show cart" click="currentState = 'showCart'" />
-
- </js:Container>
-
- <productsView:ProductCatalogPanel id="catalogPanel" y="4" width="685" height="540"
- x.showFilter="288" x.showCart="0"
- catalog="{catalog}"
- compare="addToCompare(event.product)"
- purchase="addToCart(event.product)"
- cartCount="{cartPanel.numProducts}">
- </productsView:ProductCatalogPanel>
-
- <js:states>
- <js:State name="showFilter" />
- <js:State name="showCart" />
- </js:states>
-
- <!--
- make sure to use transitions here instead of applying a Move effect
- to the Panel itself which will result in odd behavior
- -->
- <js:transitions>
- <js:Transition fromState="*" toState="*">
- <js:Move target="catalogPanel" />
- </js:Transition>
- </js:transitions>
-
-</js:Container>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml b/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml
deleted file mode 100755
index ab3eea7..0000000
--- a/examples/flexjs/FlexJSStore_jquery/src/SupportView.mxml
+++ /dev/null
@@ -1,149 +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.
-
--->
-<!--
-This component is primarily static and is only meant to show what other
-pages of the store could look like.
-
-Note that this page was put together in the Design view so you'll see more
-hard coded locations and sizes.
-
-We did not have sizing issues here as much so you'll see more hardcoded
-"y" values rather than "top."
-
-The width and height are hard-coded in the root tag to help the Design view.
--->
-<js:Container xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:js="library://ns.apache.org/flexjs/basic"
- xmlns="*" alpha="1.0"
- width="990" height="550">
-
- <fx:Script>
- <![CDATA[
- import org.apache.flex.html.SimpleAlert;
- ]]>
- </fx:Script>
-
- <fx:Declarations>
- <fx:Array id="locations">
- <fx:Object image="assets/support_mapmarker_a.png" name="601 Townsend St" />
- <fx:Object image="assets/support_mapmarker_b.png" name="Location B" />
- <fx:Object image="assets/support_mapmarker_c.png" name="Location C" />
- </fx:Array>
-
- </fx:Declarations>
-
- <js:HContainer x="0" y="0" width="100%" height="100%" className="colorPanel">
-
- <js:VContainer width="32%" height="100%">
- <js:Container width="100%" height="420">
-
- <js:Label y="10" text="Check Location" className="sectionHeader" x="20"/>
-
- <js:Container height="150" y="64" style="margin:auto">
- <js:beads>
- <js:VerticalColumnLayout numColumns="2" />
- </js:beads>
- <js:Label text="Address:"/>
- <js:TextInput id="address"/>
-
- <js:Label text="City:" style="marginTop:20"/>
- <js:TextInput id="city" style="marginTop:20"/>
-
- <js:Label text="State:" style="marginTop:20"/>
- <js:DropDownList id="state" style="marginTop:20">
- <js:dataProvider>
- <fx:Array>
- <fx:String>California</fx:String>
- <fx:String>Nevada</fx:String>
- <fx:String>Oregon</fx:String>
- <fx:String>Washington</fx:String>
- </fx:Array>
- </js:dataProvider>
- </js:DropDownList>
-
- <js:Label text="ZIP Code:" style="marginTop:20"/>
- <js:TextInput id="zip" style="marginTop:20"/>
-
- </js:Container>
-
- <js:Label y="38" text="Option1: Enter Address" style="margin:auto" className="instructions"/>
-
- <js:TextButton y="297" text="Locate" click="SimpleAlert.show('This feature is not implemented in this sample', 'Locate')"
- style="margin:auto"/>
-
- <js:HContainer y="327" height="20" >
- <js:style>
- <js:SimpleCSSStyles margin="auto" verticalAlign="middle" />
- </js:style>
- <js:HRule width="60" />
- <js:Label text="OR"/>
- <js:HRule width="60" />
- </js:HContainer>
-
- <js:Label y="355" text="Option 2: Drag this marker into the map" style="margin:auto" className="instructions"/>
-
- <js:Image y="380" style="margin:auto" source="assets/support_mapmarker_plus.png"/>
-
- <js:HRule y="415" style="margin:auto" width="200" alpha="0.6"/>
-
- </js:Container>
-
- <js:Container width="100%" height="130">
- <js:VContainer width="80%" height="90%" >
- <js:style>
- <js:SimpleCSSStyles margin="auto" top="0"/>
- </js:style>
- <js:Label text="Location" className="instructions"/>
- <js:List width="100%" dataProvider="{locations}">
- <js:itemRenderer>
- <fx:Component>
- <js:DataItemRenderer className="listItem" width="100%">
- <fx:Script>
- <![CDATA[
- import samples.flexstore.Product;
- [Bindable("__NoChangeEvent__")]
- private function get product():Product
- {
- return data as Product;
- }
- ]]>
- </fx:Script>
- <js:Image width="21" height="25" source="{product.image}" />
- <js:Label width="100%" text="{product.name}" />
- </js:DataItemRenderer>
- </fx:Component>
- </js:itemRenderer>
- </js:List>
- </js:VContainer>
- </js:Container>
-
- </js:VContainer>
-
- <js:Container width="68%" height="100%">
- <js:Image source="assets/427px-Bayarea_map.png">
- <js:style>
- <js:SimpleCSSStyles left="12" top="12"/>
- </js:style>
- </js:Image>
- </js:Container>
-
- </js:HContainer>
-
-</js:Container>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/427px-Bayarea_map.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/427px-Bayarea_map.png b/examples/flexjs/FlexJSStore_jquery/src/assets/427px-Bayarea_map.png
deleted file mode 100644
index a183699..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/427px-Bayarea_map.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/akotter.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/akotter.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/akotter.jpg
deleted file mode 100755
index 1124b71..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/akotter.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/bcrater.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/bcrater.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/bcrater.jpg
deleted file mode 100755
index fd15d59..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/bcrater.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/beige_background.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/beige_background.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/beige_background.jpg
deleted file mode 100755
index 8f034ba..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/beige_background.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/beige_dotted_map.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/beige_dotted_map.png b/examples/flexjs/FlexJSStore_jquery/src/assets/beige_dotted_map.png
deleted file mode 100755
index e88d9ef..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/beige_dotted_map.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/blue_background.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/blue_background.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/blue_background.jpg
deleted file mode 100755
index 361ce0e..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/blue_background.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/blue_dotted_map.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/blue_dotted_map.png b/examples/flexjs/FlexJSStore_jquery/src/assets/blue_dotted_map.png
deleted file mode 100755
index 5fa6714..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/blue_dotted_map.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_empty.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_empty.png b/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_empty.png
deleted file mode 100644
index 0e1a2b5..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_empty.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_full.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_full.png b/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_full.png
deleted file mode 100644
index 9c9eea0..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/button_cart_full.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/button_compare.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/button_compare.png b/examples/flexjs/FlexJSStore_jquery/src/assets/button_compare.png
deleted file mode 100644
index c2ac969..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/button_compare.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/button_details.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/button_details.png b/examples/flexjs/FlexJSStore_jquery/src/assets/button_details.png
deleted file mode 100644
index 3e6238c..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/button_details.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/button_tiles.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/button_tiles.png b/examples/flexjs/FlexJSStore_jquery/src/assets/button_tiles.png
deleted file mode 100644
index 4266a22..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/button_tiles.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/grip.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/grip.png b/examples/flexjs/FlexJSStore_jquery/src/assets/grip.png
deleted file mode 100755
index 64ee835..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/grip.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/icon_cart_empty.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_cart_empty.png b/examples/flexjs/FlexJSStore_jquery/src/assets/icon_cart_empty.png
deleted file mode 100644
index 562064b..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_cart_empty.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/icon_compare.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_compare.png b/examples/flexjs/FlexJSStore_jquery/src/assets/icon_compare.png
deleted file mode 100644
index efc3ea1..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_compare.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/icon_magnifier.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_magnifier.png b/examples/flexjs/FlexJSStore_jquery/src/assets/icon_magnifier.png
deleted file mode 100755
index 939f814..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_magnifier.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/icon_tiles.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_tiles.png b/examples/flexjs/FlexJSStore_jquery/src/assets/icon_tiles.png
deleted file mode 100644
index dbf75b6..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/icon_tiles.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/jproctor.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/jproctor.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/jproctor.jpg
deleted file mode 100755
index 1111787..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/jproctor.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/logo_blue.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/logo_blue.png b/examples/flexjs/FlexJSStore_jquery/src/assets/logo_blue.png
deleted file mode 100755
index 85bad70..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/logo_blue.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/logo_orange.png
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/logo_orange.png b/examples/flexjs/FlexJSStore_jquery/src/assets/logo_orange.png
deleted file mode 100755
index e3ff7a6..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/logo_orange.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/abrilliam.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/abrilliam.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/abrilliam.jpg
deleted file mode 100755
index 6954858..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/abrilliam.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/akotter.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/akotter.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/akotter.jpg
deleted file mode 100755
index 1124b71..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/akotter.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bcrater.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bcrater.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bcrater.jpg
deleted file mode 100755
index fd15d59..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bcrater.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bleporte.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bleporte.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bleporte.jpg
deleted file mode 100755
index c4769e8..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bleporte.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bvanbrocklin.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bvanbrocklin.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bvanbrocklin.jpg
deleted file mode 100755
index 489fa2e..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/bvanbrocklin.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ccarpenter.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ccarpenter.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ccarpenter.jpg
deleted file mode 100755
index c1dc3d8..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ccarpenter.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/clampberto.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/clampberto.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/clampberto.jpg
deleted file mode 100755
index 9deacd2..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/clampberto.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/davenon.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/davenon.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/davenon.jpg
deleted file mode 100755
index 6a2a142..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/davenon.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dmcgoyal.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dmcgoyal.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dmcgoyal.jpg
deleted file mode 100755
index 1124b71..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dmcgoyal.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dwillhelm.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dwillhelm.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dwillhelm.jpg
deleted file mode 100755
index fd15d59..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/dwillhelm.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/esunderland.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/esunderland.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/esunderland.jpg
deleted file mode 100755
index c4769e8..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/esunderland.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/jproctor.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/jproctor.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/jproctor.jpg
deleted file mode 100755
index 1111787..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/jproctor.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/mfields.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/mfields.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/mfields.jpg
deleted file mode 100755
index 489fa2e..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/mfields.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/pdempsey.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/pdempsey.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/pdempsey.jpg
deleted file mode 100755
index 9deacd2..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/pdempsey.jpg and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e75059f7/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ptranep.jpg
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ptranep.jpg b/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ptranep.jpg
deleted file mode 100755
index 4b9a03b..0000000
Binary files a/examples/flexjs/FlexJSStore_jquery/src/assets/pic/ptranep.jpg and /dev/null differ