Imagine:
1 .js file hosted on domain "a"
1 .html file hosted on domain "a"
1 .swf file hosted on domain "b"
The swf file wants to use getURL to call a function defined in the js file. The (abbreviated) call is depicted below:
CODE
// NOTE: dreamincode posting rules forced the separation in "javascript" from the colon. That's not how it appears in code.
getURL("javascript" + ":dcsMultiTrack('DCS.dcsuri', '/example/test.html', 'WT.ti', 'test')");
Will this call resolve correctly? My concern is that because the swf file is hosted on a different domain (then the page and js file are), it will fail.
I am not a flash developer, otherwise I would test this out myself. I was asked to give direction to an offshore group producing our swf files.
Thank you in advance!
-dave