En actionscript :
Mode lazy
stop();
trace("Hello World");
Sinon
import mx.transitions.Tween;
import mx.transitions.easing.*;
var helloClip_mc :MovieClip = this.createEmptyMovieClip("helloClip_mc",1);
var sayHello_txt :TextField = this.helloClip_mc.createTextField("sayHello_txt",2,0,0,0,0);
var formatHello_fmt :TextFormat = new TextFormat();
with(formatHello_fmt) {
color = 0x000000;
size = 50;
font = "Arial";
}
with(helloClip_mc.sayHello_txt) {
autoSize = "left";
text = "Hello World";
setTextFormat(formatHello_fmt);
_x=(Stage.width-this._width)/2;
_y=(Stage.height-this._height)/2;
}
var helloTween : Tween = new Tween(helloClip_mc, "_y", Bounce.easeOut, Stage.height+helloClip_mc.sayHello_txt._height, 0, 1, true);