In a similar fashion to my AS3 Graphing Classes, my MathML parser was created out of necessity. I was working on a project that had to display some equations, but drawing them out manually seemed a bit over the top.
I originally looked to see if anything was already available on the net but had no luck. Considering that the only other option was to create each equation manually, I decided to try and write my own MathML parser.
After a bit of research and playing around I came up with a set of classes that worked in a recursive manner to generate the equation.
The example file below demonstrates how the parser works.
For anyone who finds themselves in need of some MathML ActionScript classes, I have moved them onto GitHub.
They are by no means a complete solution, but they may prove useful to someone. Feel free to use them as you see fit, but please don’t harass me if you don’t like my code 😉