Skip to content

Instantly share code, notes, and snippets.

@tylerflint
Created April 1, 2010 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tylerflint/351950 to your computer and use it in GitHub Desktop.
Save tylerflint/351950 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="400"
height="300"
xmlns:components="app.view.components.*"
xmlns:inventory="app.view.components.inventory.*"
addedToStage="_startup(event)">
<fx:Script>
<![CDATA[
import app.AppFacade;
protected function _startup(e:Event):void
{
var appFacade:AppFacade = AppFacade.getInstance();
appFacade.sendNotification(AppFacade.INVENTORY_STARTUP, this);
}
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<mx:TabNavigator x="10" y="10" width="380" height="280">
<s:NavigatorContent label="Recieve In" width="100%" height="100%">
<inventory:Import x="0" y="0">
</inventory:Import>
</s:NavigatorContent>
<s:NavigatorContent label="Transfer Out" width="100%" height="100%">
<inventory:Export x="0" y="0">
</inventory:Export>
</s:NavigatorContent>
<s:NavigatorContent label="Update" width="100%" height="100%">
<inventory:Update x="0" y="0">
</inventory:Update>
</s:NavigatorContent>
<s:NavigatorContent label="Check Inventory" width="100%" height="100%">
<inventory:View x="0" y="0">
</inventory:View>
</s:NavigatorContent>
<s:NavigatorContent label="History" width="100%" height="100%">
<inventory:History x="0" y="0">
</inventory:History>
</s:NavigatorContent>
</mx:TabNavigator>
</s:Group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment