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. General Programming
  3. C#
  4. How to use swf file in C#?

How to use swf file in C#?

Scheduled Pinned Locked Moved C#
csharpcomadobetutorialquestion
4 Posts 2 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.
  • S Offline
    S Offline
    SNI
    wrote on last edited by
    #1

    Hi I developed an application (C#) which draws some images on windows form. I am able to load images but trying to load swf file, but when I am trying to do load this swf file I am unable to load it. I tried to load it using flash control which has been provided as a activeX control but using that swf gets loaded but not able to see it properly. My application runs very slowly. Pls suggest how to run an swf file into .Net (C#)

    SNI

    0 1 Reply Last reply
    0
    • S SNI

      Hi I developed an application (C#) which draws some images on windows form. I am able to load images but trying to load swf file, but when I am trying to do load this swf file I am unable to load it. I tried to load it using flash control which has been provided as a activeX control but using that swf gets loaded but not able to see it properly. My application runs very slowly. Pls suggest how to run an swf file into .Net (C#)

      SNI

      0 Offline
      0 Offline
      0x3c0
      wrote on last edited by
      #2

      Why not use a WebBrowser control and Navigate to the path of the SWF file?

      S 1 Reply Last reply
      0
      • 0 0x3c0

        Why not use a WebBrowser control and Navigate to the path of the SWF file?

        S Offline
        S Offline
        SNI
        wrote on last edited by
        #3

        no.. it is a requirement that i need to run .swf file in windows form using C#.

        SNI

        0 1 Reply Last reply
        0
        • S SNI

          no.. it is a requirement that i need to run .swf file in windows form using C#.

          SNI

          0 Offline
          0 Offline
          0x3c0
          wrote on last edited by
          #4

          A WebBrowser control does that. I think it instantiates a COM object representing a flash player behind the scenes anyway, just like the AxShockwaveFlash class. Alternatively, you could parse the file format and draw the shapes with the coordinates specified. I can't help you beyond that though

          Between the idea And the reality Between the motion And the act Falls the Shadow

          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