|
|
Math
  Posts: 79
     Location: Tates Creek | Per our last meeting, I researched how to grab a string like "x^2*sin(x)" and parse it into computer syntax so that we can make calculator like applets.  I made an example involving a graphing utility and I will hopefully have some stuff made up for our next Flash meeting.  
  
You have to put parenthesis around trig parameters and you have to use * for all multiplication.  Just press Graph Me when you want the graph
  Edited by rmcquerr 9/9/2007  12:24 PM 
 
 
  Attachments ----------------
   grapher.swf (6KB - 695 downloads)
  | 
|
|   | 
|
Math
  Posts: 104
   Location: Henry Clay | This is really nice.  Have you have any luck with the action script 2 version?  I haven't had any luck with it yet. | 
|
|   | 
|
Math
  Posts: 79
     Location: Tates Creek | Got it...i simplified everything down.  just extract all contents of the zip file and you are ready to play.  I commented on the fla file so folks can follow along.
 
 
  Attachments ----------------
   mathparser.zip (17KB - 655 downloads)
  | 
|
|   | 
|
Math
  Posts: 104
   Location: Henry Clay | I can't open the fla file.  It tells me that it is an unexpected file format.  Can you try saving it in a lower version? | 
|
|   | 
|
Math
  Posts: 79
     Location: Tates Creek | Should be all good now... | 
|
|   | 
|
Math
  Posts: 104
   Location: Henry Clay | Got it!  Thanks Ryan!  You are "Da Man". | 
|
|   |