SWFObject.js (ver 2.0) 와 Firefox 3 그리고 Web Developer Add-on.
이들의 궁합은 뭔가 안좋은가보다.

문제 발단은 SWF 파일을 항상 두번씩 불러오는 Firefox 였다.



SWFObject.js Google Code에 있는 FAQ를 보면 다음과 같은 글을 볼 수 있다.
http://code.google.com/p/swfobject/wiki/faq


16. Why does Firefox load my SWF twice?


Firefox 3 has a known issue that sometimes causes a swf to be 'double initialized'. The problem appears to be fixed in their codebase, but has not been released yet. See the following bugs for more details: https://bugzilla.mozilla.org/show_bug.cgi?id=438830 and https://bugzilla.mozilla.org/show_bug.cgi?id=445599

Or, if you have "Disable cache" selected in your Firefox Web Developer Toolbar extension a double load will occur.


나에겐 sometimes가 아니고 always 일어난 일이라 무슨일인가- 했더니
마지막줄.
Web Developer Toolbar에 "캐쉬 끔" 설정이 문제였다고 한다.
"캐쉬 끔"을 풀어버리니 몇개는 2번 읽고 몇개는 아예 읽지 않거나 한번만 읽는다.

신기하구나 Firefox 3.
그래도 Trunk 안에 있는 소스에선 고쳐졌다고 하니, 다음 버전을 기대해 보자+_+

Posted by mkyoon