package com.newprojectname { import mx.core.Application; import mx.controls.Alert; /** * The Newprojectname class is the base class for the application. * The base functionality of the application will be in this class. * * @author Omar Gonzalez */ public class NewprojectnameBase extends Application { /** * Class constructor. * * @return */ public function NewprojectnameBase() { super(); } /** * A method to display alerts in the application. */ public function showAlert():void { // do stuff Alert.show("You are experiencing an error.", "Error message"); } } }