package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace(isFinite(10)); // Displays: true trace(isFinite(Number.POSITIVE_INFINITY)); // Displays: false } } }