all groups > flash actionscript > june 2006 >
You're in the

flash actionscript

group:

getURL, javascript, & IE


getURL, javascript, & IE zak_flash
6/14/2006 7:51:30 PM
flash actionscript:
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');");
};
}
Re: getURL, javascript, & IE kglad
6/14/2006 8:40:23 PM
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.
AddThis Social Bookmark Button