Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How is Embedding (.swf) in web pages?

How is Embedding (.swf) in web pages?

Scheduled Pinned Locked Moved ASP.NET
adobesysadminhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    coolshad
    wrote on last edited by
    #1

    plz help..I need a link flash swf..that enables downloading a file from server.:)

    G G 2 Replies Last reply
    0
    • C coolshad

      plz help..I need a link flash swf..that enables downloading a file from server.:)

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Please don't cross post. --- b { font-weight: normal; }

      1 Reply Last reply
      0
      • C coolshad

        plz help..I need a link flash swf..that enables downloading a file from server.:)

        G Offline
        G Offline
        Graham Nimbley
        wrote on last edited by
        #3

        What are you wanting to do? Embed the swf in the webpage or download the swf? If you want to embed the swf, just use the standard object/embed tags. http://www.alistapart.com/articles/flashsatay/[^] details a method embedding swf using XHTML Strict. If you are trying to download the swf, then will you need to change the mime-type of the swf to application/octet-stream

        <%@ Page Language="VB" %>
        Sub Page_Load(sender as Object,e as EventArgs)

        	Dim fileName as String="/test.swf";
        	Response.ContentType="application/octet-stream"
        	Response.AddHeader("Content-Disposition","filename="&fileName)
        	Response.WriteFile(Server.MapPath(fileName))
        
        End Sub
        
        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups