cfpdev
asked on
flash actionscript getURL not working when swf is not on the same domain
html page with embedded swf is on domain.com, 'test.html'
swf is on otherdomain.com, containing:
getURL('http://www.google.com');
the above action works in FF, but not any version of IE, when visiting domain.com/test.html
How to get it to work? Can this be done without recompiling the swf?
swf is on otherdomain.com, containing:
getURL('http://www.google.com');
the above action works in FF, but not any version of IE, when visiting domain.com/test.html
How to get it to work? Can this be done without recompiling the swf?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've found the solution.
Don't use flash in the first place.
Don't use flash in the first place.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I read the doc from adobe.
still not working in Ie..!
I'm using swfobject to embed the swf:
var po = new SWFObject("http://www.otherdomain.com/swf/portal.swf", "portalswf", "100%", "60", "6", "#ffffff");
po.addVariable('allowScrip
po.write("portalPanel");
swfobject.js is also hosted on otherdomain.com