import flash.display.MovieClip;
import flash.display.Graphics;
import fl.transitions.*;
import fl.transitions.easing.Strong;
var canvas:MovieClip=new MovieClip();
var g:Graphics=canvas.graphics;
//随机颜色画15个同心圆
for(var i:uint;i<15;i++){
g.beginFill(0xFFFFFF*Math.random());
g.drawCircle(0,0,(150-i*10));
g.endFill();
}
//显示
stage.addChild(canvas);
//居中舞台
canvas.x=stage.stageWidth/2;
canvas.y=stage.stageHeight/2;
//百叶窗效果,持续时间2s,方向由有到没
TransitionManager.start(canvas,{type:Blinds,duration:4,direction:0});
//淡出淡入效果,持续2s,顺序由无到有
TransitionManager.start(canvas,{type:Fade,duration:4,direction:0,easing:Strong.easeIn});