gneier
03-17-2005, 03:56 PM
Folks,
Here's the problem I've identified, and have been unable to solve or find similiar posts.
The setup:
0. Using Internet Explorer 6
1. A flash SWF with "getURL('javascript:myFunc()')" on a series of mcs
2. The containing html page has a set of tabs, that change the innerHTML property of a separate <div id="uniqueID"></div> tag.
Scenerios:
1. clicking the movie clips (firing getURL("javascript..")) in the SWF results in expected behavior. (Good)
2. clicking the html tabs (resulting in new html getting generated) works as expected. However, returning to the SWF and clicking the movieclips will occationally result in the "javascript:.." code appearing in the browsers url field.. meaning the browser tries to open the code as a page instead of processing it as javascript. (Bad)
Anyone else run into this problem? It appears that manipulating the innerHTML of an object (unrelated to flash swf) causes the browser's javascript engine to fail to recognize flash's getURL() command
Am going to try slapping in FSCommand to see if I get the same behavior.
thank you,
Gary
Here's the problem I've identified, and have been unable to solve or find similiar posts.
The setup:
0. Using Internet Explorer 6
1. A flash SWF with "getURL('javascript:myFunc()')" on a series of mcs
2. The containing html page has a set of tabs, that change the innerHTML property of a separate <div id="uniqueID"></div> tag.
Scenerios:
1. clicking the movie clips (firing getURL("javascript..")) in the SWF results in expected behavior. (Good)
2. clicking the html tabs (resulting in new html getting generated) works as expected. However, returning to the SWF and clicking the movieclips will occationally result in the "javascript:.." code appearing in the browsers url field.. meaning the browser tries to open the code as a page instead of processing it as javascript. (Bad)
Anyone else run into this problem? It appears that manipulating the innerHTML of an object (unrelated to flash swf) causes the browser's javascript engine to fail to recognize flash's getURL() command
Am going to try slapping in FSCommand to see if I get the same behavior.
thank you,
Gary