Hello,
I would like to ask for the help
The below very simple code leads to Flash player crash on Ubuntu/Debian+FF
Installing debug Flash player doesn't help
How this can be fixed/workarounded?
Mozilla FF 40.0.3 (i386 with debug player installed, also crashes on x86_64)
Flex 4.15.0
Ubuntu 14.04.3 LTS
Camera&Mic permissions should be set to "Ask"
If Flash player not crashes immediately pressing PrntScr up to 10 times
usually leads to crash
code Main.as
package {
import flash.display.Sprite;
import flash.media.Camera;
import flash.media.Video;
public class Main extends Sprite {
private var cam:Camera;
public function Main() {
if (Camera.isSupported) {
cam = Camera.getCamera();
if (!!cam) {
var vid:Video = new Video(cam.width, cam.height);
vid.x = 10;
vid.y = 10;
vid.attachCamera(cam);
addChild(vid);
}
}
}
}
}
--
WBR
Maxim aka solomax