mouse move
private function onMouseMove(event:MouseEvent):void
{
if (drawing){
if (mode == 0) item.graphics.lineTo(event.localX, event.localY);
}
trace("move:" // + mouseX + "/" + mouseY + " :"
+ event.localX + "/" + event.localY );
}
]]>
</mx:Script>
<!--
<mx:Panel
title="{message}" horizontalAlign="center"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10"
>
<mx:Label id="field" width="180" fontWeight="bold" fontSize="24"/>
<mx:Button label="{button}" click="handler(event);" />
</mx:Panel>
-->
<mx:VideoDisplay id="video" height="100%" width="100%" maintainAspectRatio="false" autoPlay="false"/>
<!--
<mx:Label id="note" width="400" fontWeight="bold" fontSize="24"/>
-->
</mx:Application>