package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace(Math.min(25, 2)); // Displays: 2 trace(Math.max(25, 2)); // Displays: 25 } } }