Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a flash SWF file that I would like to include in my Visual Studio (VB.NET) project. I've already looked up how to include the actual OCX and that is working fine but nothing is said on how to exactly include the SWF and manipulate the SWF from within VB.NET. For example, I want to be able to press a button on a VB.NET WinForm and send a command/data to that SWF to run a function within that SWF's ActionScript. (Example I push a button in VB.NET, I want the VB.NET code to send to the SWF a word and pass that word to a function within the Flash player.)

People are recommending "SendKeys" or to use XML, etc but not much is being said as to what specific coding is needed to do such a thing.
Posted
Comments
Sergey Alexandrovich Kryukov 19-Nov-15 12:06pm    
SendKeys would be the worst thing, and "use XML" means just nothing certain. I would do my best to get rid of SWF. Even though ActionScript is a nice, decent language, all this stuff is proprietary; software world works hard to phase it out altogether. If you manage not to mess with it at all, it would give you a way to fill your life with something which has some prospects. As to the useful functionality you may have in Flash, it can be implemented in many other ways.
—SA
thedonedeal 20-Nov-15 6:44am    
I guess to WPF it is then. I was hoping on avoiding using it since it's still new to me but eh.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900