PDA

View Full Version : How can I make the dynamic text appear under a masked layer?



charmander
July 15th, 2008, 08:09 PM
Hi there,
I tried to made a mask layer over a dynamic text, but it didn't appear, what must I do?
Thank you

TheCanadian
July 15th, 2008, 09:19 PM
Embed the fonts.

sekasi
July 15th, 2008, 10:34 PM
Canadian people are wise. :D

TheCanadian
July 16th, 2008, 12:01 AM
No arguments here :run:

congyaan
July 16th, 2008, 12:33 AM
If you don't want embed the fonts you should set the mask with ActionScrip

this["txt"].mask = this["mask_mc"];

holp this can help you

charmander
July 16th, 2008, 05:41 AM
Thank you (TheCanadian) for your solution, but the only problem that when I embed the text its ruin it (because I didn't work with English text).

charmander
July 16th, 2008, 05:44 AM
Thank you (congyaan) for your solution, but I didn't know exactly where must I put the action line, can you tell me the right place?
Thank you all guys.

congyaan
July 16th, 2008, 11:11 PM
you can put it every where you want
such as before the line you set the text property of textField
for example:

this["myTextField"].mask = this["mask_mc"];
this["myTextField"].text = "your text here";

charmander
July 17th, 2008, 05:22 AM
Thank you (congyaan), its works in a right way