Hello everyone, I want to introduce a simple method for playing Flash !!
First, create a project
Then in the toolbox -- General -- Right-click -- select item (I)
Find the Shockwave Flash Object Control in the COM component and check it !!
You will find that there is a general flash Control
The next step is simple.
Let's just make a simple interface,
CodeEasy to understand at a Glance:
Public partial class form1: FORM {public form1 () {initializecomponent ();} private void form1_load (Object sender, eventargs e) {This. flashplayer. movie = "d :\\ flash1 \ flash1 \ Flash \ 188.swf";} private void btnplay_click (Object sender, eventargs e) {This. flashplayer. play ();} private void btnstop_click (Object sender, eventargs e) {This. flashplayer. stopplay ();}}
Is to add a detailed address (movie = ********)
And a playback function and a pause function.
Easy !!
Here is a web page for downloading flash. There are a lot of Flash materials in it !!
Http://hi.baidu.com/goldnunber1/item/0a8004dd94079dcd251f40a9