Re: [Flashcoders] cacheasBitmap renders dynamic text distorted

2008-01-10 Thread Muzak

Try switching cacheAsBitmap on (while animating) and off (for display).

Or use a Bitmap snapshot as Cedric mentioned.

regards,
Muzak

- Original Message - 
From: "Dwayne Neckles" <[EMAIL PROTECTED]>

To: 
Sent: Thursday, January 10, 2008 12:52 PM
Subject: [Flashcoders] cacheasBitmap renders dynamic text distorted

I was experience a little slowdown animating three dynamic textfields using 
Tweener

i used the cacheAsBitmap to true thinking this would solve it.

it did but it also made the text look really bad?

any suggestions? didnt find anything on google.. 
**example

http://dnecklesportfolio.com/pv3d/archive/1_xyBezier/nav.html


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


Re: [Flashcoders] cacheasBitmap renders dynamic text distorted

2008-01-10 Thread Cedric Muller
I don't remember, but this maybe problematic if you do embed (or do  
not ?!) the font.
I ended up with another technique which takes snapshots of the  
textfield to be tweened, and then animates this bitmap


import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.text.TextField;
import caurina.transitions.Tweener;

//  create the textfield
this.field_txt = new TextField();
this.field_txt.text = "This is some text";
this.addChild(this.field_txt);
//  create the bitmap
this.field_bmp = new Bitmap(new BitmapData(this.field_txt.width,  
this.field_txt.height, true, 0x));

//  draw the textfield into the bitmap
this.field_bmp.bitmapData.draw(this.field_txt);
this.addChild(this.field_bmp);
//  tween the bitmap field
Tweener.addTween(this.field_bmp, {y:100, transition:"easeInOutSine",  
time:1});


hth,
Cedric

I was experience a little slowdown animating three dynamic  
textfields using Tweener


i used the cacheAsBitmap to true thinking this would solve it.

it did but it also made the text look really bad?

any suggestions? didnt find anything on google..
**example
http://dnecklesportfolio.com/pv3d/archive/1_xyBezier/nav.html

_
Make distant family not so distant with Windows Vista® + Windows  
Live™.
http://www.microsoft.com/windows/digitallife/keepintouch.mspx? 
ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008_ 
__

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


[Flashcoders] cacheasBitmap renders dynamic text distorted

2008-01-10 Thread Dwayne Neckles





I was experience a little slowdown animating three dynamic textfields using 
Tweener

i used the cacheAsBitmap to true thinking this would solve it.

it did but it also made the text look really bad?

any suggestions? didnt find anything on google.. 
**example
http://dnecklesportfolio.com/pv3d/archive/1_xyBezier/nav.html

_
Make distant family not so distant with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders