Thanks Keith, but it doesn't show any difference.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Keith
Sent: 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 Bitmap(myBitmapData);
bmp.smoothing = true;
bmp.rotation = 300;
addChild(bmp);




On 7/6/2010 8:13 AM, Cor wrote:
> Every solution leads to a new problem. Hahahaha.
> Now my bitmap background color shows all white.
> Is there a way to make the bmp background transparent / or set the
> bmp.backgroundcolor.alpha = 0; ?
>
>
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] 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(myBitmapData);
> bmp.smoothing = true;
> bmp.rotation = 300;
> addChild(bmp);
>    


_______________________________________________
Flashcoders mailing list
[email protected]
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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to