Doug Ensley, Shippensburg University
Barbara Kaskosz, University of Rhode Island
This Flash Forum article provides instructions and resources for producing customized graphing applets using the Macromedia Flash (either Flash MX 2004 or the more recent Flash 8) programming environment. After working through this material you will be able to build a fully customized Grapher for your own webpage using your own instructions, your own color schemes and your own choice of functionality.
The compressed file fun_grapher.zip contains all templates and code referenced within the article, and the twenty-four page Developer's Guide ( fg_guide.pdf ) gives detailed instructions for some specific customization tasks. Within this article, there is a brief description of each of the templates including active versions of each to demonstrate its functionality. In addition, we list some of the specific customizations that are addressed within the Developer's Guide.
The Flash 8 programming environment for Windows or Mac can be "borrowed" on a 30 day trial basis from macromedia.com. Try out Flash using these templates. We think you will be hooked!
Doug Ensley, Shippensburg University
Barbara Kaskosz, University of Rhode Island
This Flash Forum article provides instructions and resources for producing customized graphing applets using the Macromedia Flash (either Flash MX 2004 or the more recent Flash 8) programming environment. After working through this material you will be able to build a fully customized Grapher for your own webpage using your own instructions, your own color schemes and your own choice of functionality.
The compressed file fun_grapher.zip contains all templates and code referenced within the article, and the twenty-four page Developer's Guide ( fg_guide.pdf ) gives detailed instructions for some specific customization tasks. Within this article, there is a brief description of each of the templates including active versions of each to demonstrate its functionality. In addition, we list some of the specific customizations that are addressed within the Developer's Guide.
The Flash 8 programming environment for Windows or Mac can be "borrowed" on a 30 day trial basis from macromedia.com. Try out Flash using these templates. We think you will be hooked!
The compressed file fun_grapher.zip contains all templates and code referenced within the article, and the twenty-four page Developer's Guide ( fg_guide.pdf ) gives detailed instructions for some specific customization tasks. You will find below a brief description of each of the templates including (if you click on the screen image) active versions of each to demonstrate its functionality. In addition, we list some of the specific customizations that are addressed within the Developer's Guide.
The Flash 8 programming environment can be borrowed on a 30 day trial basis from macromedia.com. Try out Flash using these templates. We think you will be hooked!
Template 1
Template 1 consists of the essential Grapher which graphs up to three functions in a single window and displays coordinates of points when the mouse passes over them. The user can also draw directly on the graph by moving the mouse while down. The source code for this applet can be easily modified to
Template 2
Template 2 demonstrates how the essential Grapher in Template 1 can be easily extended to include the trace functionality common to many graphing programs and devices. Like Template 1, the source code for this applet can be easily modified to
Template 3
Template 3 gives another example of the extensibility of the essential Grapher in Template 1. In this case, we have added a simple calculator to the screen using the same parsing methods already present within the graphing program. The source code for this applet can be easily modified in the same ways outlined in Templates 1 and 2.
The following outline describes what can be accomplished by following the Function Grapher guide after downloading the source files to your machine with Flash MX 2004 or Flash 8 installed.
Download the 24-page fg_guide.pdf (a 1.2 MB file) for detailed instructions for customizing the Function Grapher.
Download fun_grapher.zip file (a 1.3 MB file) and unzip it in a folder on your computer. You will see a fun_grapher folder which contains all the files related to this article. You will be particularly interested in the following:
Working right from the folder fun_grapher, you can open one of the three template .fla files in Flash MX 2004 Professional or Flash 8 Professional and begin customizing the template to your liking. Alternatively, if you prefer a clean working environment, you can copy the edu folder and the templates into a new folder.