Click here to Skip to main content
11,413,676 members (78,841 online)
Rate this: bad
good
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.

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

Solution 1

Use this

 <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>
 
  Permalink  
Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 379
1 Maciej Los 210
2 Sascha Lefévre 175
3 Kornfeld Eliyahu Peter 170
4 KARTHIK Bangalore 145
0 Sergey Alexandrovich Kryukov 9,035
1 OriginalGriff 7,387
2 Maciej Los 3,640
3 Abhinav S 3,298
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web02 | 2.8.150427.2 | 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