Avatar of MartiniMon
MartiniMon asked on

Dynamic Text Will Not Update

Very simple:

I am trying to get a dynamic text box in a movie clip to have its value updated. I have been unable to get it to display anything including any default text entered.

After much consternaton I went to the first frame of the root timeline and placed another dynamic text box on the stage called theText.

The default text does not initially display bit will display after clicking in the box a couple times.

This is the error:

1119: Access of possibly undefined property theText through a reference with static type flash.display:DisplayObject.

This is the line referred to:

root.theText.text = "?????";

this.theText.text = "?????"; yields the same error.

As does theText.text = "anything";

Anysuggestions are appreciated.


Adobe Flash

Avatar of undefined
Last Comment

8/22/2022 - Mon

Also -

The default text does not show upon the text box UNLESS/UNTIL the box contents/inside area has been clicked on.

Even on a brand new movie. What gives?

is root defined as something or are you meaning _root.
this is as3?
might be easier to see the file in question, the point of having to click on it doesn't make sense.

Thanks for responding...

Im using AS3.
regardless of wether I use an absolute or relative target path I get the same results at compile.

I have attached a sample file that illustrates the issue of initally non-visible text. the upload doe s not allow flas inside a zip so I have added .txt.

Oddly, as you will note, the other dynamic on the stage renders as expected.

I have no other variables defined.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thank you for your solution!


outstanding solution, thank you for your time.

that's interesting, thanks for that info samuel.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

A pleasure to be able to help.

It's important to notice that once you remove the negative margin once, it will not appear again for quite a while, but it might suddenly reappear without any given reasons.

So be on the watch, the bug is here to take us down :P

Truly a  mind boggling bug. Even from a new file it appears consistently on XP pro based installations, however, I could not reproducce it in the few attempts I made to test it in a Vista Business based installation.

As well, Adobe tech support was able to reproduce this issue on their end internally, and the issue has been in the hands of "their senior engineer" for about a week with no response other than we'll contact you when we find out something.