Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inserting an SWF into an ASP file: no image!

Status
Not open for further replies.

ruupy

Programmer
Jan 12, 2001
29
NL
Hellow u all!

Does anybody know what's wrong when an SWF file, inserted into an ASP file doesn't show up when viewed in a browser (IE5)??

Testpages (SWF in an HTM file) work fine when independantly viewed in a browser....

Where am i screwing up????????


-RuupY-
 
What are you doing? How are you linking the SWF in the ASP?
 
DreamWeaver places the following tags in the body-tag so i didn't change anything there (like this)

<body>
<object classid=&quot;..... width=&quot;607&quot; height=&quot;60&quot; id=&quot;..&quot;>
<param name=movie value=&quot;-relative location-&quot;>
<param name=quality value=high>
<embed src=&quot;-relative location-&quot; quality=high pluginspage=&quot; type=&quot;application...&quot; width=&quot;600&quot; height=&quot;60&quot;>
</embed>
</object>

after trying to specify the filetype by adding &quot;?type=swf&quot; to the 'param' tag the whole thing worked like a charm.

Nevertheless, i still don't understand why it worx with the file type specification. The filename in the relative location already contains the filetype....

RuupY
 
I would check the MIME type on the web server itself, make sure that .SWF is a registered file type. Where the MIME settings are, though, is different for each server (Apache, IIS 4, and even IIS 5)

But it's working now???

Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top