This content has been marked as final. Show 12 replies
that should be:
thanx kglad, but thats not it either.
i'm masking the movieClip that this loader is in.
In previous work where i had to mask dynamic textFields, the text wouldnt show unless i embed the characters that will be used..
I have done that when i make a blank dynamicText box on stage, but it didnt work.
Thats why im making it with AS now..
maybe this is the problem??
If so, how do i embed characters in a text field with AS? I just need numbers, and the % sign.
Yeah, thats the problem... I just removed the mask, and the text IS showing..
I really need the mask... though.
Is there any way around this??
embed your font: click the upper right of your library panel, click new font, pick the font you want from the dropdown box and give it a name. find the font in your library, right click it, click linkage, tick export for actionscript and give the font an id that you can remember (like "fontID").
well I tried it in another FLA too, and re-write the code..
I put it behind a mask, but it still didnt show anything..
do you have font in your library with linkage id = fontID?
and what's that trace() function doing on the right side of a text property assignment? remove that.
yeah i got linkage id..
the trace is there just to prove that its getting there... nothing else :)
no, that trace() function may also be causing no text to appear in your textfield. you can put it on the line after (or before) your text assignment if you still need it.
yeah i have taken it off, i figured it may be causing some problems, but it wasnt.. i had it there the second time because i re-done the code in a new FLA, and masked it... but still no joy..
what exactly is the issue with masking text...do you know?
i dont understand it.. it all works, the text field is being created, the loaded number gets sent to the text filed...but as soon as i put a mask on it, i dont see the text anymore..
Is it some sort of bug, or is there a good reason for it?
you need to embed your font if the textfield is masked. that's not a bug and it's the only requirement. if you're certain you assigned that linkage id correctly, post a link to your fla and specify the location of your problematic textfield, if it's not obvious.
Thanx kglad, but dont worry yourself with this.. it's just a small thing. It was really bugging me before, but i have just gone ahead with the loader without the text field.
It caused me too much stress, so I gave it up.
It's good to know that it's not a bug.. and if the only requirement is to embed the characters, then it should work. You are right about every other thing anyone asks, so im sure you are right about this simple thing too :)
Thanx for the info anyway. much appreciated.