QR Zbar is a native extension that allows an application to read QR and bar codes on Android and iOS. Before start scanning the extension can be configured and tweaked, so it’s possible to specify the size and colors of the target area for bar code scanning, for instance.

After the extension is ready, the developer can programmatically launch the scanning UI, which can remain active until the user stops using it or it can auto-close after the scan process. When the target is successfully scanned, an event is fired containing the read data.


var s:Scanner = new Scanner();

// Only QR Code By default  

// Multiple scans, until user presses back button to come back to the app.

private function onScan(event:ScannerEvent):void {
     trace("Scan Event " + event.data);
Air Native Extension, Android, iOS. URL.