The principle of playing Flash animation is to directly reference Flash's DLL, but this DLL cannot be found directly in the "COM" window, you need to add, select "E: /Windows/system32/macromed/flash/swflash.ocx" control, Click "OK" At this time we can see "ShockWaveflash" in the toolbox, drag it to the new WebForm, then set some properties, switch to the .html page, in SRC In order to specify the path and file name, you can play the following function to jump to the specified and play, where f_data is the control name function playswf () {document.all ("f_data"). Gotoframe (100); document. All ("f_data"). Play ();