package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var animalName:String = "dove"; switch (animalName) { case "turtle": trace("Yay! 'Turtle' ."); break; case "dove": trace("Sorry, ."); break; default: trace("Sorry, try again."); } } } }