Problem with mergAVCamCreate
Posted: Fri Feb 26, 2021 1:19 pm
When I run the following code, I get an error on mergAVCamStartBarcodeReader, which says "control not created yet". Have used this code snippet in several projects and never got this error.
Is this a bug, or is it something I missed?
I'm on a MacBook Pro 11.2.1, running LC 9.6.2 (rc2)
///Peter
Code: Select all
on BarcodeScannerCreate
mergAVCamSet "microphone", empty
mergAVCamSet "rect", the rect of widget "Android Barcode Scanner" of me
mergAVCamSet "exposure mode","continuous"
mergAVCamSet "visible","true"
mergAVCamSet "quality", "high"
mergAVCamSet "camera", "rear camera"
mergAVCamCreate
mergAVCamStartBarcodeReader pB
end BarcodeScannerCreate
I'm on a MacBook Pro 11.2.1, running LC 9.6.2 (rc2)
///Peter