Skip to content
jbpin edited this page Sep 14, 2010 · 4 revisions

AS3 QR Code encoder is an adaptation of qrencode open source C library to as3 language. That allow you to generate a qr code from your application (Flex, Flash, AIR) on offline or onliine mode.

How to use it ?

var qr:QRCode = new QRCode(StringToEncode, EncodeType, ErrorLevel);

var bitMap:Bitmap = new Bitmap(qr.bitmapData);

That is just the first version of the library, I will try to optimize it and fixing some problem soon as possible..

The choice to just provide a bitmap data object has been made to allow you to display the qrcode or to encoding it and save it to a png or jpeg file.

Clone this wiki locally