Home / Components / Various / Bar Code 39 /

Bar Code 39

1284 downloads

Librarian Various Bar Code 39 BarCode 39 (A.K.A. Code 3 of 9) is a bar codes generator wich can be printed/scanned on sheet labels or custom packaging. $0 http://www.flashcomponents.net/component/flash_bar_code_39.html http://www.flashcomponents.nethttp://u1.flashcomponents.net/components/small/119_1.png

Similar Products:

  • AS3 Ring Preloader (Drag and Drop) v. 1.0

     

    SALES: 14

    AS3 Ring Preloader (Drag and Drop) v. 1.0

    $3.00

    SALES: 14

    by aabybg

    This is a simple and aesthetically pleasing ring preloader written in AS3. It is fully customizable, and the only requirements for your Flash project are drag and drop into place. [+]

  • FlashBlue Preloader Pack

     

    SALES: 12

    FlashBlue Preloader Pack

    $10.00

    SALES: 12

    by flashblue

    Special selection of 10 preloaders at 63% discount (Normal price is $27). You get all the features, files & support. Only the price differs. [+]

  • Transition Effects Collection

     

    DOWNLOADS: 5403

    Transition Effects Collection

    $0.00

    DOWNLOADS: 5403

    by snowcat

    30 mask effects for your banners, galleries or slideshows at an incredible price of 40 cents per mask. [+]

  • FlashBlue Special Pack 02

     

    SALES: 6

    FlashBlue Special Pack 02

    $30.00

    SALES: 6

    by flashblue

    Special selection of 10 products at 65% discount (Normal price is $87). You get all the features, files & support. Only the price differs. [+]

  • XML Resizable Photo Gallery V3

     

    SALES: 77

    XML Resizable Photo Gallery V3

    $14.00

    SALES: 77

    by FWDesign

    You can use any numbers of images you want. The images are loaded from a XML file making it really easy to update. [+]

  • Flash4All - Package

     

    SALES: 8

    Flash4All - Package

    $12.00

    SALES: 8

    by cornel18

    This package contain all the components you need f [+]

Author:

Librarian

Librarian avatar

Hello, looking for assistance? I'm here to serve all people with information needs! Librarian recommends:

 

Recently viewed:

Realistic Water Effect with Photoshop Tutorial
PHP Flash Contact Form with HTML Labels
Sleepy animated preload!
XML Photo Gallery Image Gallery
XML Team Viewer
Custom FLV Player w/ XML Playlist
Calendar XML
Clouds animation
pageFlipper AS2
Contact form 1
Dynamic XML Gallery
Menu with Water Effect
BarCode 39 is a bar codes generator Flash component, wich can be printed/scanned on sheet labels or custom packaging.

BarCode 39 (sometimes called "code 39") is a widely used barcode standard that includes capital letters, numbers, and several symbols. This is not the barcode for UPC's (universal price codes) found on products at the store. However, most kinds of barcode scanners will recognize 3 of 9 just fine.

It only encodes code 39 type barCodes, but it can be extended to include all the ASCII characters. This component is good, because you don't have to embed large BarCode fonts!

Start creating barcodes out of a string (if the string contains a
character which cannot be encoded, it will skip that character). And best of all, it's FREE!

Credits:

Librarian - AS 2.0 / Flash Player 7 and above adjustments;
Chad Adams - Original BarCode39 Class for Flash Player 6 / AS 1.0;

Librarian recommends:

2 comments

Add comment

  • This component is broken as is.  Since a movie clip is created to be copied to layout the entire barcode, if that movie clip is not removed then an extra line lies at the front of the code.  When limiting the code in the standard way - "*code*" -  many scanners will not read the code because of this extra line, although some scanners will read the code because those scanners find the correct starting point of the code even if there is an extra line out front.

    It is proper to add this line of code after the barcode has been generated:

    this.bars_mc.bar_mc.removeMovieClip();

    It will remove the source line.

    The position of the code line is described below.

        var draw_array = bars_str.split("");
        for(var i = 0;i < draw_array.length; i++){       
            barDepth++;
            var drawBar = int(draw_array[i]);
            if (drawBar){
                the_mc = this.bars_mc.bar_mc.duplicateMovieClip("bar"+barDepth+"_mc", barDepth);
                the_mc._x = barDepth;
            }
        }
       
        this.bars_mc.bar_mc.removeMovieClip();


    It is also proper to add the delimiter to the code inside of the class so you don't need to add it outside of the class.:

    var my_str = "*"+this.the_str+"*";


    Bare bones, out of the box, you would enter the code *WIKIPEDIA* like the wiki page for code 39 and you will see that this generator produces 1 extra line out in front of the code.  As described above, it is the un-removed movie clip that is used as a copy source for the lines in the barcode.

    #  /  PM  /  posted on Jul 30, 2010
  • new to actionscript 1. this doesnt seem to work in AS3. do you have one for as3 or have a way to make it work in as3 2. how could i save the code that is generated



    #  /  PM  /  posted on Dec 05, 2010
Please login to post comments.