Barbara Kaskosz, University of Rhode Island
Doug Ensley, Shippensburg University
This Flash Forum article includes source code and instructions for building an applet that allows the user to enter expressions with up to four parameters and then to vary the parameters in order to fit the curve to user data.
The compressed file match_formula.zip contains all templates and code referenced within the article, and the brief Developer's Guide (match_guide.pdf ) gives detailed instructions for some specific customization tasks.
Within this article, there is a short description of each of the templates including active versions to demonstrate the functionality of each. In addition, we outline some of the specific customizations that are addressed within the Developer's Guide.
Note: In this article, we are assuming that your are familiar with the basics of Flash's authoring environment. If not, please download the PDF guide from our earlier article "Flash Tools for Developers: Function Grapher," or visit the MathDL Flash Forum Learning Center at
Barbara Kaskosz, University of Rhode Island
Doug Ensley, Shippensburg University
This Flash Forum article includes source code and instructions for building an applet that allows the user to enter expressions with up to four parameters and then to vary the parameters in order to fit the curve to user data.
The compressed file match_formula.zip contains all templates and code referenced within the article, and the brief Developer's Guide (match_guide.pdf ) gives detailed instructions for some specific customization tasks.
Within this article, there is a short description of each of the templates including active versions to demonstrate the functionality of each. In addition, we outline some of the specific customizations that are addressed within the Developer's Guide.
Note: In this article, we are assuming that your are familiar with the basics of Flash's authoring environment. If not, please download the PDF guide from our earlier article "Flash Tools for Developers: Function Grapher," or visit the MathDL Flash Forum Learning Center at
Template 1.
The first template consists of the basic applet which allows the user to input data and a function with parameters (thereby essentially specifying a family of functions). The user can then change the parameters (via "scrolling" or direct keyboard input) and see the effect visually as well as numerically through the display of the least squares error that the curve makes in fitting the data. The way that points are displayed can be varied to facilitate copying data from other applications (like CAS or spreadsheets) and pasting them into this applet. Click on the screenshot below to try this template.
Template 2.
The second template consists of an exploration that is more focused on comparing the different ways of measuring error in the fit of a curve to a set of data points, but the basic components are the same as in the first template. In this version, the user is told a specific syntax for entering points. Click on the screenshot below to try this template.
The following outline describes what can be accomplished by following the Matching Formulas to Data Developer's Guide after downloading all source files to your machine with Flash 8 installed. In this article, we are assuming that your are familiar with the basics of Flash's authoring environment. If not, please download the PDF guide from our earlier article "Flash Tools for Developers: Function Grapher," or visit our MathDL Flash Forum Learning Center at
http://www.math.uri.edu/~flashcenter/
Download the 23-page match_guide.pdf for detailed instructions for customizing the two templates.
Download the match_formula.zip file and unzip it in to your computer. You will see the match_formula folder which contains all the files related to this article:
Working right from the folder match_formula, you can open one of the two .fla files in Flash 8 Professional and begin customizing the application to your liking. If you prefer a clean working environment, create a new folder but be sure to include the edu folder alongside your programs that are to use these classes.