Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 945441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:45:05+00:00 2026-05-15T22:45:05+00:00

working with Flex4 AIR app, using this component I get data from the barcode

  • 0

working with Flex4 AIR app, using this component I get data from the barcode reader,

<s:TextInput id="barcode" enter="showBarcode()"/>

Then for handle the enter event, wich is automatically triggered when reader finishes its reading

private function showBarcode():void{
   Alert.show(barcode.text);
}

Ok, very simple. But my problem is: the text showed in the Alert Box is incomplete, it misses one or two digits (last) or it just shows the entire text in the TextInput component (correct view)

I already test my BC reader using the notepad, and it’s fine.

I have tested same code using MX components in Flex3 web app, and there’s no problem.

Some help will be appreciated.

Tnx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:45:05+00:00Added an answer on May 15, 2026 at 10:45 pm

    Instead of using “enter” try listening to the onKeyUp event.

    You’ll have to figure out the appropriate end of line character read in from the bar code scanner. But, just key in on that and do your alert that way; otherwise do nothing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a flex/air app I've been working on, it uses a local sqlite
I am working on a full screen kiosk application in Flex 4/Air 2 using
I am working in on a Flex / Air application (using PureMVC) written virtually
I'm working on a pretty big application for Flex/Air. We are using GraniteDS and
I'm working on a AS3/AIR based project, I'm using FDT5 as main tool, but
I am working with Flash Builder 4.5 using Adobe Air, Flex and Actionscript 3,
I'm working on a simple flex / AIR application with just a mx.TextInput control
I've hit a snag when trying to debug an AIR app using adl .
I am working on flex mobile project using flex 4.5.1. I want to get
I'm warming up w/ AS3 robotlegs framework. I'm working on a FLEX 4/AIR Application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.