[問題] camera開啓
大家好,我現在在開發一個camera相關的AS程式,
程式執行時會啓動camera,程式如下:
this._webcam = Camera.getCamera();
this._webcam.setMode(285, 285, 30);
this._video = new Video(this._width, this._height);
this._video.attachCamera(this._webcam);
this._capture = new Bitmap(new BitmapData(this._width, this._height, false, 0)
, PixelSnapping.AUTO, true);
不知道為什麼當我用desktop AIR時程式可以開啓camera,
但如果包在html裡頭,在網頁上就沒辦法開啓camera 連黑色畫面都沒有.
好像完全沒有執行getCamera的程式.
(我是用flex)
--
※ 發信站 :批踢踢實業坊(ptt.cc)
◆ From: 60.250.91.193
推
10/14 15:33, , 1F
10/14 15:33, 1F
推
10/14 16:00, , 2F
10/14 16:00, 2F
→
10/14 16:00, , 3F
10/14 16:00, 3F
※ 編輯: skyracer 來自: 60.250.91.193 (10/14 17:11)
→
10/14 17:12, , 4F
10/14 17:12, 4F
→
10/14 17:52, , 5F
10/14 17:52, 5F
→
10/14 18:38, , 6F
10/14 18:38, 6F
→
10/14 18:44, , 7F
10/14 18:44, 7F
※ 編輯: skyracer 來自: 60.250.91.193 (10/14 18:50)
→
10/14 19:32, , 8F
10/14 19:32, 8F
→
10/14 19:33, , 9F
10/14 19:33, 9F
※ 編輯: skyracer 來自: 114.32.58.171 (10/14 21:51)
討論串 (同標題文章)
Flash 近期熱門文章
PTT數位生活區 即時熱門文章