Hello All:
I am running this code: (see attached code)
It is returning the information fine in FireFox but for IE, I always get “undefined” or “null” I have tried all the properties from the [COLOR=#800080]http://www.w3schools.com/htmldom/dom_obj_location.asp[/COLOR] as well as [URL=“http://www.w3schools.com/htmldom/dom_obj_document.asp”][COLOR=#800080]http://www.w3schools.com/htmldom/dom_obj_document.asp[/COLOR] under the heading “Document Object Properties” with no avail. Anyone have this issue or have a solution?
Thanks!
function determinePageURL(){ myTrace("*** determinePageURL"); import flash.external.*; var jsFunction:String = “function getLoc(){return window.location.href;}”; var rtnVal:String = ExternalInterface.call(jsFunction, null).toString(); myTrace(">>> jsFunction = " + jsFunction); myTrace(">>> rtnVal = " + rtnVal); return rtnVal;} // end function determinePageURLfunction myTrace(str:String){ txtOutput.text += str + "
"; } // end function myTrace