Staredit Network

Staredit Network -> Computers and Technical -> SWF Embedding
Report, edit, etc...Posted by Carlsagan43 on 2006-12-20 at 21:59:43
OK Im trying to write a script that outputs the most current swf found in a data base. The problem is that the swf file is being access through a download script and doesnt haver the swf suffix at the end of the file name. Is there any way for my html code to access the swf file through the download script and not give away the location of the swf file?

My code:

CODE
<object width="414" height="300"><param name="movie" value="/?id=6&a=71"><embed src="/?id=6&a=71" width="414" height="300" bgcolor=#373737></embed></object>


also, the header are correctly being sent.
Report, edit, etc...Posted by Pyro-Fire on 2006-12-21 at 03:10:00
QUOTE(Carlsagan43 @ Dec 20 2006, 09:59 PM)
OK Im trying to write a script that outputs the most current swf found in a data base.  The problem is that the swf file is being access through a download script and doesnt haver the swf suffix at the end of the file name.  Is there any way for my html code to access the swf file through the download script and not give away the location of the swf file?

My code:

CODE
<object width="414" height="300"><param name="movie" value="/?id=6&a=71"><embed src="/?id=6&a=71" width="414" height="300" bgcolor=#373737></embed></object>


also, the header are correctly being sent.
[right][snapback]606024[/snapback][/right]



http://www.google.com.au/search?q=embedding+flash
Report, edit, etc...Posted by Doodle77(MM) on 2006-12-27 at 10:26:02
you need to have a header('content-type: application/x-shockwave-flash'); or something of the sort in the script.
Next Page (1)