2 Replies Latest reply on May 18, 2009 6:07 PM by noppanit

    Suggestion about barcode input

    noppanit Level 1

      Hi all,

       

      I'm trying to create a Flex application to receive a barcode input. I have a textInput to receive an input from barcode gun. When a user hit the barcode to the textInput it will do something. Here's the question. I'm using onChange event from the textInput which I think that it's not quite right, because every time the user input barcode the onChange event runs. For instance, if the barcode is 12 characters, the onChange event runs 12 times. What should I do to prevent such action? Every barcode has different length. Thanks a lot.