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, 0x00000000));
//      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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to