[WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103457
interpreted = N
texte = Does anyone know how to modify this code so that it plays the shockwave movie file in the browser window directly, as opposed to what it does now - prompt to either download to disk, or open with a chosen app. ?? (Sorry if this is too OT.) [text]theFullPathtoFile=^path/to/your/file/in/globals/theFile.swf[/text] [text]theFileName=theFile.swf[/text] [text]line_ending=%0D%0A[/text] [ReturnRaw binarybody=[theFullPathtoFile]][!] [/!]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!] [/!]Status: 200[unurl][line_ending][/unurl][!] [/!]Content-Type: application/octet-stream[unurl][line_ending][/unurl] [!] [/!]Content-Disposition: attachment; filename="[theFileName]"[unurl] [line_ending][line_ending][/unurl][!] [/!][/ReturnRaw] ------------ Govinda govinda.webdnatalk@gmail.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  2. [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? ("Terry Nair" 2009)
  3. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  4. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  5. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Patrick McCormick 2009)
  6. Re: [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
  7. [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? ("Terry Nair" 2009)
  8. [WebDNA] OT? - how to get webdna to tell browser to open SWF directly in the browser? (Govinda 2009)
Does anyone know how to modify this code so that it plays the shockwave movie file in the browser window directly, as opposed to what it does now - prompt to either download to disk, or open with a chosen app. ?? (Sorry if this is too OT.) [text]theFullPathtoFile=^path/to/your/file/in/globals/theFile.swf[/text] [text]theFileName=theFile.swf[/text] [text]line_ending=%0D%0A[/text] [ReturnRaw binarybody=[theFullPathtoFile]][!] [/!]HTTP/1.0 200 OK[unurl][line_ending][/unurl][!] [/!]Status: 200[unurl][line_ending][/unurl][!] [/!]Content-Type: application/octet-stream[unurl][line_ending][/unurl] [!] [/!]Content-Disposition: attachment; filename="[theFileName]"[unurl] [line_ending][line_ending][/unurl][!] [/!][/ReturnRaw] ------------ Govinda govinda.webdnatalk@gmail.com Govinda

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Getting total number of items ordered (1997) cookies OSX Jaguar IE5.2 (2002) This list needs a digest: rant, rave... (1997) RE: New WebCatalog Version !!! (1997) [WebDNA] Searching Possible Bug (2009) Number date (2006) What am I missing (1997) Help!!!! (1997) shownext (2001) searching multiple databases (1997) Database Strategy - more... (1998) [WebDNA] php/mySQL version of WebDNA Speed Test? (2012) [WebDNA] Max upload file size (2010) [DELETEFILE] via http (2003) reporting commands (2001) WebSite and *NO* Authentication Dialog Box!!? (1998) WebCatalog Technical Reference (1997) random in arizona (2003) TCPConnect (1998) WebDNA won't start on Apache/iTools7 (2003)