how do i rotate or alpha a text field created w/ AS ? one told me i shoud embed the font, but how to do that on w/ AS created text field? Thanks.
textfield.embedFonts = true;
:sure:
lunatic, your avatar rocks man. You really should create a pseudo-brainwashing sequence in your sig. And have random flashes of “obey my dog” in there.
ANYWAY! uudens, dynamic text usually goes as follows:
non-embedded: you can only resize (with choppiness due to the resizing only stepping up the font size when tweened), and do alpha/tint/brightness stuff.
embedded: Everything! skew it, rotate it, whatever. But you’re in for a file size hike if it is an OpenType true type font. Old TrueType’s aren’t too large, and post script rocks the world. Fonts For Flash has some good low-bandwidth pixel fonts that work well in flash and vector based programs.
and use lunatics method for embedding fonts.
Thanks Devil Chicken! I’ve been thinking on how I can create a fun interactive footer that ties in to the avatar. Expect a change in upcoming weeks!
uudens - embeding your text will also allow you to use masks, which I don’t think you can do with dynamic text without embedding it. :thumb:
_root.createEmptyMovieClip(“a”,1);
a.createTextField(“b”,1,0,0,200,20);
a.b.embedFonts=true;
a.b.text=“why this isnt working?”;
this shows blank screen, if i comment the embedFonts line out or set it to false everything works, why is that?
anybody here??
That is weird. Although I’ve never had a need to do that with AS text…
I’ll look into it.