Rotated text box does not show content

:cowboy:

Hi,

I’m fairly new to flash, so I don’t know if this is a ‘known issue’. I searched google, the forums here and over at ultrashock.

I have 3 text boxs (1 static and 2 dynamic) that will not show their content when the text box is rotated even the slightest amount.

Is that normal??

PS: This place has got some straight forward answers from board members (I’ve been lurking for a bit) and some interesting emoticons! :toad: :trout:

embed the font

text, in its basic “text” form, can’t be rotated because Flash has what you might consider a “basic comprehension” of text, atleast dynamic or input text when it’s displayed in Flash. This is because it uses the actual font of the computer looking at the movie and renders it on screen using a simple, normal text display method like that of which is displaying text in this post.

This text, like virtually all other text you ever see thats real text and not an image is not at all rotated. Rotating the text would need calulations to figure out where on the scren to put pixels since they wouldnt be the same sd non-rotated text which is inherently “known” to the system.

For Flash to “know” the text well enough to rotate it and calculate those new points on the screen for rotated text, it needs to be able to interpret that text as if it were just some other shape within Flash, which Flash knows how to rotate quite easily. This means flash has to understand the text’s “outlines” which is the vector or shape equivalent to the text being used. The setting in Flash for that is
Properties Panel > Character Button > Embed Fonts
Embedding the fonts means Flash will interpret the font from your system and save it to the movie as outlines which it is then able to correctly render and rotate on the screen, should you try to, just like any other shape in the movie.

if you want to rotate static text that doesn’t have to be modified lateron you can break the font pressing “ctrl b” twice, so the font gets changed to vectors. this results in a greater file size, and you cannot modify the text after breaking it, but you can modify it anyway you like.
that of course is no solution for dynamic textboxes but perhaps it will help you.

static text can be rotated fine (which is what you would be using in a sitation where you could break it apart) so long as you are not using device fonts

Thanks guys.

I tried embedding the font and it still wouldn’t work for static text. I made all the text fields dynamic and in combination with the embeded font, it worked.

This project will be cd based, so a few dozen extra kb doesn’t really bother me. :slight_smile:

For future ref:
With the static text, you can select it, hit F8, turn it into a movieClip, then do whatever you desire with it. Then you still have the ability to change the text by double clicking on the movieClip containing the text.

-my $.02

what font are you using?

Me? or mojojojo?

mojojojo

static text will rotate fine unless _sans, _serif, _typewriter (or using device fonts) is being used. Thats why I was asking.

True, I haven’t used fonts like that when playing, I never thought those would cause a problem - do they?