flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [34/50] [abbrv] git commit: [flex-utilities] [refs/heads/master] - reduced size of image
Date Sat, 23 Aug 2014 04:45:41 GMT
reduced size of image


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/b3524241
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/b3524241
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/b3524241

Branch: refs/heads/master
Commit: b352424178c8c7ca38f63ab7f2783da890b24e43
Parents: b6a8505
Author: Justin Mclean <jmclean@apache.org>
Authored: Mon Aug 18 14:36:08 2014 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Mon Aug 18 14:36:08 2014 +1000

----------------------------------------------------------------------
 TourDeFlex/TourDeFlex3/src/spark/controls/ImageExample.mxml    | 4 ++--
 .../TourDeFlex3/src/spark/controls/Scroller2Example.mxml       | 2 +-
 TourDeFlex/TourDeFlex3/src/spark/effects/FadeExample.mxml      | 2 +-
 TourDeFlex/TourDeFlex3/src/spark/effects/Move3DExample.mxml    | 2 +-
 TourDeFlex/TourDeFlex3/src/spark/effects/Rotate3DExample.mxml  | 2 +-
 TourDeFlex/TourDeFlex3/src/spark/effects/Scale3DExample.mxml   | 6 +++---
 TourDeFlex/TourDeFlex3/src/spark/effects/WipeExample.mxml      | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3524241/TourDeFlex/TourDeFlex3/src/spark/controls/ImageExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/spark/controls/ImageExample.mxml b/TourDeFlex/TourDeFlex3/src/spark/controls/ImageExample.mxml
index d139d1b..f3473b7 100644
--- a/TourDeFlex/TourDeFlex3/src/spark/controls/ImageExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/spark/controls/ImageExample.mxml
@@ -54,7 +54,7 @@
 				<s:VerticalLayout paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"/>
 			</s:layout>
 			<s:Label color="0x323232" text="Sample of image embeded at compile time." />
-			<mx:Image id="embededImage" source="@Embed('assets/ApacheFlexLogo.png')" creationComplete="smoothImage(event);"/>
+			<mx:Image id="embededImage" width="50%" height="50%" source="@Embed('assets/ApacheFlexLogo.png')"
creationComplete="smoothImage(event);"/>
 		</s:BorderContainer>
 		
 		<s:BorderContainer width="50%" borderColor="0xACACAC" height="100%" borderStyle="solid">
@@ -63,7 +63,7 @@
 				<s:VerticalLayout paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"/>
 			</s:layout>
 			<s:Label color="0x323232" text="Sample of image loaded at run-time." />
-			<mx:Image id="loadedImage" source="assets/ApacheFlexLogo.png" creationComplete="smoothImage(event);"/>
+			<mx:Image id="loadedImage" width="50%" height="50%" source="assets/ApacheFlexLogo.png"
creationComplete="smoothImage(event);"/>
 		</s:BorderContainer>
 	</s:Panel>
 	

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3524241/TourDeFlex/TourDeFlex3/src/spark/controls/Scroller2Example.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/spark/controls/Scroller2Example.mxml b/TourDeFlex/TourDeFlex3/src/spark/controls/Scroller2Example.mxml
index d960837..c6768bc 100644
--- a/TourDeFlex/TourDeFlex3/src/spark/controls/Scroller2Example.mxml
+++ b/TourDeFlex/TourDeFlex3/src/spark/controls/Scroller2Example.mxml
@@ -48,7 +48,7 @@
 		<!-- The fields are tab-able within the VGroup container -->
 		<s:HGroup horizontalCenter="0" top="10">
 			<s:VGroup left="0" horizontalAlign="center" width="20%">
-				<s:BitmapImage id="img" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
+				<s:BitmapImage id="img" width="200" height="200" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
 				<s:Label text="Item For Sale"/>
 			</s:VGroup>
 			<s:Scroller tabEnabled="true" hasFocusableChildren="true">

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3524241/TourDeFlex/TourDeFlex3/src/spark/effects/FadeExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/spark/effects/FadeExample.mxml b/TourDeFlex/TourDeFlex3/src/spark/effects/FadeExample.mxml
index e2dba36..54d62c4 100644
--- a/TourDeFlex/TourDeFlex3/src/spark/effects/FadeExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/spark/effects/FadeExample.mxml
@@ -47,7 +47,7 @@
 						  label="Fade" click="fadeEffect.play();"/>
 			</s:VGroup>
 			
-			<s:BitmapImage id="targetImg" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
+			<s:BitmapImage id="targetImg" width="200" height="200" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
 			
 			<s:VGroup width="100%" >
 				<s:Label text="Fade Sample" fontSize="18" color="#B7B6B6"/>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3524241/TourDeFlex/TourDeFlex3/src/spark/effects/Move3DExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/spark/effects/Move3DExample.mxml b/TourDeFlex/TourDeFlex3/src/spark/effects/Move3DExample.mxml
