My menu screen is made up of separate flash movie buttons, each supposed to call a JavaScript function when clicked. While this works perfectly in Firefox, I'm experiencing issues in IE7 where it fails to execute. Unfortunately, I don't have access to IE6 for testing purposes. Here's the error message I receive in IE:
Line:1
Char:25
Error: Expected ';'
Code:0
I'm having trouble identifying what the error on character 25 of line 1 might indicate. The error only occurs upon clicking the button, and even after attempting to debug with Visual Web Developer, it doesn't seem to be invoking the called function properly. Could the issue lie in the ExternalInterface.call mechanism?
The code within the flash movie is simply:
ExternalInterface.call('gohere',skip_id);
Where skip_id is passed as a flashvar into the movie, showing a valid value as it can be displayed in a textfield within the flash movie. Similarly, the JavaScript function is straightforward:
function gohere(i){
lo.skipto(i);
}
However, even with a breakpoint set and debugging attempted, the function does not seem to run. Interestingly, utilizing a javascript:gohere('id') link in the HTML screen works flawlessly. I've successfully used ExternalInterface.call in other areas of the project, and I'm stumped trying to spot any distinctions in implementation.
Any suggestions or insights would be greatly appreciated.