Topic: Can't change Dynamic Textbox Text

I was fixing up my keyboard widget, when I noticed it wasn't updating my dynamic textboxes t1-t6.
Here's the code:

function resetKeys() {
    t1.text = "abcdef";
    t2.text = "ghijkl";
    t3.text = "mnopqr";
    t4.text = "stuvwx";
    t5.text = "yz.,_<";
    t6.text = "SHIFT";
    type = 0;
    stat = 1;
}

I didn't think I needed to do _root.t1 or anything, but I might be wrong...

Re: Can't change Dynamic Textbox Text

Do you have the fonts embedded?  Most of our content widgets have dynamic text boxes that update properly, so I can't think why you'd be having issues.

You definitely *don't* want to use _root. All paths should be relative.

3 (edited by zachninme 2007-02-27 14:51:02)

Re: Can't change Dynamic Textbox Text

It might be an issue with fonts, as I am running Flash through WINE on Linux, and I get a problem with fonts and It might have changed them.

I'm not entirely sure what you mean by "fonts embedded".


I realized I was using Tahoma, not Veranda, but it still doesn't work :-(

Re: Can't change Dynamic Textbox Text

zachninme wrote:

It might be an issue with fonts, as I am running Flash through WINE on Linux, and I get a problem with fonts and It might have changed them.

I'm not entirely sure what you mean by "fonts embedded".


I realized I was using Tahoma, not Veranda, but it still doesn't work :-(

For dynamic text items, you must embed the font in the movie for it to be used within the movie.  The chumby does not have any fonts installed.

There should be a "Embed..." button in the Properties panel for the text field.  If it's disabled, you'll need to select "Anti-aliased for animation" from the popup to the left of it. You should embed all the possible characters used by the text field.