Convert to actionscript 3.0
I've got into trouble this code from actionscript 2.0 in a .fla file.
stop();
var tf:TextFormat = new TextFormat();
tf.font="Arial Black";
tf.bold = true;
tf.size = 30;
//tf.color = 0x55FF55;
rotateIn = function() {
if(this.frameCount++ > this.delay) {
this.onEnterFrame = function() {
this.frameCount += 2;
var n:Number = 30 - (this.frameCount - this.delay);
this.filters = [new BlurFilter(n, n, 1)];
this._visible = true;
this._alpha = 100 - (n * 3);
if(n < 1) {
this._alpha = 100;
this.onEnterFrame = undefined;
}
}
}
}
var frameCounter:Number = 0;
this.onEnterFrame = function() {
if(frameCounter++ % 70 == 0){
//if(frameCounter++ >= 70 == 0)
m.removeMovieClip();
m = TextScript.createEffect(this, "Text Text Text", 50, 10, tf, 2, rotateIn);
//delete this.onEnterFrame;
}
}
With bold style I want help with
How do I get with class .as file in an actionscript 2.0 .fla file to an actionscript 3.0 with .fla file to be linked together.