<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
               xmlns:s="library://ns.adobe.com/flex/spark" 
               xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768"
               xmlns:views="net.riaspace.notes.views.*" viewSourceURL="srcview/index.html">
    
    <!--
        Main view that simply instantiates Swiz and embeds ApplicationView.
    -->
    
    <fx:Script>
        <![CDATA[
            import mx.logging.LogEventLevel;
        ]]>
    </fx:Script>
    
    <fx:Declarations>
        <swizframework:SwizConfig xmlns:swizframework="org.swizframework.*"
                                  strict="true"
                                  eventPackages="net.riaspace.notes.events"
                                  mediateBubbledEvents="true"
                                  viewPackages="net.riaspace.notes.views"
                                  beanLoaders="{Beans]}"
                                  logEventLevel="{LogEventLevel.WARN}"
                                  />        
    </fx:Declarations>
    
    <!-- Main application view that wrappes other application views -->
    <views:ApplicationView top="0" right="0" bottom="0" left="0" />
        
</s:Application>