301 Redirect called from Flash crashes Internet Explorer -
i have flash game @ site. there button "download full version" calls javascript function:
function download() { window.open('http://mysite.com/goto/game1'); }
- http://mysite.com/goto/game1
redirects via 301 redirect in .htaccess to - http://mystatisticsite.com/goto/mysite/game1
redirects via php header('location: '.$downloadurl); to - http://gamesite.com/downloadgame?id=mysite
redirects to - http://gamesite.com/game.exe
and here new opened ie window closes (getting last url, not in middle of redirects).
i have added html-link http://mysite.com/goto/game1 , javascript-link onclick="download()" @ same page. both working great, link flash game crashes ie.
i have tried call download() "ie developer tools" -> script -> run script, crashes ie too.
suppose might strange security ie thing doesn't show "are sure?" closes new window.
firefox & chrome download game without problems.
one of smart colleagues has found answer.
the problem in internet explorer didn't relationship click in flash , downloaded file because flash not in transparent mode wasn't connected ie page.
but flash movie crashed when added transparent mode manually.
the problem fixed using swfobject transparency:
var = new swfobject("movie.swf", "mymovie", "400", "100%", "8", "#336699"); so.addparam("wmode", "transparent");
Comments
Post a Comment