PDA

View Full Version : dynamic text and masking


kaoru5thchild
10-28-2005, 04:43 AM
Ok as the name emplys I want some dynamic text within a masked area but as most people and i learned today... it dissapears... now I have looked all around and read some stuff on embedding the font and what not... tried that but it still is not showing up...

I need a good tutorial or step by step explanation to say output a text field behind a mask...

ie

my_txt.text = "This sucks it doesnt work... whaaaa";

i tried
my_txt.embed = true;
with the font embeded and linked in the library... still nada...

i get a curser over the area like there is a selectable text field there but I cant select anything....

WHAAAAAAAAAAAAAAAAAAAA!!!!

help me wont you please...

oldnewbie
10-28-2005, 04:52 AM
Under a mask, you need to embed the font used.

In the textfield's properties, the Character tab. Select Embed All.

kaoru5thchild
10-28-2005, 04:55 AM
I have been pulling my hair out for 3 hours over this I even went back through some of my old tutorials but nothing covered it...

Sunny13
10-28-2005, 05:05 AM
try this...it nay help you....:)
a_mc.createTextField("txt", 11, 0, 0, 100, 100);
a_mc.txt.autoSize = true;
a_mc.txt.border = true;
multiline = true;
//embedFonts = false
a_mc.txt.text = "here i am ...where are you this is really intersting ... isn't it????";
a_mc.setMask(mask_mc);
mask_mc._x = a_mc._x-2;
mask_mc._y = a_mc._y-2;
mask_mc._width = a_mc._width+6;
mask_mc._height = a_mc._height+6;

kaoru5thchild
10-28-2005, 05:13 AM
its always the small things that drive me crazy... I hadn't used a mask before with dynamic text so I put tegether this mp3 player on my site but the id3 tags where not showing up... once I checked all the code.. well bla bla bla...

but if you want to see it

www.electricdachshund.com

you can skip the intro and scroll down to the bottom of the page you need a fast connect but just to let yah know that it was for something kewl

well i think so's:)