// use this to open any file (with path) or url _global.fmxExec = function(thing) { var url; var success; if (getVersion().substr(0, 3) == "WIN") { url = SharedObject.getLocal("freeMX2002", "/"); url.data.url = thing; success = url.flush(); fscommand("exec", "freeMX.exe"); } else { success = false; } return success; } // // use this as an alternative to geturl - will check for // windows (mac not supported) and will add http if needed _global.fmxGetURL = function(thing) { var success; if (thing.substr(0, 4).toLowerCase() != "http") { thing = "http://" + thing; } if (getVersion().substr(0, 3) == "WIN") { success = fmxExec(thing); } else { getURL(thing); success = true; } return success; }