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 7928869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:52:43+00:00 2026-06-03T19:52:43+00:00

When I change the text value of a dynamic text field, the text field

  • 0

When I change the text value of a dynamic text field, the text field is just going blank, not showing the new value.

I have a MovieClip titled “game_board” that is added to the stage dyanmically by AS3. (stage is blank to begin with.)

I have another MovieClip titled “stage_2” that is added as a child to “game_board” dynamically by AS3.

“stage_2” contains a prebuilt board with different dynamic text fields on it. They all have instance names. For example “text_1”. The original value of this.game_board.stage_2.text_1.text is 0.

When I do this:

this.game_board.stage_2.text_1.text = "test";

trace(this.game_board.stage_2.text_1.text); //succesfully shows new value, "test"

The trace succesfully shows the new value, however the text field on the stage, which was showing “0”, now shows absolutely nothing, it just disappears. I tried running addChild in case it was being moved to the bottom layer for some reason, but that didn’t work. Even when the stage only contains that text field, it still just goes blank.

What am I doing wrong?

  • 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-06-03T19:52:44+00:00Added an answer on June 3, 2026 at 7:52 pm

    try this:

    this.game_board.stage_2.text_1.embedFonts = false;
    this.game_board.stage_2.text_1.text = "test";
    

    that happend because flash cs5 use embedFonts by default, so if you didn’t set a font in your library then attach it to your document, flash cs5 will only embed Fonts that are in your Text input only, you can do test if you change the value of text_1 from 0 to te and remove embedFonts you will only get tet without s, to use embedFonts in all your text see this: Embedding Fonts in AS3 – Dynamic Text Field disappears

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

Sidebar

Related Questions

I can't change the value of the text field (with the id code) to
How can I with js or jQuery change input text value with js or
I'm trying to change the color of a UILabel depending on the .text value
I want to change my radio button text in android app with a value
I have an issue with the following text display: <asp:RegularExpressionValidator ID=Password_RegularExpValidate runat=server Text=TEST! Display=Dynamic
I have a struts input text field, and I want the disabled attribute to
I have few dynamic dropdowns that the created on change of a dropdownlist, on
I need to change some text values inside an after effect project file that
I'm okay to display a label text as soon as a slider value changes,
I'm try to change text color and align item in spinner to center of

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.