index fda6db2..b40ada6 100644
--- a/TourDeFlex/TourDeFlex3/src/spark/effects/Move3DExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/spark/effects/Move3DExample.mxml
@@ -85,7 +85,7 @@
 						  label="Move Image" click="moveEffect.play();"/>
 			</s:VGroup>
 			<s:HGroup horizontalCenter="0" height="30%" verticalAlign="middle" width="40%">
-				<s:BitmapImage id="targetImg" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
			
+				<s:BitmapImage id="targetImg" width="200" height="200" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
			
 			</s:HGroup>
 			<s:VGroup top="0" right="5" horizontalAlign="right" width="30%">
 				<s:Label text="Move3D Effect Sample" fontSize="18" color="#B7B6B6"/>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3524241/TourDeFlex/TourDeFlex3/src/spark/effects/Rotate3DExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/spark/effects/Rotate3DExample.mxml b/TourDeFlex/TourDeFlex3/src/spark/effects/Rotate3DExample.mxml
index 8d7f0b3..5134671 100644
--- a/TourDeFlex/TourDeFlex3/src/spark/effects/Rotate3DExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/spark/effects/Rotate3DExample.mxml
@@ -100,7 +100,7 @@
 						  label="Rotate Image" click="rotateEffect.play();"/>
 			</s:VGroup>
 			<s:HGroup horizontalCenter="0" height="60%" verticalAlign="middle" width="10%">
-				<s:BitmapImage id="targetImg" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
+				<s:BitmapImage id="targetImg" width="200" height="200" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
 			</s:HGroup>
 			<s:VGroup top="0" right="5" horizontalAlign="right">
 				<s:Label text="Rotate3D Effect Sample" fontSize="18" color="#B7B6B6"/>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3524241/TourDeFlex/TourDeFlex3/src/spark/effects/Scale3DExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/spark/effects/Scale3DExample.mxml b/TourDeFlex/TourDeFlex3/src/spark/effects/Scale3DExample.mxml
index afb5702..c6fd840 100644
--- a/TourDeFlex/TourDeFlex3/src/spark/effects/Scale3DExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/spark/effects/Scale3DExample.mxml
@@ -56,7 +56,7 @@
 	<fx:Declarations>
 		<s:Scale3D id="scaleEffect" target="{targetImg}" 
 				   scaleXFrom="1.0" scaleXTo="{Number(xVal.text)}" 
-				   scaleYFrom="1.0" scaleYBy="{Number(yVal.text)}" 
+				   scaleYFrom="1.0" scaleYTo="{Number(yVal.text)}" 
 				   scaleZFrom="1.0" scaleZTo="{Number(zVal.text)}"
 				   duration="{duration.value}"
 				   repeatCount="{repeatCnt.value}" repeatBehavior="{chkReverse.selected?'reverse':'loop'}"
@@ -77,7 +77,7 @@
 					<s:TextInput id="xVal" text="1.0" widthInChars="3"/>
 				</s:HGroup>
 				<s:HGroup verticalAlign="middle">
-					<s:Label text="Scale Y By" verticalAlign="bottom"/>
+					<s:Label text="Scale Y To" verticalAlign="bottom"/>
 					<s:TextInput id="yVal" text="1.0" widthInChars="3"/>
 				</s:HGroup>
 				<s:HGroup verticalAlign="middle">
@@ -101,7 +101,7 @@
 						  label="Scale Image" click="scaleEffect.play();"/>
 			</s:VGroup>
 			<s:HGroup horizontalCenter="0" height="30%" verticalAlign="middle" width="40%">
-				<s:BitmapImage id="targetImg" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
			
+				<s:BitmapImage id="targetImg" width="200" height="200" source="@Embed(source='assets/ApacheFlexLogo.png')"/>
			
 			</s:HGroup>
 			<s:VGroup top="0" right="5" horizontalAlign="right" width="30%">
 				<s:Label text="Scale3D Effect Sample" fontSize="18" color="#B7B6B6"/>

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b3524241/TourDeFlex/TourDeFlex3/src/spark/effects/WipeExample.mxml
----------------------------------------------------------------------
diff --git a/TourDeFlex/TourDeFlex3/src/spark/effects/WipeExample.mxml b/TourDeFlex/TourDeFlex3/src/spark/effects/WipeExample.mxml
index 451ee18..ac96897 100644
--- a/TourDeFlex/TourDeFlex3/src/spark/effects/WipeExample.mxml
+++ b/TourDeFlex/TourDeFlex3/src/spark/effects/WipeExample.mxml
@@ -45,7 +45,7 @@
 					<s:BitmapImage
 						source="@Embed('assets/back.png')"
 						visible="true" visible.flipped="false"/>
-					<s:BitmapImage
+					<s:BitmapImage width="200" height="200" 
 						source="@Embed('assets/ApacheFlexLogo.png')"
 						visible="false" visible.flipped="true"/>
 					


Mime
View raw message