How to convert this action script 2.0 to action script 3.0?

//Paste this code at the top of your existing code to be able to use the Tween Class import mx.transitions.Tween; import mx.transitions.easing.*; this.createEmptyMovieClip(“container”,1); var imagesNumber:Number = 9; var scrolling:Boolean = true; for (i=1; i