Results 1 to 11 of 11
Thread: Dynamic text field in nested mc
October 21st, 2005, 03:56 PM #131Registered User
Dynamic text field in nested mc
I'm having problems with a dynamic text field not displaying its text. It's nested several clips deep, but if I check the "display variables" debug option, it's receiving the text from the variable; if just doesn't show.
After searching around a bit, I've tried the following things:
* Setting the mask through ActionScript, rather than through the GUI
* Making the dynamic text field its own movie clip
* Embedding the font for the dynamic text field
None of these, either individually or in any combination with the other methods, have shown the text in the text field. Anyone have any other ideas?
October 21st, 2005, 04:26 PM #2
Is this an authored textfield or a dynamically created one?
And are you using a non-system font?
October 21st, 2005, 07:49 PM #331Registered User
Authored, using a non-system font. I tried it with a system font as well, but the result was the same.
October 21st, 2005, 09:30 PM #4
As silly as they sound (but it happens), yet easy enough to check, a few other things that can prevent the text from appearing are:
- Having the textfield simply too small to display the specified text.
- Having inadvertently set the font color to the same color as the background color (of either the textfield, or if no textfield background color, whatever is behind the textfield).
- Having the visibility for the textfield or some parent timeline set to false.
- Having a setRGB value applied to some parent that makes the textfield the same color as the rest of the movieclip.
- Not having the font in question installed.
October 21st, 2005, 10:01 PM #52Super Slacker!
hmmm, I'm beginning to think that you just can't mask dynamic text fields that use system fonts inside of an mc.
I fooled around with it a number of times and it never seems to work.
October 21st, 2005, 10:33 PM #6
Oh, I thought you said you were using NON-system fonts.
October 21st, 2005, 11:42 PM #7
can you post an .fla?
i would try using a different font, just as a test to see if that makes a difference.
October 22nd, 2005, 11:33 AM #831Registered User
I've tried several different fonts. The main one I'm trying to use is called Onyx, but I've also tried Arial and the sans serif system font.
Barn, I've spent enough time tracking down problems that turned out to be something stupid that your suggestions don't seem silly to me at all. The text field's definitely large enough. The font's set to twelve point, and its about 200px by 250px. The background is black at 30% opacity, over another background that's composed of dark colors. The font color is set to white. I haven't played with visibility at all, nor with setRGB.
As for posting the .fla, I tried with the initial post, but it was too large. I'm pretty sure I can cut down the filesize dramatically (for some reason, all the gradiants got rasterized when I imported them), but that'll have to wait until Monday, when I'm back at work.
Thanks for the suggestions so far, everyone.
October 22nd, 2005, 04:48 PM #92Super Slacker!
postsOriginally Posted by Barn
As I said on WH, I have not found a solution to masking dynamic text within a movie clip, I'm beginning to think you just cant.
October 24th, 2005, 09:07 AM #1031Registered User
Turns out you can do it, you just can't do it by setting the variable. You have to set the text on the field directly. Weird, eh? Answered here:
November 1st, 2005, 11:31 AM #112Registered User
Now make it scroll...!
Hey everyone. I've been reading this forum thread while working on my own masked dynamic text, and have finally figured it all out. I have:
1. dynamically loading HTML rendered text in an mc.
2. An animated mask revealing the mc functioning.
What I don't have is a functioning scrollbar. My scroll bar works completely fine under normal circumstances, but I think having to nestle the text in an mc screwed things up. I assume it's some sort of depth/level problem, but I can't for the life of me figure it out.
p.s. to see what I'm talking about, go to www.jonathansandler.com/idea.html and open the window. Then click on bio.
By boxershorts in forum Flash IDEReplies: 2Last Post: March 15th, 2005, 11:38 AM
By w9914420 in forum Flash IDEReplies: 2Last Post: September 16th, 2004, 06:28 AM
By Artom in forum Flash IDEReplies: 1Last Post: February 27th, 2004, 10:39 PM
By jimboxl in forum Flash IDEReplies: 12Last Post: July 14th, 2003, 04:42 PM
By Dianachka in forum Flash IDEReplies: 0Last Post: August 29th, 2002, 07:40 PM