IE Flash/Javascript Question


I have several buttons within my swf that change the background image of the HTML page it is embedded in.

on (release) {

This works great in Safari, but completely fails and even crashes in IE. I have no JavaScript tag within the <head> of the HTML page, but as I mentioned, it works in Safari. Does any one know either a better JavaScript to run, or a better way of doing this on click? I’ve attached the FLA.

Thanks a lot!