Click here to Skip to main content
11,715,043 members (66,314 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 2: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>
  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 Sergey Alexandrovich Kryukov 520
1 Richard MacCutchan 275
2 Maciej Los 259
3 ManasKumarM 155
4 Frankie-C 125
0 Sergey Alexandrovich Kryukov 775
1 CHill60 415
2 Richard MacCutchan 405
3 Maciej Los 389
4 OriginalGriff 320


Advertise | Privacy | Mobile
Web03 | 2.8.150901.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