V2.97a.20110424 - Minor HTML5 tweaks, option inheritance fixes, improved build.xml file HTML5 bulletproofing, Audio(null) argument fix for iOS + Opera, load() vs. createSound() and setVolume()/setPan() options/inheritance correction Bug fixes HTML5: new Audio(null) fix for differences between iOS (which would try to load null) and Opera 9.64, which would throw a WRONG_ARGUMENTS_ERR if null was not passed. HTML5: Restrict internal volume value range to 0..1, avoid DOM exceptions. HTML5: load{url:x}) improvements for desktop, better old vs. new URL comparison. HTML5, iOS 4.2/4.3+, SM2 Muxtape/inline/link demos: onfinish()->unload()->playNext() was breaking on newer iOS versions, "play through" affected. Removing unload() for iOS fixed issue. Flash object/embed pluginspage/codebase attribute now uses http:// when being used from file:// (offline), and http/https-agnostic //macromedia.com syntax to avoid SSL mixed-content warnings. Fix setVolume() / setPan() to properly update SMSound.options (when not "instance-only"), so settings are retained for future play() calls. Bug was that original volume/pan were incorrectly restored after the first instance completed. Miscellaneous New and improved (nearly platform-independent) build.xml file, thanks to github user "dolmen". A .build.properties file is now needed, defining "mxmlc", "mtasc", and "closure-compiler.jar" paths. e.g.: <!-- .build.properties file in SM2 root --> mxmlc=/Applications/flexsdk/bin/mxmlc mtasc=/Applications/mtasc/mtasc closure-compiler.jar=${user.home}/compiler.jar Running ant from the SM2 root will build the no-debug and minified versions of the script, as well as the SWF files.