If you place the textfields in a movieclip symbol, and the code is in the same timeline as the symbol, then you need to assign an instance name to the movieclip and include that name when targeting the textfields.
mcName.textFieldName.text = "new text";
Hi Ned thanks for your reply. That is the way I'm doing it but it is not working...
Are you getting any error messages? What color is assigned to the text of the textfields?
I'm not getting any error messages, font color is white and background color is black. I get a warning message about something to embed fonts, I've tried that and still doesn't work.
Is there a mask involved? Are you animating or rotating (not spinning, just setting at an angle) the textfields? What did you did as far as embedding the font?
There is no mask involed and I'm not animating the text field. It is just a dynamic text field that I want to use to display the number of bytes loaded. I thought that changing the text in a dynamic textfield will be really simple....
1 person found this helpful
It is simple, and should be, but I can't say whether you are implementing something incorrectly or if CS5 has some added complexity (or bug) at play. If we go back to your initial posting, and my initial response, then that should be the end of the story.
I don't own CS5, but I'd hate to think they made something else difficult to deal with like they seemingly did with timeline tweening in CS4 (which I also did not buy into). I believe they invented some new form of textfield in CS5, but it'd be sad if they invented some new property to deal with for assigning text to it.
The only thing I can imagine at this point where it might be something you did involves a couple of factors being at play... 1) you are using the library name of the movieclip, not the instance name, and 2) your Publish Settings are set for AS2 (so that no error is generated... AS2 is not generous with them like AS3).