Click here to Skip to main content
16,001,891 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hello
in form 2 i have axShockwaveFlash1 and i want to test.swf run on that form when i press play button in form 1


C#
private void button1_Click(object sender, EventArgs e)
{

Form2.flash1.Movie = @"c:/w.swf";
}

???
Posted

1 solution

What is flash1 ? There's no control in .NET that plays flash movies that I know of, except for the web browser control. If you run HTML in your browser control that configures and runs the SWF, that should work fine.
 
Share this answer
 
Comments
Ed Nutting 22-Feb-12 14:41pm    
This might be a bit of an old question but I was just considering the fact that software lime Power Point does have a Shockwave plugin that will play Flash - I think it highly likely therefore, that this could be imported through one of the many .Net or Com libraries for use in an application. Just a thought, but given the rest of OP's "questions", I doubt a sophisticated answer would have been understood. My 4+.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900