<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
		layout="vertical"
		verticalAlign="middle"
		backgroundColor="white" viewSourceURL="srcview/index.html">

	<mx:Style>
		@font-face {
			src: local("Verdana");
			fontFamily: VerdanaEmbedded;
		}

		Panel {
			titleStyleName: panelTitleStyleName;
		}

		.panelTitleStyleName {
			fontFamily: VerdanaEmbedded;
			fontWeight: normal;
		}
	</mx:Style>

	<mx:ApplicationControlBar dock="true">
		<mx:Form styleName="plain">
			<mx:FormItem label="rotation:">
				<mx:HSlider id="slider" minimum="0" maximum="90" liveDragging="true" snapInterval="1" tickInterval="5" />
			</mx:FormItem>
		</mx:Form>
	</mx:ApplicationControlBar>

	<mx:Panel fontFamily="VerdanaEmbedded"
			title="Title"
			status="status"
			width="160"
			height="120"
			rotation="{slider.value}">
		<mx:Text text="The quick brown fox jumped over the lazy dog."
				width="100%" />
		<mx:ControlBar>
			<mx:Label text="ControlBar label" />
		</mx:ControlBar>
	</mx:Panel>

</mx:Application>

