Skip to main content
June 14, 2006
Question

getURL, javascript, & IE

  • June 14, 2006
  • 1 reply
  • 330 views
I have a question about getURL, javascript, and Internet Explorer. I have a thumbnail gallery that I created in Flash. I have some basic animations & actions with each thumbnail. One of the actions is when someone mouses over a thumbnail, a call to a javascript function performs a basic javascript rollover effect with some non-flash graphics on the same html page. everything works except in IE the javascript effects are not in sync. if you are very slow & deliberate, the javascript function works ok. if you move the mouse at a more normal pace over the thumbnails, the javscript rollovers get out of sync (for lack of a better description). In non IE browsers everything works fine. I searched on google and it looks like there might be an issue with IE and getURL javascript function calls. Has anyone had problems with getURL, javascript, & IE? Thanks in advance for any responses.

Here's the actionscript for the thumbnails.


with (_root.thumb1) {
button.onRelease = function() {
getURL("../html/image1.htm");
};
button.onRollOver = function() {
getURL("javascript: fncOn('dot1','dot_on');");
};
button.onRollOut = function() {
getURL("javascript: fncOff('dot1','dot_off');");
};
}
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 14, 2006
everyone has problems with getURL and javascript sooner or latter. that's why mm added the externalinterface class to flash 8. the communication between flash and javascript is much more consistant and relaible.