Click here to Skip to main content
12,406,986 members (59,727 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#2.0 C# Flash
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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160730.1 | Last Updated 21 Oct 2011
Copyright © CodeProject, 1999-2016
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