to do any kind of rotation / alpha transforms on a textfield, you need to
have the fonts embedded in the textfield
tf.embedFonts = true;
(note the font should be embedded in the swf somehow - the simplest method
is to have a textfield off-stage with all the characters you want embedded
into it)
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
}
}
}
-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
...@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
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
...@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
...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: dinsdag 6 juli 2010 13:18
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
Hi,
Your text field needs to have embedFonts set to true and you need the
corresponding font characters either embedded in that text field, or
another one
] On Behalf Of Glen Pike
Sent: dinsdag 6 juli 2010 13:18
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
Hi,
Your text field needs to have embedFonts set to true and you need the
corresponding font characters either embedded in that text field, or
another one used
Subject: Re: [Flashcoders] How to rotate dynamic textfield
Hi,
If you put a dummy text field in your FLA with the font embedded,
then in your dynamic ones, set embedFonts to true and set the font to
the one matching your embedded one, that should work.
I will look for the bitmap trick
-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: dinsdag 6 juli 2010 13:28
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
Hi,
If you put a dummy text field in your FLA with the font embedded
juli 2010 13:18
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
Hi,
Your text field needs to have embedFonts set to true and you need the
corresponding font characters either embedded in that text field, or
another one used in the movie. embedFonts property should
: dinsdag 6 juli 2010 13:18
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
Hi,
Your text field needs to have embedFonts set to true and you need the
corresponding font characters either embedded in that text field, or
another one used in the movie. embedFonts property
juli 2010 13:36
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
Hi,
I could not find old bookmark, but the link below shows similar idea:
http://www.flashandmath.com/howtos/rotatetext3d/
This is proper embedding.
http://www.flashandmath.com/howtos
Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
It seems you embed the font at the wrong place:
var tf:TextField = new TextField();
tf.embedFonts=true;
tf.defaultTextFormat=fmt;
try instead:
var tf:TextField = new TextField();
tf.defaultTextFormat=fmt;
tf.embedFonts=true
-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: dinsdag 6 juli 2010 13:33
To: 'Flash Coders List'
Subject: RE: [Flashcoders] How to rotate dynamic textfield
I have got it:
var myBitmapData:BitmapData = new BitmapData(tf.width, tf.height);
myBitmapData.draw(tf);
var bmp:Bitmap = new Bitmap
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: dinsdag 6 juli 2010 13:33
To: 'Flash Coders List'
Subject: RE: [Flashcoders] How to rotate dynamic textfield
I have got it:
var myBitmapData:BitmapData = new BitmapData(tf.width, tf.height);
myBitmapData.draw(tf);
var bmp:Bitmap = new
: dinsdag 6 juli 2010 16:49
To: Flash Coders List
Subject: Re: [Flashcoders] How to rotate dynamic textfield
You can try adding true for transparent as the BitmapData's 3rd parameter.
var myBitmapData:BitmapData = new BitmapData(tf.width, tf.height,true);
myBitmapData.draw(tf);
var bmp:Bitmap = new
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Cor
Sent: dinsdag 6 juli 2010 13:33
To: 'Flash Coders List'
Subject: RE: [Flashcoders] How to rotate dynamic textfield
I have got it:
var myBitmapData:BitmapData = new BitmapData(tf.width, tf.height);
myBitmapData.draw(tf
Cor,
In case you are still interested here is your (corrected) Test.as class.
package {
import flash.display.*;
import flash.text.*;
public class Test extends MovieClip {
// Cor, you had errors in your [Embed]
...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Keith
Reinfeld
Sent: dinsdag 6 juli 2010 18:52
To: 'Flash Coders List'
Subject: RE: [Flashcoders] How to rotate dynamic textfield
Cor,
In case you are still interested here is your (corrected) Test.as class.
package
Cor,
I use FlashDevelop with Flash CS3 as compiler and not the flex_sdk_3.
Actually, you are.
Okay, I am using Flash CS4, and was presented with a dialog that said You
have used a feature that requires the Flex SDK: Embed metadata ...
So I just thought I would include the path.
Always
21 matches
Mail list logo