topical media & game development

talk show tell print

mashup-rmx-04-new-project-template-flex-builder-3-src-com-newprojectname-NewprojectnameBase.ax

mashup-rmx-04-new-project-template-flex-builder-3-src-com-newprojectname-NewprojectnameBase.ax (swf ) [ flash ] flex


  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.
returns:

                  
                  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");
                  }
                  
          }
  }


(C) Æliens 18/6/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.