flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwolbert <kwolb...@amiscu.com>
Subject Cant seem to get the raw camera to work
Date Wed, 12 Mar 2014 12:52:13 GMT
When I run the following code, the screen flashes black but then nothing
happens.
Any ideas ??

private function CameraInit():void {
	var camera:Camera = Camera.getCamera("0");
	if(camera)
	{
		var ui:UIComponent = new UIComponent();
		var video:Video = new Video(320,320);
		camera.setMode(320,320,24);
		video.attachCamera(camera);
		ui.addChild(video);
		cameraGroup.addElement(ui);
	}
}

Thanks
Keith



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Cant-seem-to-get-the-raw-camera-to-work-tp5404.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message