Changeset 19567
- Timestamp:
- 09/19/08 06:44:27 (4 months ago)
- Files:
-
- 1 modified
-
platform/air/wasaco/src/imageWindow.mxml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/air/wasaco/src/imageWindow.mxml
r19455 r19567 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="318" height="3 00" >2 <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="318" height="354" > 3 3 <mx:Script> 4 4 <![CDATA[ … … 12 12 13 13 private function init():void { 14 cameraSel.dataProvider = Camera.names; 14 15 var camera:Camera = Camera.getCamera(); 15 16 … … 21 22 22 23 loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaderComplete); 24 } 25 26 private function selectCamera():void { 27 var camera:Camera = Camera.getCamera(cameraSel.selectedIndex.toString()); 28 29 if (camera) { 30 camera_fg = true; 31 camera.setMode(video.width, video.height, 30); 32 video.attachCamera(camera); 33 } 23 34 } 24 35 … … 83 94 <mx:TextInput x="10" y="10" width="299" id="stat"/> 84 95 <mx:Button x="195" y="38" label="Cancel" click="cancel();" width="61" fontSize="9"/> 85 <mx:TabNavigator id="srcTab" x="10" y="68" width="299" height="2 21">96 <mx:TabNavigator id="srcTab" x="10" y="68" width="299" height="276"> 86 97 <mx:Canvas label="カメラ" width="100%" height="100%" creationComplete="init()"> 87 <mx:VideoDisplay id="video" x="10" y="10" width="277" height="168" /> 98 <mx:VideoDisplay id="video" x="10" y="40" width="277" height="192" /> 99 <mx:ComboBox id="cameraSel" x="10" y="10" width="277" change="selectCamera()"></mx:ComboBox> 88 100 </mx:Canvas> 89 101 <mx:Canvas label="ファイルアップロード" width="100%" height="100%">
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)