I'm developing a program which will use Flash Movies (.swf) to display a character on the screen. I've heard that the ActiveX controls in C# make this easy to do, and I have Visual Studio .NET, but I can't seem to get the Flash movie to load and play.
Can anyone help me out with this? I think it may be something to do with the properties of the Flash object, as I'm not sure what they should be.
I'm using the lines
to load the .swf file, but it doesn't seem to be working, as when I run the compiled file and right click where the movie should be, there is a menu which has "movie not loaded..." at the top.Code:String swfPath = "C:/flash.swf"; flashObject.LoadMovie(0, swfPath);