<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" 
		xmlns:s="library://ns.adobe.com/flex/spark" title="Home">

	<fx:Script>
		<![CDATA[
			protected function button1_clickHandler(event:MouseEvent):void
			{
				navigator.pushView(views.WhiteboardView);
			}

			protected function button2_clickHandler(event:MouseEvent):void
			{
				navigator.pushView(views.CameraView);
			}

		]]>
	</fx:Script>

	<fx:Declarations>
		<!-- Place non-visual elements (e.g., services, value objects) here -->
	</fx:Declarations>
	<s:layout>
		<s:VerticalLayout />
	</s:layout>
	<s:Button width="100%" label="Whiteboard" click="button1_clickHandler(event)" />
	<s:Button width="100%" label="Webcam" click="button2_clickHandler(event)" />
	<s:Button width="100%" label="Chat" />
</s:View>
