Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread allandt bik-elliott (thefieldcomic.com)
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)

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread David Hunter
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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
} } } -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

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread allandt bik-elliott (thefieldcomic.com)
...@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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
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

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
...@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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
...@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

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
] 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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
-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

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Beatrix Krümmer-Frau
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

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Glen Pike
: 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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
-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

Re: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Keith
[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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
: 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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
[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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Keith Reinfeld
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]

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Cor
...@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

RE: [Flashcoders] How to rotate dynamic textfield

2010-07-06 Thread Keith Reinfeld
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