Why does IE8 change flash callback function into object?
- by Christian Hollbaum
Hi Guys
I have put 2 swf's (using swfobject 2) on the same website; One for playing a movie, and one for controlling the movie (I want to position them seperately, so they can't be in the same swf).
I'm doing the communication between the two using javascript with jQuery, and externalcallback functions in both swf's.
Everything is running smoothly on all browsers, but IE8. In IE8 I can only call the pause callback function in the control swf once. When it has been called it will not run properly the next time.
After trying to debug what is happening live, using javascript's "type of" I have found that IE8 changes the callback function on the flash object from a function into an object when it has been triggered.
Can anyone explain why this is happening?
.. and maybe suggest how to avoid this?
.. or change the object back to a function?