Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Visual Studio 2008 is my IDE

I placed a Shockwave flash object control in winform.

But cant get a file loaded and play.

can anybody give me the exact procedure on how to play a swf file in my form. No play pause controls needed. Just needs to keep playing something like a slidfeshow.

Thanks
Posted

Use this

C#
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
                                   width="200" height="100">
                                   <param name="movie" value="filesource" />
                                   <param name="quality" value="high" />
                                   <embed src="filesource" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
                                       type="application/x-shockwave-flash" width="200" height="100"></embed>
                               </object>
 
Share this answer
 
You might want to check you have done everything correctly by taking a look at this[^] list.
This[^] is another useful link that provides steps to play an swf file in Windows Forms.
Finally, try this[^] out as well.
 
Share this answer
 

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