[thelist] Flash Causes Gibberish in Popup Window

Damien COLA damiencola at wanadoo.fr
Thu Jul 1 12:38:39 CDT 2004


2 things.

First you should really open a HTML file (or PHP, ASP) in the new
window, an html file with the approriate code to embed a flash file. I'm
sure if you would do that instead of trying to load directly a .swf in
the browser, that would work on all platforms.

Second, you can add a target="_blank" attribute to your <A> so that if
the user has javascript disabled, a new window will be opened (but you
can't control its dimensions and location)

<p align="right"><a target="_blank" title="Start Flash demo (appears in
a new window)"
onclick="openWindow('../engine/bg/files/library/atlas_screenshot_04-b_jy
.html
');return false"  
href="../engine/bg/files/library/atlas_screenshot_04-b_jy.html"><img
alt="Start Flash demo (appears in a new window)"
src="../engine/bg/images/dynamic/2952004155028_btn_startdemo.gif"
border="0" /></a>

by the way the gibberish you see is for sure the ascii content of the
.swf file. For some reason the faulty browsers just display the flash
file as if it was a .txt file, even though they have the flash plugins
installed.

-----Original Message-----
When I test this functionality in IE 6 it works perfectly. Any version
of IE before 6, including IE 5.2.x on Mac, is causing a popup to open,
but instead of the flash file loading into the window, the window
displays A LOT of gibberish.  All of the tested browsers have the latest
Flash player plug-in.



More information about the thelist mailing list