use five minutes, adds to the functionality flash player flash player is the use...
代码说明:
利用五分钟,给程序添加播放flash的功能flash的播放,是使用Macromedia的flash播放控件来播放flash步骤如下:建立一个单文档的程序,最后一步选择CFormView作为视图编辑视图的资源添加一个EditBox作为输入文件名,一个按钮播放。添加flash播放控件Project Add To Project Components and Controls Gallary选择:Registered ActiveX Controls文件夹下面的Shockwave Flash Object,它其实是指向c:winntsystem32macromedFlashFlash.ocx的。利用向导添加两个变量,分别对应输入的文件名和flash控件 CString m_filename CShockwaveFlash m_flash 添加播放按钮的事件,打开flash文件并且播放void CViewFlashView::OnPlay() { // TODO: Add your control notification handler code here //CShockwaveFlash UpdateData() m_flash.LoadMovie(0,m_filename) m_flash.Play() }-use five minutes, adds to the functionality flash player flash player is the use of the Macromedia flash player to player flash control steps are as follows : the creation of a single document the procedures, the last step CFormView choose Edit View View as the resources to add a EditBox as input file name, according to a NIU players. Adding flash player Control Project# 61664; Add To Project# 61664; Components an
下载说明:请别用迅雷下载,失败请重下,重下不扣分!