Skip to content
Browse files

Merge pull request #2 from GarthDB/master.

Updated 4.5
  • Loading branch information...
2 parents af60098 + 0645103 commit 4fc31e7479be2fce04b5710f5953edb95917a1e6 @joelhooks joelhooks committed May 4, 2011
View
3 FlickrImageGallery/src/org/robotlegs/demos/imagegallery/views/components/GalleryHeader.mxml
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx"
width="100%"
height="30">
<s:layout>
<s:HorizontalLayout verticalAlign="middle"/>
</s:layout>
- <mx:Image id="logo"
+ <s:Image id="logo"
verticalCenter="0"
horizontalCenter="0"
source="assets/RobotLegsLogoSmallWeb.png"/>
View
4 FlickrImageGallery/src/org/robotlegs/demos/imagegallery/views/components/GallerySearch.mxml
@@ -10,7 +10,7 @@
http://joelhooks.com
joelhooks@gmail.com
-->
-<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
+<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
<s:layout>
<s:HorizontalLayout/>
</s:layout>
@@ -27,7 +27,7 @@
]]>
</fx:Script>
- <mx:Spacer width="100%"/>
+ <s:Spacer width="100%"/>
<s:TextInput id="searchTermInput" enter="handleSearch()"/>
<s:Button id="submitSearchButton" label="search" enabled="{this.searchTermInput.text.length &gt; 3}" click="handleSearch()"/>
</s:Group>
View
11 FlickrImageGallery/src/org/robotlegs/demos/imagegallery/views/components/GalleryView.mxml
@@ -13,7 +13,6 @@
<s:Group
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx"
width="500" height="600"
creationComplete="creationCompleteHandler(event)" xmlns:display="com.joelhooks.display.*" xmlns:components="org.robotlegs.demos.imagegallery.views.components.*">
@@ -77,12 +76,10 @@
<s:Rect width="100%" height="100%">
<s:fill>
- <mx:LinearGradient rotation="90">
- <mx:entries>
- <mx:GradientEntry color="#333333"/>
- <mx:GradientEntry color="#111111"/>
- </mx:entries>
- </mx:LinearGradient>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="#333333"/>
+ <s:GradientEntry color="#111111"/>
+ </s:LinearGradient>
</s:fill>
</s:Rect>
</s:Group>
View
22 ...legs/demos/imagegallery/views/components/renderers/GalleryImageThumbnailItemRenderer.mxml
@@ -12,8 +12,7 @@
-->
<s:ItemRenderer
xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/mx"
+ xmlns:s="library://ns.adobe.com/flex/spark"
width="85"
height="85"
selected="{this.image.selected}">
@@ -42,25 +41,22 @@
<s:BasicLayout/>
</s:layout>
<s:states>
- <mx:State name="normal" />
- <mx:State name="hovered" />
- <mx:State name="selected"/>
+ <s:State name="normal" />
+ <s:State name="hovered" />
+ <s:State name="selected"/>
</s:states>
<s:Rect left="5" right="5" top="5" bottom="5" >
<s:stroke>
<s:SolidColorStroke color="#000000" color.selected="#FF0000" />
</s:stroke>
<s:fill>
-
- <mx:LinearGradient rotation="90">
- <mx:entries>
- <mx:GradientEntry color="#000000"/>
- <mx:GradientEntry color="#000000"/>
- </mx:entries>
- </mx:LinearGradient>
+ <s:LinearGradient rotation="90">
+ <s:GradientEntry color="#000000"/>
+ <s:GradientEntry color="#000000"/>
+ </s:LinearGradient>
</s:fill>
</s:Rect>
- <mx:Image
+ <s:Image
x="5" y="5"
source="{image.thumbURL}"
alpha.hovered="1" alpha.selected="1" alpha=".9" click="clickHandler(event)"/>

0 comments on commit 4fc31e7

Please sign in to comment.
Something went wrong with that request. Please try again.