<p>What is the best way to display <code>Flash</code> content in a <strong>C#</strong> WinForms application? I would like to create a user control (similar to the current <code>PictureBox</code>) that will be able to display images and flash content.</p>

<p>It would be great to be able to load the flash content from a <strong>stream</strong> of sorts rather than a file on disk.</p>

[{'answer_id': 1039, 'author': 'sven', 'author_id': 46, 'author_profile': 'https://Stackoverflow.com/users/46', 'pm_score': 6, 'selected': True, 'text': '<p>While I haven\'t used a flash object inside a windows form application myself, I do know that it\'s possible.\nIn Visual studio on your toolbox, choose to add a new component.\nThen in the new window that appears choose the <strong>"COM Components"</strong> tab to get a list in which you can find the <strong>"Shockwave Flash Object"</strong></p>\n\n<p>Once added to the toolbox, simply use the control as you would use any other "standard" control from visual studio.</p>\n\n<p>three simple commands are available to interact with the control:</p>\n\n<ul>\n<li>AxShockwaveFlash1.Stop()</li>\n<li>AxShockwaveFlash1.Movie = FilePath &amp;\n"\\FileName.swf"</li>\n<li>AxShockwaveFlash1.Play()</li>\n</ul>\n\n<p>which, I think, are all self explanatory.</p>\n\n<blockquote>\n  <p>It would be great to be able to load\n  the flash content from a stream of\n  sorts rather than a file on disk.</p>\n</blockquote>\n\n<p>I just saw you are also looking for a means to load the content from a stream,\nand because I\'m not really sure that is possible with the shockwave flash object I will give you another option (two actually).</p>\n\n<p>the first is the one I would advise you to use only when necessary, as it uses the full blown <strong>"webbrowser component"</strong> (also available as an extra toolbox item), which is like trying to shoot a fly with a bazooka.\nof course it will work, as the control will act as <a href="http://visualbasic.about.com/library/courses/blecvbsbs2202.htm" rel="noreferrer">a real browser window</a> (actually the internet explorer browser), but its not really meant to be used in the way you need it.</p>\n\n<p>the second option is to use something I just discovered while looking for more information about playing flash content inside a windows form. <a href="http://www.f-in-box.com/dotnet/#feature_flv_playing" rel="noreferrer">F-IN-BOX</a> is a commercial solution that will also play content from a given website URL. (The link provided will direct you to the .NET code you have to use).</p>\n'}, {'answer_id': 1066, 'author': 'FryHard', 'author_id': 231, 'author_profile': 'https://Stackoverflow.com/users/231', 'pm_score': 3, 'selected': False, 'text': '<p><a href="https://stackoverflow.com/users/46/sven">Sven</a>, you reached the same conclusion as I did: I found the Shockwave Flash Object, all be it from a slightly different route, but was stumped on how to load the files from somewhere other than file on disk/URL. The <a href="https://www.f-in-box.com/dotnet/" rel="nofollow noreferrer">F-IN-BOX</a>, although just a wrapper of the Shockwave Flash Object seems to provide much more functionality, which may just help me!</p>\n\n<p>Shooting flys with bazookas may be fun, but an embeded web brower is not the path that I am looking for. :)</p>\n\n<p><em>There was a link on Adobe\'s site that talked about "Embedding and Communicating with the Macromedia Flash Player in C# Windows Applications" but they seem to have removed it :(</em></p>\n'}]
['https://Stackoverflow.com/questions/1037', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/231/']