Click here to Skip to main content
11,479,486 members (46,946 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#2.0 Flash object
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.

Posted 21-Oct-11 3:55am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Use this

 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=",0,19,0"
                                    width="200" height="100">
                                    <param name="movie" value="filesource" />
                                    <param name="quality" value="high" />
                                    <embed src="filesource" quality="high" pluginspage=""
                                        type="application/x-shockwave-flash" width="200" height="100"></embed>
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

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

  Print Answers RSS
0 OriginalGriff 255
1 Sergey Alexandrovich Kryukov 215
2 F-ES Sitecore 175
3 Richard MacCutchan 120
4 Frankie-C 104
0 Sergey Alexandrovich Kryukov 7,890
1 OriginalGriff 7,441
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335

Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 21 Oct 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100