Showing paste #f6eab by pushminakazi@apache.org: (Show raw paste)

<?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 xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:mx="library://ns.apache.org/royale/mx"
				xmlns:s="library://ns.apache.org/royale/spark"
				xmlns:js="library://ns.apache.org/royale/basic"
                width="600" height="900"
                layout="horizontal">
	
	
	<fx:Script>
		<![CDATA[
			import org.apache.royale.events.Event;
			import mx.collections.ArrayCollection;
			import mx.controls.Alert;
			
		]]>
	</fx:Script>
	<mx:beads>
	    <js:ClassAliasBead />
	</mx:beads>
	
	<!-- <s:BorderContainer  x="0" y="0" height="100%" width="100%">
		 	<s:TabBar id="tabBar" dataProvider="{VS}" x="0" y="0"/>
				<mx:ViewStack id="VS" x="0" y="0" width="100%" height="100%" creationPolicy="all">
					
					<s:NavigatorContent  label="MyModule 1"  width="100%" height="100%">
					  <mx:ModuleLoader id="MyModule1"
									   url="MyModule.swf"
									   width="100%" height="100%" verticalAlign="top"
									   x="0" y="0"/> 
				    </s:NavigatorContent>

					<s:NavigatorContent label="MyModule 2" width="100%" height="100%" >
					  <mx:ModuleLoader id="MyModule2"
									   url="MyModule.swf"
									   width="100%" height="100%" verticalAlign="top"
									   x="0" y="0"/>  

				    </s:NavigatorContent>
					
				    <s:NavigatorContent label="MyModule 3" width="100%" height="100%" >
					  <mx:ModuleLoader id="MyModule3"
									   url="MyModule.swf"
									   width="100%" height="100%" verticalAlign="top"
									   x="0" y="0"/>  
				    <s:NavigatorContent>
					
				</mx:ViewStack> 
	</s:BorderContainer> -->
		
    <s:BorderContainer  x="0" y="0" height="100%" width="100%">		
		 <mx:TabNavigator id="vs"   width="100%" height="100%"  x="0" y="0">
		
			 <mx:VBox  label="MyModule 1"  width="100%" height="100%">
                  <mx:ModuleLoader id="MyModule1"
								   url="MyModule.swf"
								   width="100%" height="100%" verticalAlign="top"
								   x="0" y="0"/> 
			 </mx:VBox>

			 <mx:VBox label="MyModule 2" width="100%" height="100%" >
				  <mx:ModuleLoader id="MyModule2"
				                   url="MyModule.swf"
								   width="100%" height="100%" verticalAlign="top"
								   x="0" y="0"/>  

			 </mx:VBox>
			
			 <mx:VBox label="MyModule 3" width="100%" height="100%" >
				  <mx:ModuleLoader id="MyModule3"
								   url="MyModule.swf"
								   width="100%" height="100%" verticalAlign="top"
								   x="0" y="0"/>  
			 </mx:VBox>

		</mx:TabNavigator>
    </s:BorderContainer>
        
</mx:Application>
Make a new paste