How to specify the position of the flash player settings window


hi, have flex app turns on web camera , shows video camera. when page first loads adobe flash player settings window displays required click on allow or deny.

my question is, there way specify settings window should positioned on screen?

you can use flex test app see settings window.



<?xml version="1.0" encoding="utf-8"?>
<mx:application xmlns:mx=" http://www.adobe.com/2006/mxml" creationcomplete="initapplication()" fontfamily="arial" width="925" height="1100" layout="horizontal"
verticalalign="middle">
<mx:canvas id="videocontainer" width="330" height="250" borderstyle="solid" bordercolor="#000000" cornerradius="10" borderthickness="5" x="-167" y="42">
</mx:canvas>
<mx:script>
<![cdata[
import mx.core.uicomponent;
public var camera : camera ;
public var video : video;
public var currentshot : bitmapdata = new bitmapdata(320,240); // video.width,video.height);
public var matrix : matrix = new matrix();
public var mybitmapdata : bitmapdata = new bitmapdata(320,240); // (video.width,video.height);
public var mybitmap : bitmap ;
public var uploadbmd:bitmapdata ;
public var flag:boolean = true;
public var loader: urlloader = new urlloader();

public function initapplication()
{
camera = camera.getcamera();
video = new video(camera.width*2, camera.height*2);
video.attachcamera(camera);
mybitmap = new bitmap(mybitmapdata);
var ref : uicomponent = new uicomponent();
setinterval(snapshot, 100);
}

public function snapshot() : void
{
currentshot.draw(video, matrix);
mybitmapdata = currentshot.clone();
mybitmap = new bitmap(mybitmapdata);
var ref : uicomponent = new uicomponent();
ref.addchild( mybitmap );
videocontainer.addchild( ref );
}

]]>
</mx:script>
</mx:application>



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support