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 run flash

how to run flash

Scheduled Pinned Locked Moved C#
csharpadobetutorial
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.
  • A Offline
    A Offline
    abiniyam
    wrote on last edited by
    #1

    i need to know how to run flash file inside c#

    J T 2 Replies Last reply
    0
    • A abiniyam

      i need to know how to run flash file inside c#

      J Offline
      J Offline
      John_Adams
      wrote on last edited by
      #2

      Hi You may try the followign steps: First you want to add the "Flash" control to the Toolbox: 1) Right-click on the Toolbox, choose "Add/Remove items..." 2) Select the "COM Components" tab 3) Scroll down to "Shockwave Flash Object" and make sure it's ticked 4) Click OK 5) Drag the "Shockwave Flash Object" from the toolbox onto the Form (just like any other control) 6) Righ-click on the new object and select "Properties" to show the custom properties panel. Please note: You may not want to hard-code the URL for the moview or file in the properties dialog, so try setting the "Movie" property to something like Application.StartupPath + "\\MyMovie.swf" If you want to talk to the Flash movie from C# then you need to use the "SetVariable" method If you want to talk to the host Windows Forms app from Flash, use FSCommand... you'll need to add an event handler in your Windows Forms. Hope this helps :).

      Regards, John Adams ComponentOne LLC

      1 Reply Last reply
      0
      • A abiniyam

        i need to know how to run flash file inside c#

        T Offline
        T Offline
        Thomas Stockwell
        wrote on last edited by
        #3

        3 Approaches: 1) Use a COM object that is meant to be used for swf/flv files. 2) Use a converter to convert the swf or flv file into a XAML compliant code file. 3) Integrate a web browser into the application that navigates to the swf or flv file. Keep in mind that the end-user must have the flash player installed for it to work with the web browser control.

        Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog

        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