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
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
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:
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"
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
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
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
"Failed to import the ActiveX control. Please ensure it is properly registered"
Can anyone help pls
Zilog8
fischere
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