Wednesday, March 11, 2009

New Piano Chord Finder - variation

This is a variation on the piano chord finder I did last week. It's still a little clunky, but I'm excited because I was able to use lots of different programming techniques on it. This piano chord finder uses PHP, javascript, Actionscript and XML!

New Piano Chord Finder (3/11/09)



The huge list is output to PHP from XML using SimpleXML, then a code representing the XML dom is passed to a javascript function, which uses the "swfobject.js" to reload the flash with the variable passed from javascript.

It would have been much easier to do this all in Flash, and it probably would have looked better, but it was a fun challenge for me to see if I could use all three PHP, javascript and actionscript -- plus XML!

No comments: