I have a flash menu that's not working in FF. The getURL fix is not working though.
Please help?
/* GetURL FIX */ var swfUrl:String = _root._url; var lastSlashIndex:Number = swfUrl.lastIndexOf("/"); var pipeIndex:Number = swfUrl.indexOf("|"); var baseUrl:String; if (pipeIndex >= 0) { baseUrl = swfUrl.substring(0, pipeIndex); baseUrl += ":"; } else { baseUrl = ""; } baseUrl += swfUrl.substring(pipeIndex + 1, lastSlashIndex + 1);
/* Button Actions */
movie1.onMouseUp = function() { var targetUrl:String = baseUrl + "index.php?option=com_content&task=blogcategory&id=38&Itemid=95"; getURL(targetUrl, "_self"); }
use localconnection to send path to javascript and then let javascript load the page, may need yahoo ExternalBuffer class.