I want to be able to create a text field on a movie clip that is already established. I can create a text field on the main flash window, but I am unable to create a text field on a movieclip on the flash window.
My MovieClip is called Background with an instance name of myBackground. I try the following line among others I have tried:
Your script seems right…but where exactly did you place that code, on the movie clip itself or on a timeline frame on the _root level? Because any code placed on a clip is refering to whatever is contented inside of the clip not the actual clip itself unless you use ‘this’ but if its on a frame in the _root you should be fine. If that doesn’t work reply back and give me the .fla and I will fix it for you! But it may even be the code but I have no Flash MX books and I learn from sites so I will check a few of those for information on text boxes!
Dan’s right. The problem is that you create the textbox in the movie clip mybackground, and then you tell the current clip, which is not mybackground, that the textbox called mytext takes the value “hello”. You’d have to do