troubleshooting Question

Dynamic Text Will Not Update

Avatar of MartiniMon
MartiniMon asked on
Adobe Flash
9 Comments1 Solution1437 ViewsLast Modified:
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.

Thanks.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros