PDA

View Full Version : Rotating a dynamix text box


Flux
12-03-2002, 11:46 PM
Here's what I'm doing. I have a movieclip that contains a text box. The text box type is "dynamic". There is text in there.

I use actionscript to rotate it. The command I'm using is:

dateObject._rotation="20";

Theoretically the movie clip would rotate 20 degrees and the text box would follow and everything would be happy. But the text box disappears. ....

Question:
Does flash not allow dynamic text to be rotated? I tried using static text and it rotates fine through action script, but dynamic and input does not work. I need to use dynamic text.

Someone please help. Thanks :)

Flux
12-03-2002, 11:56 PM
nevermind. I found it. Gotta embed the font. Thank god for the search function on this forum. :)

ssjogus
12-11-2002, 03:46 AM
hey, how did you do that?

farafiro
12-11-2002, 06:24 AM
select the text box> open the property inspector> hit the Character button> chose embed all

ssjogus
12-11-2002, 09:36 AM
does character panel have that property in flash 5 ? i doubt so.

farafiro
12-11-2002, 09:40 AM
yes, sure but with another name
open the Text Option panel
hit the text option tab
down you will find what you want under EMBED FONTS

Abelius
12-11-2002, 04:15 PM
hehehe... You still the best, eh? :)

farafiro
12-12-2002, 06:07 AM
who me :rolleyes:

ssjogus
12-12-2002, 09:25 AM
yeah, it' working. is fun to change the properties of a text box. thanks.

ssjogus.

Durai_ram
02-05-2009, 04:45 AM
yeah, it' working. is fun to change the properties of a text box. thanks.

ssjogus.
Hi dude!

i need to know how to rotate a text area at runtime on mousedrag using
actionscript

orange gold
02-06-2009, 02:45 AM
make your text field a movie clip symbol... go inside the symbol and make two layers.. the top layer with the text and the bottom layer with a hit area

now go back to the main timeline and enter something like this... (give the movie clip an instance name of mytext)


mytext.onEnterFrame = function() {
mytext.onPress = function() {
this._rotation += +5
this.startDrag()
}
mytext.onRelease = function() {
this.stopDrag()
}
}