You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/04/26 01:35:28 UTC

[43/51] [partial] ADC articles donated by Adobe Systems Inc

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample-app.xml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample-app.xml b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample-app.xml
new file mode 100644
index 0000000..f5197cb
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample-app.xml
@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/2.6">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+	Specifies parameters for identifying, installing, and launching AIR applications.
+
+	xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.6
+			The last segment of the namespace specifies the version 
+			of the AIR runtime required for this application to run.
+			
+	minimumPatchLevel - The minimum patch level of the AIR runtime required to run 
+			the application. Optional.
+-->
+
+	<!-- A universally unique application identifier. Must be unique across all AIR applications.
+	Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
+	<id>ViewTransitionsSample</id>
+
+	<!-- Used as the filename for the application. Required. -->
+	<filename>ViewTransitionsSample</filename>
+
+	<!-- The name that is displayed in the AIR application installer. 
+	May have multiple values for each language. See samples or xsd schema file. Optional. -->
+	<name>ViewTransitionsSample</name>
+	
+	<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade. 
+	Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
+	An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
+	<versionNumber>1.0.0</versionNumber>
+		         
+	<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
+	<!-- <versionLabel></versionLabel> -->
+
+	<!-- Description, displayed in the AIR application installer.
+	May have multiple values for each language. See samples or xsd schema file. Optional. -->
+	<!-- <description></description> -->
+
+	<!-- Copyright information. Optional -->
+	<!-- <copyright></copyright> -->
+
+	<!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
+	<!-- <publisherID></publisherID> -->
+
+	<!-- Settings for the application's initial window. Required. -->
+	<initialWindow>
+		<!-- The main SWF or HTML file of the application. Required. -->
+		<!-- Note: In Flash Builder, the SWF reference is set automatically. -->
+		<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
+		
+		<!-- The title of the main window. Optional. -->
+		<!-- <title></title> -->
+
+		<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+		<!-- <systemChrome></systemChrome> -->
+
+		<!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
+		<!-- <transparent></transparent> -->
+
+		<!-- Whether the window is initially visible. Optional. Default false. -->
+		<!-- <visible></visible> -->
+
+		<!-- Whether the user can minimize the window. Optional. Default true. -->
+		<!-- <minimizable></minimizable> -->
+
+		<!-- Whether the user can maximize the window. Optional. Default true. -->
+		<!-- <maximizable></maximizable> -->
+
+		<!-- Whether the user can resize the window. Optional. Default true. -->
+		<!-- <resizable></resizable> -->
+
+		<!-- The window's initial width in pixels. Optional. -->
+		<!-- <width></width> -->
+
+		<!-- The window's initial height in pixels. Optional. -->
+		<!-- <height></height> -->
+
+		<!-- The window's initial x position. Optional. -->
+		<!-- <x></x> -->
+
+		<!-- The window's initial y position. Optional. -->
+		<!-- <y></y> -->
+
+		<!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
+		<!-- <minSize></minSize> -->
+
+		<!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
+		<!-- <maxSize></maxSize> -->
+
+        <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape"). Optional. Mobile only. Default is the natural orientation of the device -->
+
+        <!-- <aspectRatio></aspectRatio> -->
+
+        <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
+
+        <!-- <autoOrients></autoOrients> -->
+
+        <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
+
+        <!-- <fullScreen></fullScreen> -->
+
+        <!-- The render mode for the app (either auto, cpu, or gpu). Optional. Mobile only. Default auto -->
+
+        <!-- <renderMode></renderMode> -->
+
+		<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none").  Optional.  Defaults "pan." -->
+		<!-- <softKeyboardBehavior></softKeyboardBehavior> -->
+	<autoOrients>true</autoOrients>
+        <fullScreen>false</fullScreen>
+        <visible>true</visible>
+        <softKeyboardBehavior>none</softKeyboardBehavior>
+    </initialWindow>
+
+	<!-- We recommend omitting the supportedProfiles element, -->
+	<!-- which in turn permits your application to be deployed to all -->
+	<!-- devices supported by AIR. If you wish to restrict deployment -->
+	<!-- (i.e., to only mobile devices) then add this element and list -->
+	<!-- only the profiles which your application does support. -->
+	<!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
+
+	<!-- The subpath of the standard default installation location to use. Optional. -->
+	<!-- <installFolder></installFolder> -->
+
+	<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
+	<!-- <programMenuFolder></programMenuFolder> -->
+
+	<!-- The icon the system uses for the application. For at least one resolution,
+	specify the path to a PNG file included in the AIR package. Optional. -->
+	<icon>
+		<image16x16>assets/VT16.png</image16x16>
+		<image29x29>assets/vt-29.png</image29x29>
+		<image32x32>assets/VT32.png</image32x32>
+		<image36x36>assets/VT36.png</image36x36>
+		<image48x48>assets/vt-48.png</image48x48>
+		<image57x57>assets/vt-57.png</image57x57>
+		<image72x72>assets/vt-72.png</image72x72>
+		<image114x114>assets/vt-114.png</image114x114>
+		<image512x512>assets/vt-512.png</image512x512>
+	</icon>
+
+	<!-- Whether the application handles the update when a user double-clicks an update version
+	of the AIR file (true), or the default AIR application installer handles the update (false).
+	Optional. Default false. -->
+	<!-- <customUpdateUI></customUpdateUI> -->
+	
+	<!-- Whether the application can be launched when the user clicks a link in a web browser.
+	Optional. Default false. -->
+	<!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+	<!-- Listing of file types for which the application can register. Optional. -->
+	<!-- <fileTypes> -->
+
+		<!-- Defines one file type. Optional. -->
+		<!-- <fileType> -->
+
+			<!-- The name that the system displays for the registered file type. Required. -->
+			<!-- <name></name> -->
+
+			<!-- The extension to register. Required. -->
+			<!-- <extension></extension> -->
+			
+			<!-- The description of the file type. Optional. -->
+			<!-- <description></description> -->
+			
+			<!-- The MIME content type. -->
+			<!-- <contentType></contentType> -->
+			
+			<!-- The icon to display for the file type. Optional. -->
+			<!-- <icon>
+				<image16x16></image16x16>
+				<image32x32></image32x32>
+				<image48x48></image48x48>
+				<image128x128></image128x128>
+			</icon> -->
+			
+		<!-- </fileType> -->
+	<!-- </fileTypes> -->
+
+    <!-- iOS specific capabilities -->
+	<!-- <iPhone> -->
+		<!-- A list of plist key/value pairs to be added to the application Info.plist -->
+		<!-- <InfoAdditions>
+            <![CDATA[
+                <key>UIDeviceFamily</key>
+                <array>
+                    <string>1</string>
+                    <string>2</string>
+                </array>
+                <key>UIStatusBarStyle</key>
+                <string>UIStatusBarStyleBlackOpaque</string>
+                <key>UIRequiresPersistentWiFi</key>
+                <string>YES</string>
+            ]]>
+        </InfoAdditions> -->
+        <!-- <requestedDisplayResolution></requestedDisplayResolution> -->
+	<!-- </iPhone> -->
+
+	<!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
+	<!--<android> 
+		<manifestAdditions>
+		<![CDATA[
+			<manifest android:installLocation="auto">
+				<uses-permission android:name="android.permission.INTERNET"/>
+				<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
+				<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
+				<uses-configuration android:reqFiveWayNav="true"/>
+				<supports-screens android:normalScreens="true"/>
+				<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
+				<application android:enabled="true">
+					<activity android:excludeFromRecents="false">
+						<intent-filter>
+							<action android:name="android.intent.action.MAIN"/>
+							<category android:name="android.intent.category.LAUNCHER"/>
+						</intent-filter>
+					</activity>
+				</application>
+			</manifest>
+		]]>
+		</manifestAdditions> 
+	</android> -->
+	<!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
+
+<iPhone>
+        <InfoAdditions><![CDATA[
+			<key>UIDeviceFamily</key>
+			<array>
+				<string>1</string>
+				<string>2</string>
+			</array>
+		]]></InfoAdditions>
+        <requestedDisplayResolution>high</requestedDisplayResolution>
+    </iPhone>
+    <android>
+        <manifestAdditions><![CDATA[
+			<manifest android:installLocation="auto">
+			    <!--See the Adobe AIR documentation for more information about setting Google Android permissions-->
+			    <!--Removing the permission android.permission.INTERNET will have the side effect
+					of preventing you from debugging your application on your device-->
+			    <uses-permission android:name="android.permission.INTERNET"/>
+			    <!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>-->
+			    <!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->
+			    <!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->
+			    <!--The DISABLE_KEYGUARD and WAKE_LOCK permissions should be toggled together
+					in order to access AIR's SystemIdleMode APIs-->
+			    <!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
+			    <!--<uses-permission android:name="android.permission.WAKE_LOCK"/>-->
+			    <!--<uses-permission android:name="android.permission.CAMERA"/>-->
+			    <!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
+			    <!--The ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE permissions should be toggled
+					together in order to use AIR's NetworkInfo APIs-->
+			    <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->
+			    <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->
+			</manifest>
+			
+		]]></manifestAdditions>
+    </android>
+</application>

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample.mxml b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample.mxml
new file mode 100644
index 0000000..dc16c89
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/ViewTransitionsSample.mxml
@@ -0,0 +1,57 @@
+<?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.
+
+-->
+<s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" applicationComplete="applicationCompleteHandler(event)"
+								  xmlns:s="library://ns.adobe.com/flex/spark">
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			import spark.events.IndexChangeEvent;
+			
+			protected function applicationCompleteHandler(event:FlexEvent):void
+			{
+				tabbedNavigator.addEventListener(IndexChangeEvent.CHANGE,onTabChange);
+				trace(tabbedNavigator.skin);
+				trace(tabbedNavigator.tabBar.skin);
+				trace("State " + this.currentState);
+			}
+
+			protected function onTabChange(event:IndexChangeEvent):void
+			{
+				trace("Tab changed! " + event.newIndex);
+				// When the tab changes, reset the old view back to the settings 
+				if (event.oldIndex==0)
+					slideNav.popToFirstView();
+				else if (event.oldIndex==1)
+					flipNav.popToFirstView();
+				else if (event.oldIndex==2)
+					zoomNav.popToFirstView();
+				else if (event.oldIndex==3)
+					fadeNav.popToFirstView();
+			}
+		]]>
+	</fx:Script>
+	<fx:Style source="styles.css"/>
+	
+	<s:ViewNavigator id="slideNav" label="Slide" width="100%" height="100%" firstView="views.SlideView" visible="false"/>
+	<s:ViewNavigator id="flipNav" label="Flip" width="100%" height="100%" firstView="views.FlipView" visible="false"/>
+	<s:ViewNavigator id="zoomNav" label="Zoom" width="100%" height="100%" firstView="views.ZoomView" visible="false"/>
+	<s:ViewNavigator id="fadeNav" label="Fade" width="100%" height="100%" firstView="views.FadeView" visible="false"/>
+
+</s:TabbedViewNavigatorApplication>

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT114.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT114.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT114.png
new file mode 100644
index 0000000..db88c55
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT114.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT128.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT128.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT128.png
new file mode 100644
index 0000000..2f7c8f9
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT128.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT16.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT16.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT16.png
new file mode 100644
index 0000000..617de59
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT16.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT29.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT29.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT29.png
new file mode 100644
index 0000000..6b9ca6d
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT29.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT32.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT32.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT32.png
new file mode 100644
index 0000000..0912194
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT32.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT36.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT36.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT36.png
new file mode 100644
index 0000000..244931a
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT36.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT48.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT48.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT48.png
new file mode 100644
index 0000000..0aa4ca2
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT48.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT512.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT512.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT512.png
new file mode 100644
index 0000000..8613681
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT512.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT57.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT57.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT57.png
new file mode 100644
index 0000000..3f411a2
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT57.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT72.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT72.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT72.png
new file mode 100644
index 0000000..e1cb0b0
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/VT72.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-114.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-114.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-114.png
new file mode 100644
index 0000000..4b0a2cb
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-114.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-29.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-29.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-29.png
new file mode 100644
index 0000000..2faa784
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-29.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-48.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-48.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-48.png
new file mode 100644
index 0000000..d45d58c
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-48.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-512.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-512.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-512.png
new file mode 100644
index 0000000..fca02b0
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-512.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-57.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-57.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-57.png
new file mode 100644
index 0000000..530a195
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-57.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-72.png
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-72.png b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-72.png
new file mode 100644
index 0000000..5e1d202
Binary files /dev/null and b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/assets/vt-72.png differ

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/styles.css
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/styles.css b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/styles.css
new file mode 100644
index 0000000..5bb1997
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/styles.css
@@ -0,0 +1,50 @@
+/*
+ * 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.
+ */
+/* CSS file */
+@namespace s "library://ns.adobe.com/flex/spark";
+
+
+global
+{
+	chromeColor: #294867;
+	contentBackgroundColor: #7da0c3;
+	symbolColor: #000000;
+	rollOverColor: #881111;
+	selectionColor: #7da0c3;
+	focusColor: #333333;
+	accentColor: #000000;
+	fontFamily: 'Verdana';
+}
+
+s|ActionBar
+{
+	chromeColor: #294867;
+	contentBackgroundColor: #39628C;
+	titleAlign:center;
+}
+s|ActionBar #titleDisplay
+{
+	fontFamily: 'Verdana';
+	
+}
+s|TabbedViewNavigator #tabBar 
+{
+	chromeColor: #294867;
+	fontFamily: 'Verdana';
+	
+	
+}

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FadeView.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FadeView.mxml b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FadeView.mxml
new file mode 100644
index 0000000..dc9aec4
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FadeView.mxml
@@ -0,0 +1,93 @@
+<!--
+
+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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		title="Sample Fade">
+	
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			
+			import spark.effects.easing.Bounce;
+			import spark.effects.easing.Elastic;
+			import spark.events.ViewNavigatorEvent;
+			import spark.transitions.CrossFadeViewTransition;
+			import spark.transitions.FlipViewTransition;
+			import spark.transitions.SlideViewTransition;
+			import spark.transitions.ViewTransitionDirection;
+			
+			public var fadeTrans:CrossFadeViewTransition = new CrossFadeViewTransition();
+			
+			protected function onFade():void 
+			{
+				if (txtDuration.text!=null && txtDuration.text.length>0)
+					fadeTrans.duration = parseInt(txtDuration.text)*1000;
+				if (rgEasing.selectedValue=="Bounce")
+					fadeTrans.easer = new Bounce();
+				else if (rgEasing.selectedValue=="Elastic")
+					fadeTrans.easer = new Elastic();
+				navigator.pushView(views.SampleView,views.FadeView,null,fadeTrans);
+			}
+			
+			protected function add_clickHandler(event:MouseEvent):void
+			{
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n+1);
+			}
+			
+			protected function subtract_clickHandler(event:MouseEvent):void
+			{
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n-1);
+			}
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:RadioButtonGroup id="rgEasing"/>
+	</fx:Declarations>
+	
+	<s:VGroup width="100%" height="100%" horizontalAlign="center" verticalAlign="middle" gap="30">
+		
+		<s:HGroup verticalAlign="middle" top="50">
+			<s:Label text="Duration (seconds)" color="0x294867"/>
+			<s:HGroup>
+				<s:Button id="addBtn" label="+" click="add_clickHandler(event)"/>
+				<s:TextInput id="txtDuration" width="{addBtn.width}" height="{addBtn.height}" restrict="0-9" text="1"
+							 textAlign="center"/>
+				<s:Button id="subtractBtn" label="-" click="subtract_clickHandler(event)"/>
+			</s:HGroup>  
+		</s:HGroup>
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		<s:Label text="Easing function" color="0x294867"/>
+		<s:VGroup verticalAlign="middle" paddingLeft="45">
+			<s:HGroup>
+				<s:RadioButton id="bounceOpt" label="Bounce" groupName="rgEasing"/>
+				<s:RadioButton id="elasticOpt" label="Elastic" groupName="rgEasing"/>
+			</s:HGroup>
+		</s:VGroup>	
+		<s:HGroup horizontalAlign="center">
+			<s:Button width="269" label="Start" height="110" click="onFade()" color="0xFFFFFF"/>
+		</s:HGroup>		
+	</s:VGroup>  
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FlipView.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FlipView.mxml b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FlipView.mxml
new file mode 100644
index 0000000..3cc5d05
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/FlipView.mxml
@@ -0,0 +1,135 @@
+<!--
+
+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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		title="Sample Flip">
+	
+	<fx:Script>
+		<![CDATA[
+			import spark.effects.easing.Bounce;
+			import spark.effects.easing.Elastic;
+			import spark.transitions.FlipViewTransition;
+			import spark.transitions.FlipViewTransitionMode;
+			import spark.transitions.ViewTransitionDirection;
+			
+			public var flipTrans:FlipViewTransition = new FlipViewTransition();
+			
+			protected function onFlip():void 
+			{
+				validateDirection();
+				if (txtDuration.text!=null && txtDuration.text.length>0)
+					flipTrans.duration = parseInt(txtDuration.text)*1000;
+				
+				if (rgEasing.selectedValue=="bounce")
+					flipTrans.easer = new Bounce();
+				else if (rgEasing.selectedValue=="elastic")
+					flipTrans.easer = new Elastic();
+				
+				flipTrans.mode = rgMode.selectedValue as String;
+				navigator.pushView(views.SampleView,views.FlipView,null,flipTrans);
+			}
+			
+			protected function add_clickHandler(event:MouseEvent):void
+			{
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n+1);
+			}
+			
+			protected function subtract_clickHandler(event:MouseEvent):void
+			{
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n-1);
+			}
+			
+			protected function validateDirection():void
+			{
+				flipTrans.direction = direction.selectedItem as String;
+			} 
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:RadioButtonGroup id="rgMode"/>
+		<s:RadioButtonGroup id="rgEasing"/>
+		<s:ArrayList id="dirList">
+			<fx:String>{ViewTransitionDirection.LEFT}</fx:String>
+			<fx:String>{ViewTransitionDirection.RIGHT}</fx:String>
+			<fx:String>{ViewTransitionDirection.UP}</fx:String>
+			<fx:String>{ViewTransitionDirection.DOWN}</fx:String>
+		</s:ArrayList>
+	</fx:Declarations>
+	
+	<s:VGroup width="100%" height="100%" horizontalAlign="center" verticalAlign="middle" gap="30">
+		
+		<s:HGroup>
+			<s:RadioButton id="cardMode" label="{FlipViewTransitionMode.CARD}" groupName="rgMode" selected="true"/>
+			<s:RadioButton id="cubeMode" label="{FlipViewTransitionMode.CUBE}" groupName="rgMode"/>
+		</s:HGroup>
+		
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		<s:VGroup horizontalAlign="center" width="100%">
+			<s:Label text="Select Direction" color="0x294867"/>
+			<s:List id="direction" allowMultipleSelection="false" borderVisible="true" borderColor="0x294867"
+					dataProvider="{dirList}"  selectedIndex="0" width="65%">
+				<s:layout>
+					<s:HorizontalLayout gap="4"/>
+				</s:layout>
+			</s:List>
+		</s:VGroup>  
+		
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		<s:VGroup verticalAlign="middle" paddingLeft="45" gap="20">
+			<s:Label text="Easing function" color="0x294867"/>
+			
+			<s:HGroup>
+				<s:RadioButton id="bounceOpt" label="bounce" groupName="rgEasing"/>
+				<s:RadioButton id="elasticOpt" label="elastic" groupName="rgEasing"/>
+			</s:HGroup>
+		</s:VGroup>	
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		<s:HGroup verticalAlign="middle" top="50">
+			<s:Label text="Duration (seconds)" color="0x294867"/>
+			<s:HGroup>
+				<s:Button id="addBtn" label="+" click="add_clickHandler(event)"/>
+				<s:TextInput id="txtDuration" width="{addBtn.width}" height="{addBtn.height}" restrict="0-9" text="1"
+							 textAlign="center"/>
+				
+				<s:Button id="subtractBtn" label="-" click="subtract_clickHandler(event)"/>
+			</s:HGroup>  
+		</s:HGroup>
+		
+		
+		
+		<s:HGroup>
+			<s:Button width="269" label="Start" height="110" click="onFlip()" color="0xFFFFFF"/>
+		</s:HGroup>
+	</s:VGroup>  
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SampleView.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SampleView.mxml b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SampleView.mxml
new file mode 100644
index 0000000..7a95995
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SampleView.mxml
@@ -0,0 +1,60 @@
+<?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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		title="Hello World" viewActivate="view1_viewActivateHandler(event)">
+	
+	<fx:Script>
+		<![CDATA[
+			import spark.effects.Move3D;
+			import spark.effects.easing.EaseInOutBase;
+			import spark.events.ViewNavigatorEvent;
+			
+			protected function view1_viewActivateHandler(event:ViewNavigatorEvent):void
+			{
+				lbl.visible=true;
+				trace("Screen resolution:" + Capabilities.screenResolutionX);
+			}
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:DropShadowFilter id="df"/>
+	</fx:Declarations>
+
+	<s:navigationContent>
+		<s:Button label="Home" height="100" click="navigator.popToFirstView()"/>
+	</s:navigationContent>
+	<s:actionContent>
+		<s:Button id="btn" height="100" label="Back" click="navigator.pushView(data as Class)"/>
+	</s:actionContent>
+	<s:Label id="lbl" top="270" horizontalCenter="0" color="#FD5ABE" fontSize="50" fontWeight="bold" text="Hello World!" depth="1"/>
+	
+	<s:Group width="200" horizontalCenter="0" height="200" top="100" filters="{[df]}" >
+		<s:Rect width="400" height="400" horizontalCenter="0" depth="0">
+			<s:filters>
+				<s:DropShadowFilter color="0x000000" blurX="10" blurY="10"/>
+			</s:filters>
+			<s:fill>
+				<s:SolidColor color="0xac66d8" alpha=".4"/>
+			</s:fill>
+		</s:Rect>
+	</s:Group>
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SlideView.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SlideView.mxml b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SlideView.mxml
new file mode 100644
index 0000000..f8eda05
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/SlideView.mxml
@@ -0,0 +1,153 @@
+<!--
+
+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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		title="Sample Slide" creationComplete="view1_creationCompleteHandler(event)">
+	
+	<fx:Script>
+		<![CDATA[
+			import mx.events.FlexEvent;
+			
+			import spark.effects.easing.Bounce;
+			import spark.effects.easing.Elastic;
+			import spark.events.IndexChangeEvent;
+			import spark.transitions.SlideViewTransition;
+			import spark.transitions.SlideViewTransitionMode;
+			import spark.transitions.ViewTransitionDirection;
+			
+			public var slideTrans:SlideViewTransition = new SlideViewTransition();
+			
+			protected function onSlide():void 
+			{
+				validateDirection();
+				 if (txtDuration.text!=null && txtDuration.text.length>0)
+				{
+					trace(parseInt(txtDuration.text));
+					slideTrans.duration = parseInt(txtDuration.text)*1000;
+				} 
+				
+				if (rgEasing.selectedValue=="Bounce")
+					slideTrans.easer = new Bounce();
+				else if (rgEasing.selectedValue=="Elastic")
+					slideTrans.easer = new Elastic();
+				slideTrans.mode = rgMode.selectedValue as String;
+				navigator.pushView(views.SampleView,views.SlideView,null,slideTrans);
+			}
+			
+			protected function add_clickHandler(event:MouseEvent):void
+			{
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n+1);
+			}
+			protected function subtract_clickHandler(event:MouseEvent):void
+			{
+				
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n-1);
+			}
+			
+			protected function validateDirection():void
+			{
+				slideTrans.direction = direction.selectedItem as String;
+				
+			} 
+			
+			protected function direction_changeHandler(event:IndexChangeEvent):void
+			{
+				trace(direction.dataProvider.length);
+				this.direction.dataProvider = dirList;
+			}
+			
+			protected function view1_creationCompleteHandler(event:FlexEvent):void
+			{
+				trace(this.direction.height);
+				trace(direction.dataProvider.length);
+			}
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:RadioButtonGroup id="rgEasing"/>
+		<s:RadioButtonGroup id="rgMode"/>
+		<s:ArrayList id="dirList">
+			<fx:String>{ViewTransitionDirection.LEFT}</fx:String>
+			<fx:String>{ViewTransitionDirection.RIGHT}</fx:String>
+			<fx:String>{ViewTransitionDirection.UP}</fx:String>
+			<fx:String>{ViewTransitionDirection.DOWN}</fx:String>
+		</s:ArrayList>
+	</fx:Declarations>
+	
+	<s:VGroup width="100%" height="100%" horizontalAlign="center" top="20" gap="20">
+		<s:HGroup verticalAlign="middle">
+			<s:RadioButton id="pushMode" label="{SlideViewTransitionMode.PUSH}" groupName="rgMode" selected="true"/>
+			<s:RadioButton id="coverMode" label="{SlideViewTransitionMode.COVER}" groupName="rgMode" />
+			<s:RadioButton id="uncoverMode" label="{SlideViewTransitionMode.UNCOVER}" groupName="rgMode"/>
+		</s:HGroup>
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		
+		<s:VGroup horizontalAlign="center" width="100%">
+			<s:Label text="Select Direction" color="0x294867"/>
+			<s:List id="direction" allowMultipleSelection="false" borderVisible="true" borderColor="0x294867"
+					dataProvider="{dirList}"  selectedIndex="0" width="65%">
+				<s:layout>
+					<s:HorizontalLayout gap="4"/>
+				</s:layout>
+			</s:List>
+		</s:VGroup>  
+		
+		
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		<s:Label text="Easing Function" color="0x294867"/>
+		
+		<s:HGroup verticalAlign="middle">
+			<s:RadioButton id="bounceOpt" label="Bounce" groupName="rgEasing"/>
+			<s:RadioButton id="elasticOpt" label="Elastic" groupName="rgEasing"/>	
+		</s:HGroup>
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		
+		<s:HGroup verticalAlign="middle">
+			<s:Label text="Duration (seconds)" color="0x294867"/>
+			<s:HGroup>
+				<s:Button id="addBtn" label="+" click="add_clickHandler(event)"/>
+				<s:TextInput id="txtDuration" width="{addBtn.width}" height="{addBtn.height}" restrict="0-9" text="1"
+							 textAlign="center"/>
+				
+				<s:Button id="subtractBtn" label="-" click="subtract_clickHandler(event)"/>
+			</s:HGroup>  
+		</s:HGroup>		
+		
+		<s:HGroup>
+			<s:Button width="269" label="Start" height="110" click="onSlide()" color="0xFFFFFF"/>
+		</s:HGroup>
+	</s:VGroup>  
+	
+</s:View>

http://git-wip-us.apache.org/repos/asf/flex-external/blob/1bcc0e18/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/ZoomView.mxml
----------------------------------------------------------------------
diff --git a/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/ZoomView.mxml b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/ZoomView.mxml
new file mode 100644
index 0000000..0316111
--- /dev/null
+++ b/ADC/devnet/flex/TransitionsSamples/ViewTransitionsSample/src/views/ZoomView.mxml
@@ -0,0 +1,108 @@
+<!--
+
+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.
+
+-->
+<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+		xmlns:s="library://ns.adobe.com/flex/spark"
+		title="Sample Zoom">
+	
+	<fx:Script>
+		<![CDATA[
+			import spark.effects.easing.Bounce;
+			import spark.effects.easing.Elastic;
+			import spark.transitions.ViewTransitionDirection;
+			import spark.transitions.ZoomViewTransition;
+			import spark.transitions.ZoomViewTransitionMode;
+			
+			public var zoomTrans:ZoomViewTransition = new ZoomViewTransition();
+			
+			protected function onZoom():void 
+			{
+				if (txtDuration.text!=null && txtDuration.text.length>0)
+					zoomTrans.duration = parseInt(txtDuration.text)*1000;
+				
+				if (rgEasing.selectedValue=="Bounce")
+					zoomTrans.easer = new Bounce();
+				else if (rgEasing.selectedValue=="Elastic")
+					zoomTrans.easer = new Elastic();
+				zoomTrans.mode = rgMode.selectedValue as String;
+				navigator.pushView(views.SampleView,views.ZoomView,null,zoomTrans);
+			}
+			
+			protected function add_clickHandler(event:MouseEvent):void
+			{
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n+1);
+			}
+			protected function subtract_clickHandler(event:MouseEvent):void
+			{
+				
+				var n:int = parseInt(txtDuration.text);
+				txtDuration.text = new String(n-1);
+			}
+			
+			
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<s:RadioButtonGroup id="rgEasing"/>
+		<s:RadioButtonGroup id="rgMode"/>
+	</fx:Declarations>
+	
+	<s:VGroup width="100%" height="100%" horizontalAlign="center" verticalAlign="middle" gap="30">
+		
+		<s:Label text="Zoom Mode" color="0x294867"/>
+		<s:HGroup>
+			<s:RadioButton label="{ZoomViewTransitionMode.IN}" groupName="rgMode" selected="true"/>
+			<s:RadioButton label="{ZoomViewTransitionMode.OUT}" groupName="rgMode"/>
+		</s:HGroup>
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		<s:Label text="Easing function" color="0x294867"/>
+		<s:VGroup verticalAlign="middle" gap="25">
+			<s:HGroup>
+				<s:RadioButton id="bounceOpt" label="Bounce" groupName="rgEasing"/>
+				<s:RadioButton id="elasticOpt" label="Elastic" groupName="rgEasing"/>
+			</s:HGroup>
+		</s:VGroup>
+		<s:Line width="90%">
+			<s:stroke>
+				<s:SolidColorStroke color="0x336699" weight="4"/>
+			</s:stroke>
+		</s:Line>
+		<s:HGroup verticalAlign="middle" top="50">
+			<s:Label text="Duration (seconds)" color="0x294867"/>
+			<s:HGroup>
+				<s:Button id="addBtn" label="+" click="add_clickHandler(event)"/>
+				<s:TextInput id="txtDuration" width="{addBtn.width}" height="{addBtn.height}" restrict="0-9" text="1"
+							 textAlign="center"/>
+				
+				<s:Button id="subtractBtn" label="-" click="subtract_clickHandler(event)"/>
+			</s:HGroup>  
+		</s:HGroup>
+		
+		
+		<s:HGroup>
+			<s:Button width="269" label="Start" height="110" click="onZoom()" color="0xFFFFFF"/>
+		</s:HGroup>
+	</s:VGroup>  
+	
+</s:View>