This content has been marked as final.
Show 7 replies
-
1. Re: Dynamic Text issue
Damon Edwards Aug 15, 2007 10:57 AM (in response to Nickels55)try this... give your movie clip instance name, and text field instance name (not variable name) -
2. Re: Dynamic Text issue
Nickels55 Aug 15, 2007 11:07 AM (in response to Damon Edwards)That didn't work (did you notice my original code was yours)
When I add the new code after give intances names to everything - this is the debugger code. Notice how the text field is empty: -
3. Re: Dynamic Text issue
Nickels55 Aug 15, 2007 11:09 AM (in response to Nickels55)Also, a trace on my_mc.my_txt.htmlText comes up undefined,
yet a trace on dyn1+dyn2 shows a value that you'd expect -
4. Re: Dynamic Text issue
Damon Edwards Aug 15, 2007 11:18 AM (in response to Nickels55)Have a look. It works for me.
"did you notice my original code was yours"
I thought it look somewhat familiar, with the naming conventions and all. -
5. Re: Dynamic Text issue
Nickels55 Aug 15, 2007 11:30 AM (in response to Nickels55)Thanks, that works! -
6. Re: Dynamic Text issue
Damon Edwards Aug 15, 2007 11:31 AM (in response to Nickels55)no problemo. -
7. Re: Dynamic Text issue
Nickels55 Aug 15, 2007 11:53 AM (in response to Nickels55)One quick clarification on the problem...
If the movieclip and text field are not on the stage at the time of the call, this will fail. I was loading in the variable before showing the text, and that is why it wasn't working. You have to make sure everything is on the stage before you set the variables. So, do not put the code on frame 1, then on say frame 50 add the movieclip containing the text field, because it will fail.

