package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var myArray:Array = [12,6,17,4,39]; myArray.reverse(); trace(myArray); // Displays: 39,4,17,6,12 } } }