Flash in C#

Hi, I would like to know how can I put Flash Animations into a C# application , and the other problem is the I have to have the Flash Player for play the animation in the C# application Thanks


Answer this question

Flash in C#

  • Uknow

    The COM object is not registered. You may register it by typing regsvr32 *path to dll* in the cmd window, but it is likely that an unregistered control is part of a bigger problem, did you install anything or just download the dll



  • Mike Champion - MSFT

    Hey Thank you so much, Now I know that, thank to all

  • Yogesh2810

    Once you’ve got your instance of the Flash host (name axFlash in that example), simply call the LoadMovie() method to set the path to the file you want to play, and then call the Play() method to begin ala:

    axFlash.LoadMovie(0,path);
    axFlash.Play();



  • Chas75287

    When I use the example above, it works just fine, but when I create my own application, when i drag the Shockwave Flash Object to my Form, it gives me this error:
    "Failed to import the ActiveX control. Please ensure it is properly registered"

    Can anyone help pls

  • Zilog8

    Thanks that was really helpful but I do not understand were is the variable that indicate the path of the .swf animation , but if someone can give me more help I will apreciate. Thanks


  • fischere

    It's a known bug.

  • dmball

    http://www.csharphelp.com/archives/archive81.html

    Is an example, although it's short on detail as to where the controls came from.



  • Cool Eithen

    Well, it looks like I just had to build the project before using the COM object. Now it works perfectly...10x for the suggestions thou
  • Flash in C#