Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Input text field acting strange after flash program is published

New Here ,
Feb 25, 2013 Feb 25, 2013

Greetings,

When I publish my program, whenever there is an issue somewhere in the file, (re. if I accidentally have a "duplicate function" or mispelled something and lead to an "unidentified property") It makes the input text fields for the rest of the file all act strange. To give a more specific example,

Let's say in Scene 1, I have a button called "Scene 5"

I create an event listener that allows  users to jump to scene 5 when they press that button. Let us presume I mispelled it and accidentally wrote "Sene 5" in my script. Naturally when I try to publish the file the compiler will point out the specific scene and line of where the error is so I may fix it. Let's say I fix it and then publish again and there are no errors.

.. The issue is,

Say in Scene 2 I have 3 input boxes - box1,box2,box3

Presume the borders for each box turn blue when a certain word is typed in each, respectively. I've tested these boxes separately and published it without any issue, so I know I'm coding it properly. The issue is, when I "published" for the first time, once the compiler notices that I have an issue (re. using the example of the spelling error in scene 1), after I resolve the issue (again note above example) the input boxes in scene 2 start behaving strange. Basically for whatever reason suddenly I am unable to enter any numbers, Capital letters, or the letters "q,z,j,x" into the boxes. All other lower case letters may still be inputed in but if I press any of those letters, capital letters or numerical values into the input box it simply doesn't register. To make sure it's not a code issue, I create a "new" file and create a new input textbox, just to try it out and in that "other" file it works perfectly fine. 

Is there anything I can do at all? Or is this a program glitch?

TOPICS
ActionScript
975
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 25, 2013 Feb 25, 2013

Embed your font into the textfields.

Translate
LEGEND ,
Feb 25, 2013 Feb 25, 2013

Embed your font into the textfields.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 25, 2013 Feb 25, 2013

If you are using Flash Builder try going to Project > Clean. Otherwise, this seems very odd. Are you embedding the font in these input fields?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 25, 2013 Feb 25, 2013

Embedding fixed the problem!

I'm used to older versions where fonts were already embedded so was not familiar with this procedure. Tried it and now it works fine.

Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 25, 2013 Feb 25, 2013
LATEST

You're welcome

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines