Fade Dynamic TextField Without Embed fonts
25 November 2008
No Comment
The secret behind this is simple, when we apply filters to textfield it becomes bitmap data.
So we can fade textfield without embed fonts.
One drawback of the method is we cant able to rotate the text
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
code( AS3 ):
import fl.transitions.*;
import fl.transitions.easing.*
var blur:BlurFilter = new BlurFilter(0,0,0);
_txt.filters = [blur]
_txt.alpha =.5;
var tween:Tween = new Tween(_txt,”alpha”,Strong.easeIn,1,0,2,true)
tween.addEventListener(TweenEvent.MOTION_FINISH, function(){tween.yoyo()})
If you know any tricks comment it.
Translate this post











































Leave your response!