Hi there- I have a simple photo viewer that pops a .html file into a separate window when any image is clicked. With each click I need to pass in the url from the xml file that populates the photo viewer... put I'm failing to add the url to the externalInterface.call method. How would I do that, because the code below doesn't work? Any help is appreciated!
AS3: (this code snippet doesn't work)
if (ExternalInterface.available) {
ExternalInterface.call("window.open", imgData[currentIndex].clickUrl, "win", "height=200,width=300,toolbar=no,scrollbars=yes");
}
imgData[currentIndex].clickUrl refers to the xml file