flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370000 [6/6] - in /incubator/flex/trunk/mustella/tests/Validators: ./ CreditCardValidator/ CreditCardValidator/Properties/ CreditCardValidator/Properties/baselines/ CreditCardValidator/SWFs/ CurrencyValidator/ CurrencyValidator/Properties...
Date Mon, 06 Aug 2012 20:44:04 GMT
Added: incubator/flex/trunk/mustella/tests/Validators/StringValidator/Properties/baselines/tooShortError1_spark_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/StringValidator/Properties/baselines/tooShortError1_spark_spark.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/StringValidator/Properties/baselines/tooShortError1_spark_spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/StringValidator/Properties/baselines/tooShortError_spark_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/StringValidator/Properties/baselines/tooShortError_spark_spark.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/StringValidator/Properties/baselines/tooShortError_spark_spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/CustomSV.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/CustomSV.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/CustomSV.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/CustomSV.mxml Mon
Aug  6 20:43:57 2012
@@ -0,0 +1,14 @@
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" >
+	<mx:Script>
+	<![CDATA[
+	import mx.controls.TextInput;
+	import 	mx.validators.StringValidator;
+	import mx.managers.SystemManager;
+	
+	]]>
+	</mx:Script>
+	
+	<mx:TextInput id="ti1" />
+	<mx:StringValidator id="mySV" source="{ti1}"/>	
+	<mx:Button id="bt" />
+</mx:VBox>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.compile?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.compile
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.compile
Mon Aug  6 20:43:57 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic.mxml
Mon Aug  6 20:43:57 2012
@@ -0,0 +1,49 @@
+<?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.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" height="375" width="500"
xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*">
+	<mx:Style>
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+	
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+				fontWeight: bold;
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+	
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+				fontStyle: italic;
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+			
+			global{
+				fontAntiAliasType: "normal";
+				fontFamily: myVerdana;
+			}
+	
+	</mx:Style>
+	<local:CustomSV id="myCustomSV"/>
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic_spark.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic_spark.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/StringValidator/SWFs/Validators_StringValidator_Basic_spark.mxml
Mon Aug  6 20:43:57 2012
@@ -0,0 +1,49 @@
+<?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.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF"  height="375" width="500" xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*">
+	<mx:Style>
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+	
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+				fontWeight: bold;
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+	
+			@font-face{
+				src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+				fontStyle: italic;
+				fontFamily: myVerdana;
+				embedAsCFF: false;
+			}
+			
+			global{
+				fontAntiAliasType: "normal";
+				fontFamily: myVerdana;
+			}
+	
+	</mx:Style>
+	<local:CustomSV id="myCustomSV"/>
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties.mxml
Mon Aug  6 20:43:57 2012
@@ -0,0 +1,211 @@
+<?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.
+
+-->
+<UnitTester testDir="Validators/ZipCodeValidator/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="*" testSWF="Validators_ZipCode_Basic.mxml">
+
+	<!-- this set of lines form a tZCplate that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	import mx.controls.TextInput;
+	import mx.validators.ZipCodeValidator;
+	import mx.validators.ValidationResult;
+	import mx.managers.SystemManager;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+		<TestCase testID="ZipCodeValidator_default"  keywords="[allowedFormatChars, ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars1"  keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563-4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars2"  keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563 4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_domain"  keywords="[domain, ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563 4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars3"  keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="allowedFormatChars" value="*"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563*4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars4"  keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="allowedFormatChars" value="¤"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563¤4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_invalidCharError"  keywords="[invalidCharError, ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="67656!" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/invalidCharError.png" timeout="2000"
/>				
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_invalidDomainError"  keywords="[invalidDomainError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="India"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="562117" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/invalidDomainError.png" timeout="2000"
numColorVariances="4" ignoreMaxColorVariance="true"/>				
+			</body>  
+		</TestCase> 
+		<TestCase testID="ZipCodeValidator_wrongCAFormatError"  keywords="[wrongCAFormatError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="B14342" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/wrongCAFormatError.png" timeout="2000"
/>				
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_wrongLengthError"  keywords="[wrongLengthError, ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="454342" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/wrongLengthError.png" timeout="2000"
/>				
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_wrongUSFormatError"  keywords="[wrongUSFormatError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="B4543" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/wrongUSFormatError.png" timeout="2000"
/>				
+			</body>  
+		</TestCase>		
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties_spark.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties_spark.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/Validators_ZipCode_Properties_spark.mxml
Mon Aug  6 20:43:57 2012
@@ -0,0 +1,211 @@
+<?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.
+
+-->
+<UnitTester testDir="Validators/ZipCodeValidator/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="*" testSWF="Validators_ZipCode_Basic_spark.mxml">
+
+	<!-- this set of lines form a tZCplate that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	import mx.controls.TextInput;
+	import mx.validators.ZipCodeValidator;
+	import mx.validators.ValidationResult;
+	import mx.managers.SystemManager;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+		<TestCase testID="ZipCodeValidator_default_spark" keywords="[allowedFormatChars, ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars1_spark" keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563-4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars2_spark" keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563 4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_domain_spark" keywords="[domain, ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563 4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars3_spark" keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="allowedFormatChars" value="*"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563*4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_allowedFormatChars4_spark" keywords="[allowedFormatChars,
ZipCodeValidator]">
+			<setup>
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/> 
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="allowedFormatChars" value="¤"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="34563¤4123" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="valid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="invalid" />
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_invalidCharError_spark" keywords="[invalidCharError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="67656!" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/invalidCharError_spark.png"
timeout="2000" />				
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_invalidDomainError_spark" keywords="[invalidDomainError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="India"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="562117" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/invalidDomainError_spark.png"
timeout="2000" />				
+			</body>  
+		</TestCase> 
+		<TestCase testID="ZipCodeValidator_wrongCAFormatError_spark" keywords="[wrongCAFormatError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="B14342" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/wrongCAFormatError_spark.png"
timeout="2000" />				
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_wrongLengthError_spark" keywords="[wrongLengthError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="454342" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/wrongLengthError_spark.png"
timeout="2000" />				
+			</body>  
+		</TestCase>
+		<TestCase testID="ZipCodeValidator_wrongUSFormatError_spark" keywords="[wrongUSFormatError,
ZipCodeValidator]">
+			<setup>
+				
+				<ResetComponent target="myCustomZC" className="CustomZC"  waitEvent="updateComplete"
waitTarget="myCustomZC"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="property" value="text"/>
+				<SetProperty target="myCustomZC.myZC" propertyName="domain" value="US or Canada"/>
+			</setup>
+			<body>
+				<SetProperty target="myCustomZC.ti1" propertyName="text" value="B4543" waitEvent="updateComplete"
waitTarget="myCustomZC.ti1"/>
+				<DispatchKeyEvent keys="[TAB, TAB]"/>
+				<AssertEvent target="myCustomZC.myZC" eventName="invalid" eventClass="mx.events::ValidationResultEvent"
/>
+				<AssertNoEvent target="myCustomZC.myZC" eventName="valid" />
+				<DispatchMouseEvent target="myCustomZC.ti1" type="mouseOver" localX="10" localY="10"
 waitEvent="toolTipShown" waitTarget="myCustomZC.ti1"/>
+				<WaitForEffectsToEnd />
+				<CompareBitmap target="" url="../Properties/baselines/wrongUSFormatError_spark.png"
timeout="2000" />				
+			</body>  
+		</TestCase>		
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidCharError.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidCharError.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidCharError.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidCharError_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidCharError_spark.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidCharError_spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidDomainError.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidDomainError.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidDomainError.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidDomainError_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidDomainError_spark.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/invalidDomainError_spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongCAFormatError.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongCAFormatError.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongCAFormatError.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongCAFormatError_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongCAFormatError_spark.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongCAFormatError_spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongLengthError.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongLengthError.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongLengthError.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongLengthError_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongLengthError_spark.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongLengthError_spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongUSFormatError.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongUSFormatError.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongUSFormatError.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongUSFormatError_spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongUSFormatError_spark.png?rev=1370000&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/Properties/baselines/wrongUSFormatError_spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/CustomZC.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/CustomZC.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/CustomZC.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/CustomZC.mxml Mon
Aug  6 20:43:57 2012
@@ -0,0 +1,14 @@
+<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" >
+	<mx:Script>
+	<![CDATA[
+	import mx.controls.TextInput;
+	import 	mx.validators.ZipCodeValidator;
+	import mx.managers.SystemManager;
+	
+	]]>
+	</mx:Script>
+	
+	<mx:TextInput id="ti1" />
+	<mx:ZipCodeValidator id="myZC" source="{ti1}"/>	
+	<mx:Button id="bt" />
+</mx:VBox>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.compile?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.compile
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.compile
Mon Aug  6 20:43:57 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic.mxml
Mon Aug  6 20:43:57 2012
@@ -0,0 +1,56 @@
+<?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.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" height="375" width="500"
xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*">
+	<mx:Style>
+	@namespace "library://ns.adobe.com/flex/mx";
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: myVerdana;
+			embedAsCFF: false;
+		}
+
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: myVerdana;
+			embedAsCFF: false;
+		}
+
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: myVerdana;
+			embedAsCFF: false;
+		}
+		
+		TextInput{
+			fontAntiAliasType: "normal";
+			fontFamily: myVerdana;
+		}
+		
+		ToolTip{
+			fontAntiAliasType: "normal";
+			fontFamily: myVerdana;
+		}
+	</mx:Style>
+
+	<local:CustomZC id="myCustomZC"/>
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic_spark.mxml?rev=1370000&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic_spark.mxml
(added)
+++ incubator/flex/trunk/mustella/tests/Validators/ZipCodeValidator/SWFs/Validators_ZipCode_Basic_spark.mxml
Mon Aug  6 20:43:57 2012
@@ -0,0 +1,56 @@
+<?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.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF"  height="375" width="500" xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:local="*">
+	<mx:Style>
+	@namespace "library://ns.adobe.com/flex/mx";
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+			fontFamily: myVerdana;
+			embedAsCFF: false;
+		}
+		
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+			fontWeight: bold;
+			fontFamily: myVerdana;
+			embedAsCFF: false;
+		}
+		
+		@font-face{
+			src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+			fontStyle: italic;
+			fontFamily: myVerdana;
+			embedAsCFF: false;
+		}
+		
+		TextInput{
+			fontAntiAliasType: "normal";
+			fontFamily: myVerdana;
+		}
+		
+		ToolTip{
+			fontAntiAliasType: "normal";
+			fontFamily: myVerdana;
+		}
+	</mx:Style>
+
+	<local:CustomZC id="myCustomZC"/>
+</mx:Application>



Mime
View raw message