package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var metals:Array = ["iron", "copper", "gold", "silver", "platinum", "tin","chrome"];
var canMakingMetal:Array = metals.slice(-2,-1);
trace(canMakingMetal); // Displays: tin
}
}
}