Do you mean a textfield with embedded fonts or the particular instance(name)
?

-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of allandt
bik-elliott (thefieldcomic.com)
Sent: dinsdag 6 juli 2010 13:03
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield

to do any kind of rotation / alpha transforms on a textfield, you need to
have the fonts embedded in the textfield

your text will disappear otherwise

On 6 July 2010 11:16, Cor <c...@chello.nl> wrote:

> I don't need a textfield on stage to embed.
> I adjusted my Test.as:
>
> package {
>
>        import flash.display.*;
>        import flash.text.*;
>
>        [Embed(source="C:\WINDOWS\Fonts\Tahoma.ttf",
fontFamily="myTahoma")]
>
>        public class Test extends MovieClip {
>
>                public function Test() {
>
>                        var fmt:TextFormat = new TextFormat();
>                        fmt.font = "myTahoma";
>                        fmt.size=16;
>                        fmt.color=0x990000;
>
>                        var tf:TextField = new TextField();
>                        //tf.embedFonts=true; //DOES NOT WORK, MAKES TEXT
> DISAPPEAR
>                        tf.defaultTextFormat=fmt;
>                        tf.multiline = true;
>                        tf.width = 200;
>                        tf.autoSize = TextFieldAutoSize.LEFT;
>                        tf.wordWrap = true;
>                        tf.x = 100;
>                        tf.y = 100;
>                        tf.htmlText = "Text to rotated<BR>Line two.";
>                        addChild(tf);
>                        //tf.rotation=300; //DOES NOT WORK, THIS IS THE
> PROBLEM FOR ME
>                 }
>        }
> }
>
>
>
> -----Original Message-----
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David
> Hunter
> Sent: dinsdag 6 juli 2010 12:07
> To: flashcoders@chattyfig.figleaf.com
> Subject: RE: [Flashcoders] How to rotate dynamic textfield
>
>
> off the top of my head, i don't think you can rotate dynamic text with web
> fonts. i think you need to embed the fonts, otherwise the text does not
> render.
>
> > From: c...@chello.nl
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] How to rotate dynamic textfield
> > Date: Tue, 6 Jul 2010 11:50:57 +0200
> > CC:
> >
> > Hi List,
> >
> > I want to rotate a dynamic textfield in Flash CS3 using AS3 in classes.
> > I want to do it all in code so nothing on the stage.
> > I tried different ways but it never shows.
> >
> > I have set up a test fla wich can be downloaded here:
> >
> > www.codobyte.com/textRotation.zip
> >
> >
> > Any help is appreciated!
> >
> > Regards
> > Cor
> > c...@chello.nl
> >
> >
> > _______________________________________________
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> _________________________________________________________________
> http://clk.atdmt.com/UKM/go/197222280/direct/01/
> Do you have a story that started on Hotmail? Tell us
> now_______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> Geen virus gevonden in het binnenkomende-bericht.
> Gecontroleerd door AVG - www.avg.com
> Versie: 9.0.830 / Virusdatabase: 271.1.1/2980 - datum van uitgifte:
> 07/05/10
> 20:36:00
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.830 / Virusdatabase: 271.1.1/2980 - datum van uitgifte: 07/05/10
20:36:00

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to