0

I am creating a mobile app using FB4.6/AIR. I am running into several issues when I have TextInput fields in my view. If I have a TextField (StageText) that has text pre-populated in it (i.e. from a data object), when the view loads, the TextField will flash the text until it eventually stops and the text disappears. Upon selecting the TextField, the text will reappear. Obviously, this is not an ideal situation. So, after doing some research, I bypassed using the StageText by using the SkinClass - 'spark.skins.mobile.TextInputSkin'. This fixed the flashing text issue, however, now upon entering text in the TextField, after a certain point, the text seems to duplicate itself several times over, so that the the word, in this case an email address, becomes unrecognizable (i.e. John.Doe@MyEmail.com would become John.Doe@MyEmail.com@MyEmail.comJohn.Doe@My).

Obviously, I need to find a solution for one of these situations. Suggestions?

Thanks, in advance.

azsl1326
  • 1,410
  • 2
  • 13
  • 23
  • Does this happen in an emulator or on a device? Which device? Can you share a code sample which will replicate the issue? – JeffryHouser May 30 '12 at 22:30
  • It happens on the device(s) - not on the emulator. Duplicated on both Galaxy Nexus and SII. The only way I have found to resolve it is to set the skinClass="spark.skins.spark.TextInputSkin". If I use straight StageText (no skinClass ) I get the issue with characters being duplicated. If I try and use the Mobile TextInput class (spark.skins.mobile.TextInputSkin) I get the flashing text. Here's a link - http://multitouchup.com/blinking-text-in-flex-4-6-stage-text/ - to someone else who was having the blinking text issue. – azsl1326 Jun 01 '12 at 04:52
  • I am not able to share code, however I can share this bit of interesting/odd behavior. I have a View which can be accessed from two different paths, Path A or Path B. If I go to the View via Path A, the TextInput Text in the View DOES NOT blink. However, if I go to the View via Path B, the TextInput Text in the View DOES blink. Both Path A and Path B are getting to the View via navigator.pushView(View,DataObject). Both Paths are passing identical data. Just thought I would share this additional info incase it offered any clues. Thanks! – azsl1326 Jun 01 '12 at 05:13
  • As a point of reference, if you are not willing to put together a sample code demonstrating your problem; it is a deterrent for some people wanting to help you. – JeffryHouser Jun 01 '12 at 12:14
  • Understandable. I will see if I can duplicate the issue in a simple example. – azsl1326 Jun 01 '12 at 16:42

0 Answers0